@tuprolog/arg2p 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-core.js +9458 -0
- package/2p-core.js.map +1 -0
- package/2p-dsl-core.js +1630 -0
- package/2p-dsl-core.js.map +1 -0
- package/2p-dsl-solve.js +959 -0
- package/2p-dsl-solve.js.map +1 -0
- package/2p-dsl-theory.js +806 -0
- package/2p-dsl-theory.js.map +1 -0
- package/2p-dsl-unify.js +79 -0
- package/2p-dsl-unify.js.map +1 -0
- package/2p-parser-core.js +1282 -0
- package/2p-parser-core.js.map +1 -0
- package/2p-parser-js.js +39 -0
- package/2p-parser-js.js.map +1 -0
- package/2p-parser-theory.js +156 -0
- package/2p-parser-theory.js.map +1 -0
- package/2p-solve-classic.js +2825 -0
- package/2p-solve-classic.js.map +1 -0
- package/2p-solve.js +14540 -0
- package/2p-solve.js.map +1 -0
- package/2p-theory.js +4771 -0
- package/2p-theory.js.map +1 -0
- package/2p-unify.js +923 -0
- package/2p-unify.js.map +1 -0
- package/2p-utils.js +1410 -0
- package/2p-utils.js.map +1 -0
- package/README.md +120 -0
- package/arg2p-causality-solver.js +501 -0
- package/arg2p-causality-solver.js.map +1 -0
- package/arg2p-core.js +4798 -0
- package/arg2p-core.js.map +1 -0
- package/arg2p.js +565 -0
- package/arg2p.js.map +1 -0
- package/kotlin-kotlin-stdlib.js +9923 -0
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kt-math.js +10392 -0
- package/kt-math.js.map +1 -0
- package/package.json +26 -0
package/2p-dsl-solve.js
ADDED
|
@@ -0,0 +1,959 @@
|
|
|
1
|
+
(function (root, factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd)
|
|
3
|
+
define(['exports', './2p-solve.js', './kotlin-kotlin-stdlib.js', './2p-core.js', './2p-dsl-core.js', './2p-unify.js', './2p-theory.js', './2p-dsl-unify.js', './2p-dsl-theory.js'], factory);
|
|
4
|
+
else if (typeof exports === 'object')
|
|
5
|
+
factory(module.exports, require('./2p-solve.js'), require('./kotlin-kotlin-stdlib.js'), require('./2p-core.js'), require('./2p-dsl-core.js'), require('./2p-unify.js'), require('./2p-theory.js'), require('./2p-dsl-unify.js'), require('./2p-dsl-theory.js'));
|
|
6
|
+
else {
|
|
7
|
+
if (typeof this['2p-solve'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-solve' was not found. Please, check whether '2p-solve' is loaded prior to '2p-dsl-solve'.");
|
|
9
|
+
}
|
|
10
|
+
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to '2p-dsl-solve'.");
|
|
12
|
+
}
|
|
13
|
+
if (typeof this['2p-core'] === 'undefined') {
|
|
14
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-core' was not found. Please, check whether '2p-core' is loaded prior to '2p-dsl-solve'.");
|
|
15
|
+
}
|
|
16
|
+
if (typeof this['2p-dsl-core'] === 'undefined') {
|
|
17
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-dsl-core' was not found. Please, check whether '2p-dsl-core' is loaded prior to '2p-dsl-solve'.");
|
|
18
|
+
}
|
|
19
|
+
if (typeof this['2p-unify'] === 'undefined') {
|
|
20
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-unify' was not found. Please, check whether '2p-unify' is loaded prior to '2p-dsl-solve'.");
|
|
21
|
+
}
|
|
22
|
+
if (typeof this['2p-theory'] === 'undefined') {
|
|
23
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-theory' was not found. Please, check whether '2p-theory' is loaded prior to '2p-dsl-solve'.");
|
|
24
|
+
}
|
|
25
|
+
if (typeof this['2p-dsl-unify'] === 'undefined') {
|
|
26
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-dsl-unify' was not found. Please, check whether '2p-dsl-unify' is loaded prior to '2p-dsl-solve'.");
|
|
27
|
+
}
|
|
28
|
+
if (typeof this['2p-dsl-theory'] === 'undefined') {
|
|
29
|
+
throw new Error("Error loading module '2p-dsl-solve'. Its dependency '2p-dsl-theory' was not found. Please, check whether '2p-dsl-theory' is loaded prior to '2p-dsl-solve'.");
|
|
30
|
+
}
|
|
31
|
+
root['2p-dsl-solve'] = factory(typeof this['2p-dsl-solve'] === 'undefined' ? {} : this['2p-dsl-solve'], this['2p-solve'], this['kotlin-kotlin-stdlib'], this['2p-core'], this['2p-dsl-core'], this['2p-unify'], this['2p-theory'], this['2p-dsl-unify'], this['2p-dsl-theory']);
|
|
32
|
+
}
|
|
33
|
+
}(this, function (_, kotlin_it_unibo_tuprolog_solve, kotlin_kotlin, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_dsl_core, kotlin_it_unibo_tuprolog_unify, kotlin_it_unibo_tuprolog_theory, kotlin_it_unibo_tuprolog_dsl_unify, kotlin_it_unibo_tuprolog_dsl_theory) {
|
|
34
|
+
'use strict';
|
|
35
|
+
//region block: imports
|
|
36
|
+
var Companion_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.p1;
|
|
37
|
+
var VOID = kotlin_kotlin.$_$.d;
|
|
38
|
+
var protoOf = kotlin_kotlin.$_$.b6;
|
|
39
|
+
var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.t;
|
|
40
|
+
var Companion_instance_0 = kotlin_it_unibo_tuprolog_dsl_core.$_$.b;
|
|
41
|
+
var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.b1;
|
|
42
|
+
var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_unify.$_$.b;
|
|
43
|
+
var IndexedTheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.c;
|
|
44
|
+
var objectMeta = kotlin_kotlin.$_$.a6;
|
|
45
|
+
var setMetadataFor = kotlin_kotlin.$_$.c6;
|
|
46
|
+
var objectCreate = kotlin_kotlin.$_$.z5;
|
|
47
|
+
var toString = kotlin_kotlin.$_$.g6;
|
|
48
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
49
|
+
var equals = kotlin_kotlin.$_$.i5;
|
|
50
|
+
var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.d;
|
|
51
|
+
var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.b;
|
|
52
|
+
var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.c;
|
|
53
|
+
var mguWithOccurCheck = kotlin_it_unibo_tuprolog_unify.$_$.a;
|
|
54
|
+
var copy = kotlin_it_unibo_tuprolog_solve.$_$.g;
|
|
55
|
+
var stringInvoke = kotlin_it_unibo_tuprolog_dsl_core.$_$.v4;
|
|
56
|
+
var structOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.a5;
|
|
57
|
+
var tupleOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.b5;
|
|
58
|
+
var logicListOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.w4;
|
|
59
|
+
var blockOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.p4;
|
|
60
|
+
var factOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.t4;
|
|
61
|
+
var consOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.q4;
|
|
62
|
+
var directiveOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.r4;
|
|
63
|
+
var withScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.z4;
|
|
64
|
+
var logicList = kotlin_it_unibo_tuprolog_dsl_core.$_$.x4;
|
|
65
|
+
var logicList_0 = kotlin_it_unibo_tuprolog_dsl_core.$_$.a;
|
|
66
|
+
var rule = kotlin_it_unibo_tuprolog_dsl_core.$_$.y4;
|
|
67
|
+
var clause2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.s2;
|
|
68
|
+
var directive = kotlin_it_unibo_tuprolog_dsl_core.$_$.s4;
|
|
69
|
+
var fact = kotlin_it_unibo_tuprolog_dsl_core.$_$.u4;
|
|
70
|
+
var convertToTerm = kotlin_it_unibo_tuprolog_dsl_core.$_$.d;
|
|
71
|
+
var convertToSpecificSubTypeOfTerm = kotlin_it_unibo_tuprolog_dsl_core.$_$.c;
|
|
72
|
+
var substitutionContains = kotlin_it_unibo_tuprolog_dsl_core.$_$.k4;
|
|
73
|
+
var substitutionGet = kotlin_it_unibo_tuprolog_dsl_core.$_$.l4;
|
|
74
|
+
var varTo = kotlin_it_unibo_tuprolog_dsl_core.$_$.n4;
|
|
75
|
+
var stringTo = kotlin_it_unibo_tuprolog_dsl_core.$_$.m4;
|
|
76
|
+
var substitutionContainsKey = kotlin_it_unibo_tuprolog_dsl_core.$_$.i4;
|
|
77
|
+
var substitutionContainsValue = kotlin_it_unibo_tuprolog_dsl_core.$_$.j4;
|
|
78
|
+
var at_end_of_stream1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.f2;
|
|
79
|
+
var call1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.p2;
|
|
80
|
+
var catch3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.q2;
|
|
81
|
+
var throw1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.d4;
|
|
82
|
+
var not1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.q3;
|
|
83
|
+
var naf1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.l3;
|
|
84
|
+
var assert1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.e2;
|
|
85
|
+
var asserta1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.c2;
|
|
86
|
+
var assertz1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.d2;
|
|
87
|
+
var arg3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.z1;
|
|
88
|
+
var atom1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.l2;
|
|
89
|
+
var atomic1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.k2;
|
|
90
|
+
var between3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.n2;
|
|
91
|
+
var callable1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.o2;
|
|
92
|
+
var compound1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.t2;
|
|
93
|
+
var current_op3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.x2;
|
|
94
|
+
var op3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.u3;
|
|
95
|
+
var findall3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.b3;
|
|
96
|
+
var float1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.c3;
|
|
97
|
+
var functor3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.d3;
|
|
98
|
+
var ground1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.e3;
|
|
99
|
+
var integer1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.i3;
|
|
100
|
+
var natural = kotlin_it_unibo_tuprolog_dsl_core.$_$.m3;
|
|
101
|
+
var nonvar1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.p3;
|
|
102
|
+
var number1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.t3;
|
|
103
|
+
var var1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.f4;
|
|
104
|
+
var write1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.g4;
|
|
105
|
+
var univ2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.e4;
|
|
106
|
+
var eq2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.a3;
|
|
107
|
+
var neq2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.n3;
|
|
108
|
+
var id2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.f3;
|
|
109
|
+
var nid2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.o3;
|
|
110
|
+
var arithEq2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.a2;
|
|
111
|
+
var arithNeq2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.b2;
|
|
112
|
+
var member2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.k3;
|
|
113
|
+
var retract1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.w3;
|
|
114
|
+
var append3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.y1;
|
|
115
|
+
var retractall1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.v3;
|
|
116
|
+
var abolish1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.x1;
|
|
117
|
+
var atom_chars2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.g2;
|
|
118
|
+
var atom_codes2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.h2;
|
|
119
|
+
var atom_concat3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.i2;
|
|
120
|
+
var atom_length2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.j2;
|
|
121
|
+
var char_code2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.r2;
|
|
122
|
+
var copy_term2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.v2;
|
|
123
|
+
var current_flag2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.w2;
|
|
124
|
+
var current_prolog_flag2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.y2;
|
|
125
|
+
var sub_atom5 = kotlin_it_unibo_tuprolog_dsl_core.$_$.c4;
|
|
126
|
+
var number_chars2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.r3;
|
|
127
|
+
var number_codes2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.s3;
|
|
128
|
+
var bagof3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.m2;
|
|
129
|
+
var setof3 = kotlin_it_unibo_tuprolog_dsl_core.$_$.z3;
|
|
130
|
+
var consult1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.u2;
|
|
131
|
+
var set_flag2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.x3;
|
|
132
|
+
var set_prolog_flag2 = kotlin_it_unibo_tuprolog_dsl_core.$_$.y3;
|
|
133
|
+
var dynamic1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.z2;
|
|
134
|
+
var static1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.b4;
|
|
135
|
+
var solve1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.a4;
|
|
136
|
+
var initialization1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.h3;
|
|
137
|
+
var load1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.j3;
|
|
138
|
+
var include1 = kotlin_it_unibo_tuprolog_dsl_core.$_$.g3;
|
|
139
|
+
var termPlus = kotlin_it_unibo_tuprolog_dsl_core.$_$.g1;
|
|
140
|
+
var number = kotlin_it_unibo_tuprolog_dsl_core.$_$.h1;
|
|
141
|
+
var booleanPlus = kotlin_it_unibo_tuprolog_dsl_core.$_$.f1;
|
|
142
|
+
var charPlus = kotlin_it_unibo_tuprolog_dsl_core.$_$.i1;
|
|
143
|
+
var termMinus = kotlin_it_unibo_tuprolog_dsl_core.$_$.x;
|
|
144
|
+
var numberMinus = kotlin_it_unibo_tuprolog_dsl_core.$_$.w;
|
|
145
|
+
var booleanMinus = kotlin_it_unibo_tuprolog_dsl_core.$_$.a1;
|
|
146
|
+
var charMinus = kotlin_it_unibo_tuprolog_dsl_core.$_$.y;
|
|
147
|
+
var stringMinus = kotlin_it_unibo_tuprolog_dsl_core.$_$.z;
|
|
148
|
+
var termTimes = kotlin_it_unibo_tuprolog_dsl_core.$_$.v1;
|
|
149
|
+
var numberTimes = kotlin_it_unibo_tuprolog_dsl_core.$_$.r1;
|
|
150
|
+
var booleanTimes = kotlin_it_unibo_tuprolog_dsl_core.$_$.t1;
|
|
151
|
+
var charTimes = kotlin_it_unibo_tuprolog_dsl_core.$_$.s1;
|
|
152
|
+
var stringTimes = kotlin_it_unibo_tuprolog_dsl_core.$_$.u1;
|
|
153
|
+
var termDiv = kotlin_it_unibo_tuprolog_dsl_core.$_$.g;
|
|
154
|
+
var numberDiv = kotlin_it_unibo_tuprolog_dsl_core.$_$.j;
|
|
155
|
+
var booleanDiv = kotlin_it_unibo_tuprolog_dsl_core.$_$.k;
|
|
156
|
+
var charDiv = kotlin_it_unibo_tuprolog_dsl_core.$_$.i;
|
|
157
|
+
var stringDiv = kotlin_it_unibo_tuprolog_dsl_core.$_$.h;
|
|
158
|
+
var anyEqualsTo = kotlin_it_unibo_tuprolog_dsl_core.$_$.l;
|
|
159
|
+
var anyNotEqualsTo = kotlin_it_unibo_tuprolog_dsl_core.$_$.d1;
|
|
160
|
+
var anyGreaterThan = kotlin_it_unibo_tuprolog_dsl_core.$_$.n;
|
|
161
|
+
var anyGreaterThanOrEqualsTo = kotlin_it_unibo_tuprolog_dsl_core.$_$.m;
|
|
162
|
+
var anyNonLowerThan = kotlin_it_unibo_tuprolog_dsl_core.$_$.c1;
|
|
163
|
+
var anyLowerThan = kotlin_it_unibo_tuprolog_dsl_core.$_$.v;
|
|
164
|
+
var anyLowerThanOrEqualsTo = kotlin_it_unibo_tuprolog_dsl_core.$_$.u;
|
|
165
|
+
var anyNonGreaterThan = kotlin_it_unibo_tuprolog_dsl_core.$_$.b1;
|
|
166
|
+
var anyIntDiv = kotlin_it_unibo_tuprolog_dsl_core.$_$.s;
|
|
167
|
+
var termRem = kotlin_it_unibo_tuprolog_dsl_core.$_$.n1;
|
|
168
|
+
var numberRem = kotlin_it_unibo_tuprolog_dsl_core.$_$.k1;
|
|
169
|
+
var booleanRem = kotlin_it_unibo_tuprolog_dsl_core.$_$.o1;
|
|
170
|
+
var charRem = kotlin_it_unibo_tuprolog_dsl_core.$_$.m1;
|
|
171
|
+
var stringRem = kotlin_it_unibo_tuprolog_dsl_core.$_$.l1;
|
|
172
|
+
var anyAnd = kotlin_it_unibo_tuprolog_dsl_core.$_$.f;
|
|
173
|
+
var anyOr = kotlin_it_unibo_tuprolog_dsl_core.$_$.e1;
|
|
174
|
+
var anyPow = kotlin_it_unibo_tuprolog_dsl_core.$_$.j1;
|
|
175
|
+
var anySup = kotlin_it_unibo_tuprolog_dsl_core.$_$.p1;
|
|
176
|
+
var anyIs = kotlin_it_unibo_tuprolog_dsl_core.$_$.t;
|
|
177
|
+
var anyThen = kotlin_it_unibo_tuprolog_dsl_core.$_$.q1;
|
|
178
|
+
var anyImpliedBy = kotlin_it_unibo_tuprolog_dsl_core.$_$.q;
|
|
179
|
+
var anyImpliedByVararg = kotlin_it_unibo_tuprolog_dsl_core.$_$.r;
|
|
180
|
+
var anyIf = kotlin_it_unibo_tuprolog_dsl_core.$_$.o;
|
|
181
|
+
var anyIfVararg = kotlin_it_unibo_tuprolog_dsl_core.$_$.p;
|
|
182
|
+
var anyMguWith = kotlin_it_unibo_tuprolog_dsl_unify.$_$.f;
|
|
183
|
+
var anyMatches = kotlin_it_unibo_tuprolog_dsl_unify.$_$.d;
|
|
184
|
+
var anyUnifyWith = kotlin_it_unibo_tuprolog_dsl_unify.$_$.h;
|
|
185
|
+
var mgu = kotlin_it_unibo_tuprolog_dsl_unify.$_$.g;
|
|
186
|
+
var mguAny = kotlin_it_unibo_tuprolog_dsl_unify.$_$.b;
|
|
187
|
+
var match = kotlin_it_unibo_tuprolog_dsl_unify.$_$.e;
|
|
188
|
+
var matchAny = kotlin_it_unibo_tuprolog_dsl_unify.$_$.a;
|
|
189
|
+
var unify = kotlin_it_unibo_tuprolog_dsl_unify.$_$.i;
|
|
190
|
+
var unifyAny = kotlin_it_unibo_tuprolog_dsl_unify.$_$.c;
|
|
191
|
+
var convertToClause = kotlin_it_unibo_tuprolog_dsl_theory.$_$.g;
|
|
192
|
+
var theory = kotlin_it_unibo_tuprolog_dsl_theory.$_$.f;
|
|
193
|
+
var theoryOfConcatenatedSequences = kotlin_it_unibo_tuprolog_dsl_theory.$_$.d;
|
|
194
|
+
var theoryOfConcatenatedIterables = kotlin_it_unibo_tuprolog_dsl_theory.$_$.e;
|
|
195
|
+
var mutableTheory = kotlin_it_unibo_tuprolog_dsl_theory.$_$.c;
|
|
196
|
+
var mutableTheoryOfConcatenatedSequences = kotlin_it_unibo_tuprolog_dsl_theory.$_$.a;
|
|
197
|
+
var mutableTheoryOfConcatenatedIterables = kotlin_it_unibo_tuprolog_dsl_theory.$_$.b;
|
|
198
|
+
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
199
|
+
var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
|
|
200
|
+
var LogicProgrammingScopeWithPrologStandardLibrary = kotlin_it_unibo_tuprolog_dsl_core.$_$.h4;
|
|
201
|
+
var LogicProgrammingScopeWithTheories = kotlin_it_unibo_tuprolog_dsl_theory.$_$.h;
|
|
202
|
+
var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
|
|
203
|
+
var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
|
|
204
|
+
var Scope = kotlin_it_unibo_tuprolog_core.$_$.r1;
|
|
205
|
+
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
206
|
+
var Unificator = kotlin_it_unibo_tuprolog_unify.$_$.c;
|
|
207
|
+
var TheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.f;
|
|
208
|
+
var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.s2;
|
|
209
|
+
var classMeta = kotlin_kotlin.$_$.f5;
|
|
210
|
+
var interfaceMeta = kotlin_kotlin.$_$.o5;
|
|
211
|
+
//endregion
|
|
212
|
+
//region block: pre-declaration
|
|
213
|
+
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
214
|
+
function solverOf(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
215
|
+
return this.f30().k1z(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
216
|
+
}
|
|
217
|
+
function solverOf_0(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
218
|
+
unificator = unificator === VOID ? this.k1l() : unificator;
|
|
219
|
+
otherLibraries = otherLibraries === VOID ? this.f30().p1y() : otherLibraries;
|
|
220
|
+
flags = flags === VOID ? this.f30().s1y() : flags;
|
|
221
|
+
staticKb = staticKb === VOID ? this.f30().v1y() : staticKb;
|
|
222
|
+
dynamicKb = dynamicKb === VOID ? this.f30().w1y() : dynamicKb;
|
|
223
|
+
stdIn = stdIn === VOID ? this.f30().x1y() : stdIn;
|
|
224
|
+
stdOut = stdOut === VOID ? this.f30().y1y() : stdOut;
|
|
225
|
+
stdErr = stdErr === VOID ? this.f30().z1y() : stdErr;
|
|
226
|
+
warnings = warnings === VOID ? this.f30().a1z() : warnings;
|
|
227
|
+
return $super === VOID ? this.h1z(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) : solverOf(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
228
|
+
}
|
|
229
|
+
function staticKbByArray(clauses) {
|
|
230
|
+
return this.g30().loadStaticClauses(clauses.slice());
|
|
231
|
+
}
|
|
232
|
+
function staticKbByIterable(clauses) {
|
|
233
|
+
return this.g30().loadStaticClausesIterable(clauses);
|
|
234
|
+
}
|
|
235
|
+
function staticKbBySequence(clauses) {
|
|
236
|
+
return this.g30().loadStaticClausesSequence(clauses);
|
|
237
|
+
}
|
|
238
|
+
function staticKbByTheory(theory) {
|
|
239
|
+
return this.g30().loadStaticKb(theory);
|
|
240
|
+
}
|
|
241
|
+
function dynamicKbByArray(clauses) {
|
|
242
|
+
return this.g30().loadDynamicClauses(clauses.slice());
|
|
243
|
+
}
|
|
244
|
+
function dynamicKbByIterable(clauses) {
|
|
245
|
+
return this.g30().loadDynamicClausesIterable(clauses);
|
|
246
|
+
}
|
|
247
|
+
function dynamicKbBySequence(clauses) {
|
|
248
|
+
return this.g30().loadDynamicClausesSequence(clauses);
|
|
249
|
+
}
|
|
250
|
+
function dynamicKbByTheory(theory) {
|
|
251
|
+
return this.g30().loadDynamicKb(theory);
|
|
252
|
+
}
|
|
253
|
+
setMetadataFor(LogicProgrammingScopeWithResolution, 'LogicProgrammingScopeWithResolution', interfaceMeta, VOID, [BaseLogicProgrammingScope, Unificator, MutableSolver]);
|
|
254
|
+
setMetadataFor(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', classMeta, VOID, [MinimalLogicProgrammingScope, BaseLogicProgrammingScope, LogicProgrammingScopeWithResolution, LogicProgrammingScopeWithPrologStandardLibrary, LogicProgrammingScopeWithTheories, LogicProgrammingScopeWithSubstitutions, LogicProgrammingScopeWithOperators, Scope, LogicProgrammingScopeWithUnification, Unificator, TheoryFactory, MutableSolver]);
|
|
255
|
+
//endregion
|
|
256
|
+
function prolog(unificator, function_0) {
|
|
257
|
+
unificator = unificator === VOID ? Companion_getInstance().h1y().r1y() : unificator;
|
|
258
|
+
return logicProgramming(Companion_getInstance().h1y(), unificator, function_0);
|
|
259
|
+
}
|
|
260
|
+
function logicProgramming(solverFactory, unificator, function_0) {
|
|
261
|
+
unificator = unificator === VOID ? solverFactory.r1y() : unificator;
|
|
262
|
+
return function_0(Companion_instance_2.ofSolverFactory(solverFactory, unificator));
|
|
263
|
+
}
|
|
264
|
+
function Companion() {
|
|
265
|
+
}
|
|
266
|
+
protoOf(Companion).v2z = function (_this__u8e3s4, unificator) {
|
|
267
|
+
return _this__u8e3s4.r1y() === unificator ? _this__u8e3s4 : _this__u8e3s4.newBuilder().setUnificator(unificator).toFactory();
|
|
268
|
+
};
|
|
269
|
+
protoOf(Companion).w2z = function (scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory) {
|
|
270
|
+
return LogicProgrammingScopeImpl_init_$Create$(scope, termificator.z1g() === scope ? termificator : termificator.a1h(scope), variablesProvider.z1g() === scope ? variablesProvider : variablesProvider.a1h(scope), unificator, theoryFactory.k1l() === unificator ? theoryFactory : theoryFactory.j1l(unificator), this.v2z(solverFactory, unificator));
|
|
271
|
+
};
|
|
272
|
+
protoOf(Companion).of = function (scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, $super) {
|
|
273
|
+
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
274
|
+
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
275
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.v13(scope) : variablesProvider;
|
|
276
|
+
unificator = unificator === VOID ? Companion_getInstance_0().e1l() : unificator;
|
|
277
|
+
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
278
|
+
return $super === VOID ? this.w2z(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory) : $super.w2z.call(this, scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory);
|
|
279
|
+
};
|
|
280
|
+
protoOf(Companion).x2z = function (solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory) {
|
|
281
|
+
return this.w2z(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory);
|
|
282
|
+
};
|
|
283
|
+
protoOf(Companion).ofSolverFactory = function (solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory, $super) {
|
|
284
|
+
unificator = unificator === VOID ? solverFactory.r1y() : unificator;
|
|
285
|
+
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
286
|
+
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
287
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.v13(scope) : variablesProvider;
|
|
288
|
+
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
289
|
+
return $super === VOID ? this.x2z(solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory) : $super.x2z.call(this, solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory);
|
|
290
|
+
};
|
|
291
|
+
var Companion_instance_2;
|
|
292
|
+
function Companion_getInstance_1() {
|
|
293
|
+
return Companion_instance_2;
|
|
294
|
+
}
|
|
295
|
+
function LogicProgrammingScopeImpl_init_$Init$(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, $this) {
|
|
296
|
+
LogicProgrammingScopeImpl.call($this, scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, solverFactory.rawMutableSolverOf(unificator));
|
|
297
|
+
return $this;
|
|
298
|
+
}
|
|
299
|
+
function LogicProgrammingScopeImpl_init_$Create$(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory) {
|
|
300
|
+
return LogicProgrammingScopeImpl_init_$Init$(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, objectCreate(protoOf(LogicProgrammingScopeImpl)));
|
|
301
|
+
}
|
|
302
|
+
function LogicProgrammingScopeImpl(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, defaultSolver) {
|
|
303
|
+
this.y2z_1 = scope;
|
|
304
|
+
this.z2z_1 = termificator;
|
|
305
|
+
this.a30_1 = variablesProvider;
|
|
306
|
+
this.b30_1 = unificator;
|
|
307
|
+
this.c30_1 = theoryFactory;
|
|
308
|
+
this.d30_1 = solverFactory;
|
|
309
|
+
this.e30_1 = defaultSolver;
|
|
310
|
+
// Inline function 'kotlin.require' call
|
|
311
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
312
|
+
if (!(this.y2z_1 === this.a30_1.z1g() ? this.y2z_1 === this.z2z_1.z1g() : false)) {
|
|
313
|
+
// Inline function 'it.unibo.tuprolog.dsl.solve.LogicProgrammingScopeImpl.<anonymous>' call
|
|
314
|
+
var message = 'The provided Scope should be the same object for both Termificator and VariablesProvider';
|
|
315
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
316
|
+
}
|
|
317
|
+
// Inline function 'kotlin.require' call
|
|
318
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
319
|
+
if (!((equals(this.b30_1, this.c30_1.k1l()) ? equals(this.b30_1, this.d30_1.r1y()) : false) ? equals(this.b30_1, this.e30_1.k1l()) : false)) {
|
|
320
|
+
// Inline function 'it.unibo.tuprolog.dsl.solve.LogicProgrammingScopeImpl.<anonymous>' call
|
|
321
|
+
var message_0 = 'The provided Unificator should be the same object for both Solver, SolverFactory, and TheoryFactory';
|
|
322
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
protoOf(LogicProgrammingScopeImpl).z1g = function () {
|
|
326
|
+
return this.y2z_1;
|
|
327
|
+
};
|
|
328
|
+
protoOf(LogicProgrammingScopeImpl).x1i = function () {
|
|
329
|
+
return this.z2z_1;
|
|
330
|
+
};
|
|
331
|
+
protoOf(LogicProgrammingScopeImpl).k1l = function () {
|
|
332
|
+
return this.b30_1;
|
|
333
|
+
};
|
|
334
|
+
protoOf(LogicProgrammingScopeImpl).f30 = function () {
|
|
335
|
+
return this.d30_1;
|
|
336
|
+
};
|
|
337
|
+
protoOf(LogicProgrammingScopeImpl).g30 = function () {
|
|
338
|
+
return this.e30_1;
|
|
339
|
+
};
|
|
340
|
+
protoOf(LogicProgrammingScopeImpl).c1h = function () {
|
|
341
|
+
return this.a30_1.c1h();
|
|
342
|
+
};
|
|
343
|
+
protoOf(LogicProgrammingScopeImpl).d1h = function () {
|
|
344
|
+
return this.a30_1.d1h();
|
|
345
|
+
};
|
|
346
|
+
protoOf(LogicProgrammingScopeImpl).u10 = function () {
|
|
347
|
+
return this.a30_1.u10();
|
|
348
|
+
};
|
|
349
|
+
protoOf(LogicProgrammingScopeImpl).t10 = function () {
|
|
350
|
+
return this.a30_1.t10();
|
|
351
|
+
};
|
|
352
|
+
protoOf(LogicProgrammingScopeImpl).anonymous = function () {
|
|
353
|
+
return this.a30_1.anonymous();
|
|
354
|
+
};
|
|
355
|
+
protoOf(LogicProgrammingScopeImpl).atomOfChar = function (value) {
|
|
356
|
+
return this.a30_1.atomOfChar(value);
|
|
357
|
+
};
|
|
358
|
+
protoOf(LogicProgrammingScopeImpl).atomOf = function (value) {
|
|
359
|
+
return this.a30_1.atomOf(value);
|
|
360
|
+
};
|
|
361
|
+
protoOf(LogicProgrammingScopeImpl).blockOf = function (terms) {
|
|
362
|
+
return this.a30_1.blockOf(terms);
|
|
363
|
+
};
|
|
364
|
+
protoOf(LogicProgrammingScopeImpl).blockOfIterable = function (terms) {
|
|
365
|
+
return this.a30_1.blockOfIterable(terms);
|
|
366
|
+
};
|
|
367
|
+
protoOf(LogicProgrammingScopeImpl).blockOfSequence = function (terms) {
|
|
368
|
+
return this.a30_1.blockOfSequence(terms);
|
|
369
|
+
};
|
|
370
|
+
protoOf(LogicProgrammingScopeImpl).clauseOf = function (head, body) {
|
|
371
|
+
return this.a30_1.clauseOf(head, body);
|
|
372
|
+
};
|
|
373
|
+
protoOf(LogicProgrammingScopeImpl).consOf = function (head, tail) {
|
|
374
|
+
return this.a30_1.consOf(head, tail);
|
|
375
|
+
};
|
|
376
|
+
protoOf(LogicProgrammingScopeImpl).containsVar = function (variable) {
|
|
377
|
+
return this.a30_1.containsVar(variable);
|
|
378
|
+
};
|
|
379
|
+
protoOf(LogicProgrammingScopeImpl).contains = function (variable) {
|
|
380
|
+
return this.a30_1.contains(variable);
|
|
381
|
+
};
|
|
382
|
+
protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
|
|
383
|
+
return this.a30_1.directiveOf(body1, body);
|
|
384
|
+
};
|
|
385
|
+
protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
|
|
386
|
+
return this.a30_1.factOf(head);
|
|
387
|
+
};
|
|
388
|
+
protoOf(LogicProgrammingScopeImpl).get = function (variable) {
|
|
389
|
+
return this.a30_1.get(variable);
|
|
390
|
+
};
|
|
391
|
+
protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
|
|
392
|
+
return this.a30_1.getValue(thisRef, property);
|
|
393
|
+
};
|
|
394
|
+
protoOf(LogicProgrammingScopeImpl).indicatorOf = function (name, arity) {
|
|
395
|
+
return this.a30_1.indicatorOf(name, arity);
|
|
396
|
+
};
|
|
397
|
+
protoOf(LogicProgrammingScopeImpl).indicatorOfStringInt = function (name, arity) {
|
|
398
|
+
return this.a30_1.indicatorOfStringInt(name, arity);
|
|
399
|
+
};
|
|
400
|
+
protoOf(LogicProgrammingScopeImpl).intOfByte = function (value) {
|
|
401
|
+
return this.a30_1.intOfByte(value);
|
|
402
|
+
};
|
|
403
|
+
protoOf(LogicProgrammingScopeImpl).intOf = function (value) {
|
|
404
|
+
return this.a30_1.intOf(value);
|
|
405
|
+
};
|
|
406
|
+
protoOf(LogicProgrammingScopeImpl).intOfLong = function (value) {
|
|
407
|
+
return this.a30_1.intOfLong(value);
|
|
408
|
+
};
|
|
409
|
+
protoOf(LogicProgrammingScopeImpl).intOfShort = function (value) {
|
|
410
|
+
return this.a30_1.intOfShort(value);
|
|
411
|
+
};
|
|
412
|
+
protoOf(LogicProgrammingScopeImpl).parseInt = function (value) {
|
|
413
|
+
return this.a30_1.parseInt(value);
|
|
414
|
+
};
|
|
415
|
+
protoOf(LogicProgrammingScopeImpl).parseIntRadix = function (value, radix) {
|
|
416
|
+
return this.a30_1.parseIntRadix(value, radix);
|
|
417
|
+
};
|
|
418
|
+
protoOf(LogicProgrammingScopeImpl).intOfBigInteger = function (value) {
|
|
419
|
+
return this.a30_1.intOfBigInteger(value);
|
|
420
|
+
};
|
|
421
|
+
protoOf(LogicProgrammingScopeImpl).v10 = function (terms, last) {
|
|
422
|
+
return this.a30_1.v10(terms, last);
|
|
423
|
+
};
|
|
424
|
+
protoOf(LogicProgrammingScopeImpl).w10 = function (terms, last) {
|
|
425
|
+
return this.a30_1.w10(terms, last);
|
|
426
|
+
};
|
|
427
|
+
protoOf(LogicProgrammingScopeImpl).x10 = function (terms, last) {
|
|
428
|
+
return this.a30_1.x10(terms, last);
|
|
429
|
+
};
|
|
430
|
+
protoOf(LogicProgrammingScopeImpl).logicListOf = function (terms) {
|
|
431
|
+
return this.a30_1.logicListOf(terms);
|
|
432
|
+
};
|
|
433
|
+
protoOf(LogicProgrammingScopeImpl).logicListOfIterable = function (terms) {
|
|
434
|
+
return this.a30_1.logicListOfIterable(terms);
|
|
435
|
+
};
|
|
436
|
+
protoOf(LogicProgrammingScopeImpl).logicListOfSequence = function (terms) {
|
|
437
|
+
return this.a30_1.logicListOfSequence(terms);
|
|
438
|
+
};
|
|
439
|
+
protoOf(LogicProgrammingScopeImpl).numOfByte = function (value) {
|
|
440
|
+
return this.a30_1.numOfByte(value);
|
|
441
|
+
};
|
|
442
|
+
protoOf(LogicProgrammingScopeImpl).numOfDouble = function (value) {
|
|
443
|
+
return this.a30_1.numOfDouble(value);
|
|
444
|
+
};
|
|
445
|
+
protoOf(LogicProgrammingScopeImpl).numOfFloat = function (value) {
|
|
446
|
+
return this.a30_1.numOfFloat(value);
|
|
447
|
+
};
|
|
448
|
+
protoOf(LogicProgrammingScopeImpl).numOfInt = function (value) {
|
|
449
|
+
return this.a30_1.numOfInt(value);
|
|
450
|
+
};
|
|
451
|
+
protoOf(LogicProgrammingScopeImpl).numOfLong = function (value) {
|
|
452
|
+
return this.a30_1.numOfLong(value);
|
|
453
|
+
};
|
|
454
|
+
protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
|
|
455
|
+
return this.a30_1.numOf(value);
|
|
456
|
+
};
|
|
457
|
+
protoOf(LogicProgrammingScopeImpl).numOfShort = function (value) {
|
|
458
|
+
return this.a30_1.numOfShort(value);
|
|
459
|
+
};
|
|
460
|
+
protoOf(LogicProgrammingScopeImpl).parseNum = function (value) {
|
|
461
|
+
return this.a30_1.parseNum(value);
|
|
462
|
+
};
|
|
463
|
+
protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
|
|
464
|
+
return this.a30_1.numOfBigDecimal(value);
|
|
465
|
+
};
|
|
466
|
+
protoOf(LogicProgrammingScopeImpl).numOfBigInteger = function (value) {
|
|
467
|
+
return this.a30_1.numOfBigInteger(value);
|
|
468
|
+
};
|
|
469
|
+
protoOf(LogicProgrammingScopeImpl).realOf = function (value) {
|
|
470
|
+
return this.a30_1.realOf(value);
|
|
471
|
+
};
|
|
472
|
+
protoOf(LogicProgrammingScopeImpl).realOfFloat = function (value) {
|
|
473
|
+
return this.a30_1.realOfFloat(value);
|
|
474
|
+
};
|
|
475
|
+
protoOf(LogicProgrammingScopeImpl).parseReal = function (value) {
|
|
476
|
+
return this.a30_1.parseReal(value);
|
|
477
|
+
};
|
|
478
|
+
protoOf(LogicProgrammingScopeImpl).realOfBigDecimal = function (value) {
|
|
479
|
+
return this.a30_1.realOfBigDecimal(value);
|
|
480
|
+
};
|
|
481
|
+
protoOf(LogicProgrammingScopeImpl).ruleOf = function (head, body1, body) {
|
|
482
|
+
return this.a30_1.ruleOf(head, body1, body);
|
|
483
|
+
};
|
|
484
|
+
protoOf(LogicProgrammingScopeImpl).structOf = function (functor, args) {
|
|
485
|
+
return this.a30_1.structOf(functor, args);
|
|
486
|
+
};
|
|
487
|
+
protoOf(LogicProgrammingScopeImpl).structOfIterable = function (functor, args) {
|
|
488
|
+
return this.a30_1.structOfIterable(functor, args);
|
|
489
|
+
};
|
|
490
|
+
protoOf(LogicProgrammingScopeImpl).structOfList = function (functor, args) {
|
|
491
|
+
return this.a30_1.structOfList(functor, args);
|
|
492
|
+
};
|
|
493
|
+
protoOf(LogicProgrammingScopeImpl).structOfSequence = function (functor, args) {
|
|
494
|
+
return this.a30_1.structOfSequence(functor, args);
|
|
495
|
+
};
|
|
496
|
+
protoOf(LogicProgrammingScopeImpl).substitutionOf = function (assignments) {
|
|
497
|
+
return this.a30_1.substitutionOf(assignments);
|
|
498
|
+
};
|
|
499
|
+
protoOf(LogicProgrammingScopeImpl).substitutionOfIterable = function (assignments) {
|
|
500
|
+
return this.a30_1.substitutionOfIterable(assignments);
|
|
501
|
+
};
|
|
502
|
+
protoOf(LogicProgrammingScopeImpl).substitutionOfSequence = function (assignments) {
|
|
503
|
+
return this.a30_1.substitutionOfSequence(assignments);
|
|
504
|
+
};
|
|
505
|
+
protoOf(LogicProgrammingScopeImpl).truthOf = function (value) {
|
|
506
|
+
return this.a30_1.truthOf(value);
|
|
507
|
+
};
|
|
508
|
+
protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
|
|
509
|
+
return this.a30_1.tupleOf(terms);
|
|
510
|
+
};
|
|
511
|
+
protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
|
|
512
|
+
return this.a30_1.tupleOfIterable(terms);
|
|
513
|
+
};
|
|
514
|
+
protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
|
|
515
|
+
return this.a30_1.tupleOfSequence(terms);
|
|
516
|
+
};
|
|
517
|
+
protoOf(LogicProgrammingScopeImpl).unifierOf = function (assignments) {
|
|
518
|
+
return this.a30_1.unifierOf(assignments);
|
|
519
|
+
};
|
|
520
|
+
protoOf(LogicProgrammingScopeImpl).unifierOfIterable = function (assignments) {
|
|
521
|
+
return this.a30_1.unifierOfIterable(assignments);
|
|
522
|
+
};
|
|
523
|
+
protoOf(LogicProgrammingScopeImpl).unifierOfSequence = function (assignments) {
|
|
524
|
+
return this.a30_1.unifierOfSequence(assignments);
|
|
525
|
+
};
|
|
526
|
+
protoOf(LogicProgrammingScopeImpl).varOfChar = function (name) {
|
|
527
|
+
return this.a30_1.varOfChar(name);
|
|
528
|
+
};
|
|
529
|
+
protoOf(LogicProgrammingScopeImpl).varOf = function (name) {
|
|
530
|
+
return this.a30_1.varOf(name);
|
|
531
|
+
};
|
|
532
|
+
protoOf(LogicProgrammingScopeImpl).whatever = function () {
|
|
533
|
+
return this.a30_1.whatever();
|
|
534
|
+
};
|
|
535
|
+
protoOf(LogicProgrammingScopeImpl).where = function (lambda) {
|
|
536
|
+
return this.a30_1.where(lambda);
|
|
537
|
+
};
|
|
538
|
+
protoOf(LogicProgrammingScopeImpl).with = function (lambda) {
|
|
539
|
+
return this.a30_1.with(lambda);
|
|
540
|
+
};
|
|
541
|
+
protoOf(LogicProgrammingScopeImpl).match = function (term1, term2) {
|
|
542
|
+
return this.b30_1.match(term1, term2);
|
|
543
|
+
};
|
|
544
|
+
protoOf(LogicProgrammingScopeImpl).matchWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
545
|
+
return this.b30_1.matchWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
546
|
+
};
|
|
547
|
+
protoOf(LogicProgrammingScopeImpl).merge = function (substitution1, substitution2) {
|
|
548
|
+
return this.b30_1.merge(substitution1, substitution2);
|
|
549
|
+
};
|
|
550
|
+
protoOf(LogicProgrammingScopeImpl).mergeWithOccurCheck = function (substitution1, substitution2, occurCheckEnabled) {
|
|
551
|
+
return this.b30_1.mergeWithOccurCheck(substitution1, substitution2, occurCheckEnabled);
|
|
552
|
+
};
|
|
553
|
+
protoOf(LogicProgrammingScopeImpl).mgu = function (term1, term2) {
|
|
554
|
+
return this.b30_1.mgu(term1, term2);
|
|
555
|
+
};
|
|
556
|
+
protoOf(LogicProgrammingScopeImpl).a1k = function (term1, term2, occurCheckEnabled) {
|
|
557
|
+
return this.b30_1.a1k(term1, term2, occurCheckEnabled);
|
|
558
|
+
};
|
|
559
|
+
protoOf(LogicProgrammingScopeImpl).unify = function (term1, term2) {
|
|
560
|
+
return this.b30_1.unify(term1, term2);
|
|
561
|
+
};
|
|
562
|
+
protoOf(LogicProgrammingScopeImpl).unifyWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
563
|
+
return this.b30_1.unifyWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
564
|
+
};
|
|
565
|
+
protoOf(LogicProgrammingScopeImpl).emptyMutableTheory = function () {
|
|
566
|
+
return this.c30_1.emptyMutableTheory();
|
|
567
|
+
};
|
|
568
|
+
protoOf(LogicProgrammingScopeImpl).emptyMutableTheoryWithUnificator = function (unificator) {
|
|
569
|
+
return this.c30_1.emptyMutableTheoryWithUnificator(unificator);
|
|
570
|
+
};
|
|
571
|
+
protoOf(LogicProgrammingScopeImpl).emptyTheory = function () {
|
|
572
|
+
return this.c30_1.emptyTheory();
|
|
573
|
+
};
|
|
574
|
+
protoOf(LogicProgrammingScopeImpl).emptyTheoryWithUnificator = function (unificator) {
|
|
575
|
+
return this.c30_1.emptyTheoryWithUnificator(unificator);
|
|
576
|
+
};
|
|
577
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfWithUnificator = function (unificator, clauses) {
|
|
578
|
+
return this.c30_1.mutableTheoryOfWithUnificator(unificator, clauses);
|
|
579
|
+
};
|
|
580
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOf = function (clauses) {
|
|
581
|
+
return this.c30_1.mutableTheoryOf(clauses);
|
|
582
|
+
};
|
|
583
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterable = function (clauses) {
|
|
584
|
+
return this.c30_1.mutableTheoryOfIterable(clauses);
|
|
585
|
+
};
|
|
586
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
587
|
+
return this.c30_1.mutableTheoryOfIterableWithUnificator(clauses, unificator);
|
|
588
|
+
};
|
|
589
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequence = function (clauses) {
|
|
590
|
+
return this.c30_1.mutableTheoryOfSequence(clauses);
|
|
591
|
+
};
|
|
592
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
593
|
+
return this.c30_1.mutableTheoryOfSequenceWithUnificator(clauses, unificator);
|
|
594
|
+
};
|
|
595
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfWithUnificator = function (unificator, clauses) {
|
|
596
|
+
return this.c30_1.theoryOfWithUnificator(unificator, clauses);
|
|
597
|
+
};
|
|
598
|
+
protoOf(LogicProgrammingScopeImpl).theoryOf = function (clauses) {
|
|
599
|
+
return this.c30_1.theoryOf(clauses);
|
|
600
|
+
};
|
|
601
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfIterable = function (clauses) {
|
|
602
|
+
return this.c30_1.theoryOfIterable(clauses);
|
|
603
|
+
};
|
|
604
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
605
|
+
return this.c30_1.theoryOfIterableWithUnificator(clauses, unificator);
|
|
606
|
+
};
|
|
607
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfSequence = function (clauses) {
|
|
608
|
+
return this.c30_1.theoryOfSequence(clauses);
|
|
609
|
+
};
|
|
610
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
611
|
+
return this.c30_1.theoryOfSequenceWithUnificator(clauses, unificator);
|
|
612
|
+
};
|
|
613
|
+
protoOf(LogicProgrammingScopeImpl).t1v = function () {
|
|
614
|
+
return this.e30_1.t1v();
|
|
615
|
+
};
|
|
616
|
+
protoOf(LogicProgrammingScopeImpl).r1v = function () {
|
|
617
|
+
return this.e30_1.r1v();
|
|
618
|
+
};
|
|
619
|
+
protoOf(LogicProgrammingScopeImpl).u1v = function () {
|
|
620
|
+
return this.e30_1.u1v();
|
|
621
|
+
};
|
|
622
|
+
protoOf(LogicProgrammingScopeImpl).q1v = function () {
|
|
623
|
+
return this.e30_1.q1v();
|
|
624
|
+
};
|
|
625
|
+
protoOf(LogicProgrammingScopeImpl).z1v = function () {
|
|
626
|
+
return this.e30_1.z1v();
|
|
627
|
+
};
|
|
628
|
+
protoOf(LogicProgrammingScopeImpl).v1v = function () {
|
|
629
|
+
return this.e30_1.v1v();
|
|
630
|
+
};
|
|
631
|
+
protoOf(LogicProgrammingScopeImpl).c1w = function () {
|
|
632
|
+
return this.e30_1.c1w();
|
|
633
|
+
};
|
|
634
|
+
protoOf(LogicProgrammingScopeImpl).a1w = function () {
|
|
635
|
+
return this.e30_1.a1w();
|
|
636
|
+
};
|
|
637
|
+
protoOf(LogicProgrammingScopeImpl).b1w = function () {
|
|
638
|
+
return this.e30_1.b1w();
|
|
639
|
+
};
|
|
640
|
+
protoOf(LogicProgrammingScopeImpl).s1v = function () {
|
|
641
|
+
return this.e30_1.s1v();
|
|
642
|
+
};
|
|
643
|
+
protoOf(LogicProgrammingScopeImpl).d1w = function () {
|
|
644
|
+
return this.e30_1.d1w();
|
|
645
|
+
};
|
|
646
|
+
protoOf(LogicProgrammingScopeImpl).appendDynamicKb = function (theory) {
|
|
647
|
+
this.e30_1.appendDynamicKb(theory);
|
|
648
|
+
};
|
|
649
|
+
protoOf(LogicProgrammingScopeImpl).appendStaticKb = function (theory) {
|
|
650
|
+
this.e30_1.appendStaticKb(theory);
|
|
651
|
+
};
|
|
652
|
+
protoOf(LogicProgrammingScopeImpl).assertA = function (clause) {
|
|
653
|
+
this.e30_1.assertA(clause);
|
|
654
|
+
};
|
|
655
|
+
protoOf(LogicProgrammingScopeImpl).assertAFact = function (fact) {
|
|
656
|
+
this.e30_1.assertAFact(fact);
|
|
657
|
+
};
|
|
658
|
+
protoOf(LogicProgrammingScopeImpl).assertZ = function (clause) {
|
|
659
|
+
this.e30_1.assertZ(clause);
|
|
660
|
+
};
|
|
661
|
+
protoOf(LogicProgrammingScopeImpl).assertZFact = function (fact) {
|
|
662
|
+
this.e30_1.assertZFact(fact);
|
|
663
|
+
};
|
|
664
|
+
protoOf(LogicProgrammingScopeImpl).a1t = function () {
|
|
665
|
+
return this.e30_1.a1t();
|
|
666
|
+
};
|
|
667
|
+
protoOf(LogicProgrammingScopeImpl).clone = function () {
|
|
668
|
+
return this.a1t();
|
|
669
|
+
};
|
|
670
|
+
protoOf(LogicProgrammingScopeImpl).h1w = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
671
|
+
return this.e30_1.h1w(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
672
|
+
};
|
|
673
|
+
protoOf(LogicProgrammingScopeImpl).loadDynamicClauses = function (clauses) {
|
|
674
|
+
this.e30_1.loadDynamicClauses(clauses);
|
|
675
|
+
};
|
|
676
|
+
protoOf(LogicProgrammingScopeImpl).loadDynamicClausesIterable = function (clauses) {
|
|
677
|
+
this.e30_1.loadDynamicClausesIterable(clauses);
|
|
678
|
+
};
|
|
679
|
+
protoOf(LogicProgrammingScopeImpl).loadDynamicClausesSequence = function (clauses) {
|
|
680
|
+
this.e30_1.loadDynamicClausesSequence(clauses);
|
|
681
|
+
};
|
|
682
|
+
protoOf(LogicProgrammingScopeImpl).loadDynamicKb = function (theory) {
|
|
683
|
+
this.e30_1.loadDynamicKb(theory);
|
|
684
|
+
};
|
|
685
|
+
protoOf(LogicProgrammingScopeImpl).loadLibrary = function (library) {
|
|
686
|
+
this.e30_1.loadLibrary(library);
|
|
687
|
+
};
|
|
688
|
+
protoOf(LogicProgrammingScopeImpl).loadStaticClauses = function (clauses) {
|
|
689
|
+
this.e30_1.loadStaticClauses(clauses);
|
|
690
|
+
};
|
|
691
|
+
protoOf(LogicProgrammingScopeImpl).loadStaticClausesIterable = function (clauses) {
|
|
692
|
+
this.e30_1.loadStaticClausesIterable(clauses);
|
|
693
|
+
};
|
|
694
|
+
protoOf(LogicProgrammingScopeImpl).loadStaticClausesSequence = function (clauses) {
|
|
695
|
+
this.e30_1.loadStaticClausesSequence(clauses);
|
|
696
|
+
};
|
|
697
|
+
protoOf(LogicProgrammingScopeImpl).loadStaticKb = function (theory) {
|
|
698
|
+
this.e30_1.loadStaticKb(theory);
|
|
699
|
+
};
|
|
700
|
+
protoOf(LogicProgrammingScopeImpl).resetDynamicKb = function () {
|
|
701
|
+
this.e30_1.resetDynamicKb();
|
|
702
|
+
};
|
|
703
|
+
protoOf(LogicProgrammingScopeImpl).resetStaticKb = function () {
|
|
704
|
+
this.e30_1.resetStaticKb();
|
|
705
|
+
};
|
|
706
|
+
protoOf(LogicProgrammingScopeImpl).retract = function (clause) {
|
|
707
|
+
return this.e30_1.retract(clause);
|
|
708
|
+
};
|
|
709
|
+
protoOf(LogicProgrammingScopeImpl).retractByHead = function (fact) {
|
|
710
|
+
return this.e30_1.retractByHead(fact);
|
|
711
|
+
};
|
|
712
|
+
protoOf(LogicProgrammingScopeImpl).retractAll = function (clause) {
|
|
713
|
+
return this.e30_1.retractAll(clause);
|
|
714
|
+
};
|
|
715
|
+
protoOf(LogicProgrammingScopeImpl).retractAllBeHead = function (fact) {
|
|
716
|
+
return this.e30_1.retractAllBeHead(fact);
|
|
717
|
+
};
|
|
718
|
+
protoOf(LogicProgrammingScopeImpl).setFlagNotable = function (flag) {
|
|
719
|
+
this.e30_1.setFlagNotable(flag);
|
|
720
|
+
};
|
|
721
|
+
protoOf(LogicProgrammingScopeImpl).setFlagPair = function (flag) {
|
|
722
|
+
this.e30_1.setFlagPair(flag);
|
|
723
|
+
};
|
|
724
|
+
protoOf(LogicProgrammingScopeImpl).setFlag = function (name, value) {
|
|
725
|
+
this.e30_1.setFlag(name, value);
|
|
726
|
+
};
|
|
727
|
+
protoOf(LogicProgrammingScopeImpl).setLibraries = function (libraries) {
|
|
728
|
+
this.e30_1.setLibraries(libraries);
|
|
729
|
+
};
|
|
730
|
+
protoOf(LogicProgrammingScopeImpl).setStandardError = function (stdErr) {
|
|
731
|
+
this.e30_1.setStandardError(stdErr);
|
|
732
|
+
};
|
|
733
|
+
protoOf(LogicProgrammingScopeImpl).setStandardInput = function (stdIn) {
|
|
734
|
+
this.e30_1.setStandardInput(stdIn);
|
|
735
|
+
};
|
|
736
|
+
protoOf(LogicProgrammingScopeImpl).setStandardOutput = function (stdOut) {
|
|
737
|
+
this.e30_1.setStandardOutput(stdOut);
|
|
738
|
+
};
|
|
739
|
+
protoOf(LogicProgrammingScopeImpl).setWarnings = function (warnings) {
|
|
740
|
+
this.e30_1.setWarnings(warnings);
|
|
741
|
+
};
|
|
742
|
+
protoOf(LogicProgrammingScopeImpl).solve = function (goal) {
|
|
743
|
+
return this.e30_1.solve(goal);
|
|
744
|
+
};
|
|
745
|
+
protoOf(LogicProgrammingScopeImpl).solveWithOptions = function (goal, options) {
|
|
746
|
+
return this.e30_1.solveWithOptions(goal, options);
|
|
747
|
+
};
|
|
748
|
+
protoOf(LogicProgrammingScopeImpl).solveWithTimeout = function (goal, timeout) {
|
|
749
|
+
return this.e30_1.solveWithTimeout(goal, timeout);
|
|
750
|
+
};
|
|
751
|
+
protoOf(LogicProgrammingScopeImpl).solveList = function (goal) {
|
|
752
|
+
return this.e30_1.solveList(goal);
|
|
753
|
+
};
|
|
754
|
+
protoOf(LogicProgrammingScopeImpl).solveListWithOptions = function (goal, options) {
|
|
755
|
+
return this.e30_1.solveListWithOptions(goal, options);
|
|
756
|
+
};
|
|
757
|
+
protoOf(LogicProgrammingScopeImpl).solveListWithTimeout = function (goal, timeout) {
|
|
758
|
+
return this.e30_1.solveListWithTimeout(goal, timeout);
|
|
759
|
+
};
|
|
760
|
+
protoOf(LogicProgrammingScopeImpl).solveOnce = function (goal) {
|
|
761
|
+
return this.e30_1.solveOnce(goal);
|
|
762
|
+
};
|
|
763
|
+
protoOf(LogicProgrammingScopeImpl).solveOnceWithOptions = function (goal, options) {
|
|
764
|
+
return this.e30_1.solveOnceWithOptions(goal, options);
|
|
765
|
+
};
|
|
766
|
+
protoOf(LogicProgrammingScopeImpl).solveOnceWithTimeout = function (goal, timeout) {
|
|
767
|
+
return this.e30_1.solveOnceWithTimeout(goal, timeout);
|
|
768
|
+
};
|
|
769
|
+
protoOf(LogicProgrammingScopeImpl).unloadLibrary = function (library) {
|
|
770
|
+
this.e30_1.unloadLibrary(library);
|
|
771
|
+
};
|
|
772
|
+
protoOf(LogicProgrammingScopeImpl).c1j = function () {
|
|
773
|
+
return this.a1h(Companion_instance.empty());
|
|
774
|
+
};
|
|
775
|
+
protoOf(LogicProgrammingScopeImpl).newScope = function () {
|
|
776
|
+
return this.c1j();
|
|
777
|
+
};
|
|
778
|
+
protoOf(LogicProgrammingScopeImpl).a1h = function (scope) {
|
|
779
|
+
return LogicProgrammingScopeImpl_init_$Create$(scope, this.z2z_1.a1h(scope), this.a30_1.a1h(scope), this.b30_1, this.c30_1, this.d30_1);
|
|
780
|
+
};
|
|
781
|
+
protoOf(LogicProgrammingScopeImpl).j1l = function (unificator) {
|
|
782
|
+
return LogicProgrammingScopeImpl_init_$Create$(this.y2z_1, this.z2z_1, this.a30_1, unificator, this.c30_1.j1l(unificator), Companion_instance_2.v2z(this.d30_1, unificator));
|
|
783
|
+
};
|
|
784
|
+
function LogicProgrammingScopeWithResolution() {
|
|
785
|
+
}
|
|
786
|
+
//region block: post-declaration
|
|
787
|
+
protoOf(LogicProgrammingScopeImpl).logicListFromFrom = logicListFromFrom;
|
|
788
|
+
protoOf(LogicProgrammingScopeImpl).logicListFromIterable = logicListFromIterable;
|
|
789
|
+
protoOf(LogicProgrammingScopeImpl).logicListFromSequence = logicListFromSequence;
|
|
790
|
+
protoOf(LogicProgrammingScopeImpl).mguWithOccurCheck = mguWithOccurCheck;
|
|
791
|
+
protoOf(LogicProgrammingScopeImpl).copy = copy;
|
|
792
|
+
protoOf(LogicProgrammingScopeImpl).stringInvoke = stringInvoke;
|
|
793
|
+
protoOf(LogicProgrammingScopeImpl).structOfAny = structOfAny;
|
|
794
|
+
protoOf(LogicProgrammingScopeImpl).tupleOfAny = tupleOfAny;
|
|
795
|
+
protoOf(LogicProgrammingScopeImpl).logicListOfAny = logicListOfAny;
|
|
796
|
+
protoOf(LogicProgrammingScopeImpl).blockOfAny = blockOfAny;
|
|
797
|
+
protoOf(LogicProgrammingScopeImpl).factOfAny = factOfAny;
|
|
798
|
+
protoOf(LogicProgrammingScopeImpl).consOfAny = consOfAny;
|
|
799
|
+
protoOf(LogicProgrammingScopeImpl).directiveOfAny = directiveOfAny;
|
|
800
|
+
protoOf(LogicProgrammingScopeImpl).withScope = withScope;
|
|
801
|
+
protoOf(LogicProgrammingScopeImpl).d1j = logicList;
|
|
802
|
+
protoOf(LogicProgrammingScopeImpl).logicList = logicList_0;
|
|
803
|
+
protoOf(LogicProgrammingScopeImpl).rule = rule;
|
|
804
|
+
protoOf(LogicProgrammingScopeImpl).clause2 = clause2;
|
|
805
|
+
protoOf(LogicProgrammingScopeImpl).directive = directive;
|
|
806
|
+
protoOf(LogicProgrammingScopeImpl).fact = fact;
|
|
807
|
+
protoOf(LogicProgrammingScopeImpl).convertToTerm = convertToTerm;
|
|
808
|
+
protoOf(LogicProgrammingScopeImpl).convertToSpecificSubTypeOfTerm = convertToSpecificSubTypeOfTerm;
|
|
809
|
+
protoOf(LogicProgrammingScopeImpl).substitutionContains = substitutionContains;
|
|
810
|
+
protoOf(LogicProgrammingScopeImpl).substitutionGet = substitutionGet;
|
|
811
|
+
protoOf(LogicProgrammingScopeImpl).varTo = varTo;
|
|
812
|
+
protoOf(LogicProgrammingScopeImpl).stringTo = stringTo;
|
|
813
|
+
protoOf(LogicProgrammingScopeImpl).substitutionContainsKey = substitutionContainsKey;
|
|
814
|
+
protoOf(LogicProgrammingScopeImpl).substitutionContainsValue = substitutionContainsValue;
|
|
815
|
+
protoOf(LogicProgrammingScopeImpl).at_end_of_stream1 = at_end_of_stream1;
|
|
816
|
+
protoOf(LogicProgrammingScopeImpl).call1 = call1;
|
|
817
|
+
protoOf(LogicProgrammingScopeImpl).catch3 = catch3;
|
|
818
|
+
protoOf(LogicProgrammingScopeImpl).throw1 = throw1;
|
|
819
|
+
protoOf(LogicProgrammingScopeImpl).not1 = not1;
|
|
820
|
+
protoOf(LogicProgrammingScopeImpl).naf1 = naf1;
|
|
821
|
+
protoOf(LogicProgrammingScopeImpl).assert1 = assert1;
|
|
822
|
+
protoOf(LogicProgrammingScopeImpl).asserta1 = asserta1;
|
|
823
|
+
protoOf(LogicProgrammingScopeImpl).assertz1 = assertz1;
|
|
824
|
+
protoOf(LogicProgrammingScopeImpl).arg3 = arg3;
|
|
825
|
+
protoOf(LogicProgrammingScopeImpl).atom1 = atom1;
|
|
826
|
+
protoOf(LogicProgrammingScopeImpl).atomic1 = atomic1;
|
|
827
|
+
protoOf(LogicProgrammingScopeImpl).between3 = between3;
|
|
828
|
+
protoOf(LogicProgrammingScopeImpl).callable1 = callable1;
|
|
829
|
+
protoOf(LogicProgrammingScopeImpl).compound1 = compound1;
|
|
830
|
+
protoOf(LogicProgrammingScopeImpl).current_op3 = current_op3;
|
|
831
|
+
protoOf(LogicProgrammingScopeImpl).op3 = op3;
|
|
832
|
+
protoOf(LogicProgrammingScopeImpl).findall3 = findall3;
|
|
833
|
+
protoOf(LogicProgrammingScopeImpl).float1 = float1;
|
|
834
|
+
protoOf(LogicProgrammingScopeImpl).functor3 = functor3;
|
|
835
|
+
protoOf(LogicProgrammingScopeImpl).ground1 = ground1;
|
|
836
|
+
protoOf(LogicProgrammingScopeImpl).integer1 = integer1;
|
|
837
|
+
protoOf(LogicProgrammingScopeImpl).natural = natural;
|
|
838
|
+
protoOf(LogicProgrammingScopeImpl).nonvar1 = nonvar1;
|
|
839
|
+
protoOf(LogicProgrammingScopeImpl).number1 = number1;
|
|
840
|
+
protoOf(LogicProgrammingScopeImpl).var1 = var1;
|
|
841
|
+
protoOf(LogicProgrammingScopeImpl).write1 = write1;
|
|
842
|
+
protoOf(LogicProgrammingScopeImpl).univ2 = univ2;
|
|
843
|
+
protoOf(LogicProgrammingScopeImpl).eq2 = eq2;
|
|
844
|
+
protoOf(LogicProgrammingScopeImpl).neq2 = neq2;
|
|
845
|
+
protoOf(LogicProgrammingScopeImpl).id2 = id2;
|
|
846
|
+
protoOf(LogicProgrammingScopeImpl).nid2 = nid2;
|
|
847
|
+
protoOf(LogicProgrammingScopeImpl).arithEq2 = arithEq2;
|
|
848
|
+
protoOf(LogicProgrammingScopeImpl).arithNeq2 = arithNeq2;
|
|
849
|
+
protoOf(LogicProgrammingScopeImpl).member2 = member2;
|
|
850
|
+
protoOf(LogicProgrammingScopeImpl).retract1 = retract1;
|
|
851
|
+
protoOf(LogicProgrammingScopeImpl).append3 = append3;
|
|
852
|
+
protoOf(LogicProgrammingScopeImpl).retractall1 = retractall1;
|
|
853
|
+
protoOf(LogicProgrammingScopeImpl).abolish1 = abolish1;
|
|
854
|
+
protoOf(LogicProgrammingScopeImpl).atom_chars2 = atom_chars2;
|
|
855
|
+
protoOf(LogicProgrammingScopeImpl).atom_codes2 = atom_codes2;
|
|
856
|
+
protoOf(LogicProgrammingScopeImpl).atom_concat3 = atom_concat3;
|
|
857
|
+
protoOf(LogicProgrammingScopeImpl).atom_length2 = atom_length2;
|
|
858
|
+
protoOf(LogicProgrammingScopeImpl).char_code2 = char_code2;
|
|
859
|
+
protoOf(LogicProgrammingScopeImpl).copy_term2 = copy_term2;
|
|
860
|
+
protoOf(LogicProgrammingScopeImpl).current_flag2 = current_flag2;
|
|
861
|
+
protoOf(LogicProgrammingScopeImpl).current_prolog_flag2 = current_prolog_flag2;
|
|
862
|
+
protoOf(LogicProgrammingScopeImpl).sub_atom5 = sub_atom5;
|
|
863
|
+
protoOf(LogicProgrammingScopeImpl).number_chars2 = number_chars2;
|
|
864
|
+
protoOf(LogicProgrammingScopeImpl).number_codes2 = number_codes2;
|
|
865
|
+
protoOf(LogicProgrammingScopeImpl).bagof3 = bagof3;
|
|
866
|
+
protoOf(LogicProgrammingScopeImpl).setof3 = setof3;
|
|
867
|
+
protoOf(LogicProgrammingScopeImpl).consult1 = consult1;
|
|
868
|
+
protoOf(LogicProgrammingScopeImpl).set_flag2 = set_flag2;
|
|
869
|
+
protoOf(LogicProgrammingScopeImpl).set_prolog_flag2 = set_prolog_flag2;
|
|
870
|
+
protoOf(LogicProgrammingScopeImpl).dynamic1 = dynamic1;
|
|
871
|
+
protoOf(LogicProgrammingScopeImpl).static1 = static1;
|
|
872
|
+
protoOf(LogicProgrammingScopeImpl).solve1 = solve1;
|
|
873
|
+
protoOf(LogicProgrammingScopeImpl).initialization1 = initialization1;
|
|
874
|
+
protoOf(LogicProgrammingScopeImpl).load1 = load1;
|
|
875
|
+
protoOf(LogicProgrammingScopeImpl).include1 = include1;
|
|
876
|
+
protoOf(LogicProgrammingScopeImpl).termPlus = termPlus;
|
|
877
|
+
protoOf(LogicProgrammingScopeImpl).number = number;
|
|
878
|
+
protoOf(LogicProgrammingScopeImpl).booleanPlus = booleanPlus;
|
|
879
|
+
protoOf(LogicProgrammingScopeImpl).charPlus = charPlus;
|
|
880
|
+
protoOf(LogicProgrammingScopeImpl).termMinus = termMinus;
|
|
881
|
+
protoOf(LogicProgrammingScopeImpl).numberMinus = numberMinus;
|
|
882
|
+
protoOf(LogicProgrammingScopeImpl).booleanMinus = booleanMinus;
|
|
883
|
+
protoOf(LogicProgrammingScopeImpl).charMinus = charMinus;
|
|
884
|
+
protoOf(LogicProgrammingScopeImpl).stringMinus = stringMinus;
|
|
885
|
+
protoOf(LogicProgrammingScopeImpl).termTimes = termTimes;
|
|
886
|
+
protoOf(LogicProgrammingScopeImpl).numberTimes = numberTimes;
|
|
887
|
+
protoOf(LogicProgrammingScopeImpl).booleanTimes = booleanTimes;
|
|
888
|
+
protoOf(LogicProgrammingScopeImpl).charTimes = charTimes;
|
|
889
|
+
protoOf(LogicProgrammingScopeImpl).stringTimes = stringTimes;
|
|
890
|
+
protoOf(LogicProgrammingScopeImpl).termDiv = termDiv;
|
|
891
|
+
protoOf(LogicProgrammingScopeImpl).numberDiv = numberDiv;
|
|
892
|
+
protoOf(LogicProgrammingScopeImpl).booleanDiv = booleanDiv;
|
|
893
|
+
protoOf(LogicProgrammingScopeImpl).charDiv = charDiv;
|
|
894
|
+
protoOf(LogicProgrammingScopeImpl).stringDiv = stringDiv;
|
|
895
|
+
protoOf(LogicProgrammingScopeImpl).anyEqualsTo = anyEqualsTo;
|
|
896
|
+
protoOf(LogicProgrammingScopeImpl).anyNotEqualsTo = anyNotEqualsTo;
|
|
897
|
+
protoOf(LogicProgrammingScopeImpl).anyGreaterThan = anyGreaterThan;
|
|
898
|
+
protoOf(LogicProgrammingScopeImpl).anyGreaterThanOrEqualsTo = anyGreaterThanOrEqualsTo;
|
|
899
|
+
protoOf(LogicProgrammingScopeImpl).anyNonLowerThan = anyNonLowerThan;
|
|
900
|
+
protoOf(LogicProgrammingScopeImpl).anyLowerThan = anyLowerThan;
|
|
901
|
+
protoOf(LogicProgrammingScopeImpl).anyLowerThanOrEqualsTo = anyLowerThanOrEqualsTo;
|
|
902
|
+
protoOf(LogicProgrammingScopeImpl).anyNonGreaterThan = anyNonGreaterThan;
|
|
903
|
+
protoOf(LogicProgrammingScopeImpl).anyIntDiv = anyIntDiv;
|
|
904
|
+
protoOf(LogicProgrammingScopeImpl).termRem = termRem;
|
|
905
|
+
protoOf(LogicProgrammingScopeImpl).numberRem = numberRem;
|
|
906
|
+
protoOf(LogicProgrammingScopeImpl).booleanRem = booleanRem;
|
|
907
|
+
protoOf(LogicProgrammingScopeImpl).charRem = charRem;
|
|
908
|
+
protoOf(LogicProgrammingScopeImpl).stringRem = stringRem;
|
|
909
|
+
protoOf(LogicProgrammingScopeImpl).anyAnd = anyAnd;
|
|
910
|
+
protoOf(LogicProgrammingScopeImpl).anyOr = anyOr;
|
|
911
|
+
protoOf(LogicProgrammingScopeImpl).anyPow = anyPow;
|
|
912
|
+
protoOf(LogicProgrammingScopeImpl).anySup = anySup;
|
|
913
|
+
protoOf(LogicProgrammingScopeImpl).anyIs = anyIs;
|
|
914
|
+
protoOf(LogicProgrammingScopeImpl).anyThen = anyThen;
|
|
915
|
+
protoOf(LogicProgrammingScopeImpl).anyImpliedBy = anyImpliedBy;
|
|
916
|
+
protoOf(LogicProgrammingScopeImpl).anyImpliedByVararg = anyImpliedByVararg;
|
|
917
|
+
protoOf(LogicProgrammingScopeImpl).anyIf = anyIf;
|
|
918
|
+
protoOf(LogicProgrammingScopeImpl).anyIfVararg = anyIfVararg;
|
|
919
|
+
protoOf(LogicProgrammingScopeImpl).anyMguWith = anyMguWith;
|
|
920
|
+
protoOf(LogicProgrammingScopeImpl).anyMatches = anyMatches;
|
|
921
|
+
protoOf(LogicProgrammingScopeImpl).anyUnifyWith = anyUnifyWith;
|
|
922
|
+
protoOf(LogicProgrammingScopeImpl).g1l = mgu;
|
|
923
|
+
protoOf(LogicProgrammingScopeImpl).mguAny = mguAny;
|
|
924
|
+
protoOf(LogicProgrammingScopeImpl).h1l = match;
|
|
925
|
+
protoOf(LogicProgrammingScopeImpl).matchAny = matchAny;
|
|
926
|
+
protoOf(LogicProgrammingScopeImpl).i1l = unify;
|
|
927
|
+
protoOf(LogicProgrammingScopeImpl).unifyAny = unifyAny;
|
|
928
|
+
protoOf(LogicProgrammingScopeImpl).convertToClause = convertToClause;
|
|
929
|
+
protoOf(LogicProgrammingScopeImpl).theory = theory;
|
|
930
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfConcatenatedSequences = theoryOfConcatenatedSequences;
|
|
931
|
+
protoOf(LogicProgrammingScopeImpl).theoryOfConcatenatedIterables = theoryOfConcatenatedIterables;
|
|
932
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheory = mutableTheory;
|
|
933
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfConcatenatedSequences = mutableTheoryOfConcatenatedSequences;
|
|
934
|
+
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfConcatenatedIterables = mutableTheoryOfConcatenatedIterables;
|
|
935
|
+
protoOf(LogicProgrammingScopeImpl).h1z = solverOf;
|
|
936
|
+
protoOf(LogicProgrammingScopeImpl).solverOf = solverOf_0;
|
|
937
|
+
protoOf(LogicProgrammingScopeImpl).staticKbByArray = staticKbByArray;
|
|
938
|
+
protoOf(LogicProgrammingScopeImpl).staticKbByIterable = staticKbByIterable;
|
|
939
|
+
protoOf(LogicProgrammingScopeImpl).staticKbBySequence = staticKbBySequence;
|
|
940
|
+
protoOf(LogicProgrammingScopeImpl).staticKbByTheory = staticKbByTheory;
|
|
941
|
+
protoOf(LogicProgrammingScopeImpl).dynamicKbByArray = dynamicKbByArray;
|
|
942
|
+
protoOf(LogicProgrammingScopeImpl).dynamicKbByIterable = dynamicKbByIterable;
|
|
943
|
+
protoOf(LogicProgrammingScopeImpl).dynamicKbBySequence = dynamicKbBySequence;
|
|
944
|
+
protoOf(LogicProgrammingScopeImpl).dynamicKbByTheory = dynamicKbByTheory;
|
|
945
|
+
//endregion
|
|
946
|
+
//region block: init
|
|
947
|
+
Companion_instance_2 = new Companion();
|
|
948
|
+
//endregion
|
|
949
|
+
//region block: exports
|
|
950
|
+
_.$_$ = _.$_$ || {};
|
|
951
|
+
_.$_$.a = solverOf_0;
|
|
952
|
+
_.$_$.b = Companion_instance_2;
|
|
953
|
+
_.$_$.c = LogicProgrammingScopeWithResolution;
|
|
954
|
+
_.$_$.d = prolog;
|
|
955
|
+
//endregion
|
|
956
|
+
return _;
|
|
957
|
+
}));
|
|
958
|
+
|
|
959
|
+
//# sourceMappingURL=2p-dsl-solve.js.map
|