@tuprolog/arg2p 0.14.2 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/2p-dsl-core.js CHANGED
@@ -21,77 +21,78 @@
21
21
  }(function (_, kotlin_kotlin, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_utils, kotlin_io_github_gciatto_kt_math) {
22
22
  'use strict';
23
23
  //region block: imports
24
- var THROW_CCE = kotlin_kotlin.$_$.qa;
25
- var Unit_instance = kotlin_kotlin.$_$.l1;
26
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.f;
27
- var protoOf = kotlin_kotlin.$_$.n6;
28
- var toString = kotlin_kotlin.$_$.q6;
29
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
30
- var Term = kotlin_it_unibo_tuprolog_core.$_$.r2;
31
- var isInterface = kotlin_kotlin.$_$.h6;
32
- var TermConvertible = kotlin_it_unibo_tuprolog_core.$_$.u1;
33
- var getKClassFromExpression = kotlin_kotlin.$_$.e7;
34
- var getKClass = kotlin_kotlin.$_$.f7;
35
- var toString_0 = kotlin_kotlin.$_$.h1;
36
- var Companion_getInstance = kotlin_it_unibo_tuprolog_core.$_$.a1;
37
- var asIterable = kotlin_kotlin.$_$.v1;
24
+ var THROW_CCE = kotlin_kotlin.$_$.nb;
25
+ var Unit_instance = kotlin_kotlin.$_$.o;
26
+ var constructCallableReference = kotlin_kotlin.$_$.j6;
27
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
28
+ var protoOf = kotlin_kotlin.$_$.f7;
29
+ var toString = kotlin_kotlin.$_$.i7;
30
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e1;
31
+ var Term = kotlin_it_unibo_tuprolog_core.$_$.s2;
32
+ var isInterface = kotlin_kotlin.$_$.z6;
33
+ var TermConvertible = kotlin_it_unibo_tuprolog_core.$_$.v1;
34
+ var getKClassFromExpression = kotlin_kotlin.$_$.x7;
35
+ var getKClass = kotlin_kotlin.$_$.y7;
36
+ var toString_0 = kotlin_kotlin.$_$.g;
37
+ var Companion_getInstance = kotlin_it_unibo_tuprolog_core.$_$.u;
38
+ var asIterable = kotlin_kotlin.$_$.b2;
38
39
  var assertItemsAreNotNull = kotlin_it_unibo_tuprolog_utils.$_$.s;
39
- var collectionSizeOrDefault = kotlin_kotlin.$_$.c2;
40
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
40
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.j2;
41
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
41
42
  var assertItemsAreNotNull_0 = kotlin_it_unibo_tuprolog_utils.$_$.r;
42
- var map = kotlin_kotlin.$_$.g8;
43
+ var map = kotlin_kotlin.$_$.z8;
43
44
  var assertItemsAreNotNull_1 = kotlin_it_unibo_tuprolog_utils.$_$.t;
44
- var Char = kotlin_kotlin.$_$.ea;
45
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.j1;
45
+ var Char = kotlin_kotlin.$_$.bb;
46
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.l;
46
47
  var BigInteger = kotlin_io_github_gciatto_kt_math.$_$.g;
47
48
  var BigDecimal = kotlin_io_github_gciatto_kt_math.$_$.f;
48
- var Sequence = kotlin_kotlin.$_$.j7;
49
- var Iterable = kotlin_kotlin.$_$.n1;
50
- var KtList = kotlin_kotlin.$_$.o1;
51
- var KtSet = kotlin_kotlin.$_$.r1;
52
- var Pair = kotlin_kotlin.$_$.oa;
53
- var Triple = kotlin_kotlin.$_$.sa;
54
- var Entry = kotlin_kotlin.$_$.p1;
55
- var KtMap = kotlin_kotlin.$_$.q1;
56
- var initMetadataForClass = kotlin_kotlin.$_$.a6;
49
+ var Sequence = kotlin_kotlin.$_$.c8;
50
+ var Iterable = kotlin_kotlin.$_$.s1;
51
+ var KtList = kotlin_kotlin.$_$.t1;
52
+ var KtSet = kotlin_kotlin.$_$.w1;
53
+ var Pair = kotlin_kotlin.$_$.lb;
54
+ var Triple = kotlin_kotlin.$_$.pb;
55
+ var Entry = kotlin_kotlin.$_$.u1;
56
+ var KtMap = kotlin_kotlin.$_$.v1;
57
+ var initMetadataForClass = kotlin_kotlin.$_$.s6;
57
58
  var VOID = kotlin_kotlin.$_$.b;
58
- var Struct = kotlin_it_unibo_tuprolog_core.$_$.s1;
59
- var Scope = kotlin_it_unibo_tuprolog_core.$_$.r1;
60
- var initMetadataForInterface = kotlin_kotlin.$_$.c6;
61
- var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.t;
62
- var Companion_instance_0 = kotlin_it_unibo_tuprolog_core.$_$.b1;
63
- var initMetadataForCompanion = kotlin_kotlin.$_$.b6;
64
- var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.d;
65
- var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.b;
66
- var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.c;
67
- var plus = kotlin_kotlin.$_$.v3;
68
- var Tuple = kotlin_it_unibo_tuprolog_core.$_$.s2;
69
- var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.z;
70
- var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_core.$_$.v;
71
- var Var = kotlin_it_unibo_tuprolog_core.$_$.t2;
59
+ var Struct = kotlin_it_unibo_tuprolog_core.$_$.t1;
60
+ var Scope = kotlin_it_unibo_tuprolog_core.$_$.s1;
61
+ var initMetadataForInterface = kotlin_kotlin.$_$.u6;
62
+ var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.m;
63
+ var Companion_instance_0 = kotlin_it_unibo_tuprolog_core.$_$.v;
64
+ var initMetadataForCompanion = kotlin_kotlin.$_$.t6;
65
+ var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.z;
66
+ var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.x;
67
+ var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.y;
68
+ var plus = kotlin_kotlin.$_$.f4;
69
+ var Tuple = kotlin_it_unibo_tuprolog_core.$_$.t2;
70
+ var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.t;
71
+ var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_core.$_$.o;
72
+ var Var = kotlin_it_unibo_tuprolog_core.$_$.u2;
72
73
  var arrayConcat = kotlin_kotlin.$_$.a;
73
- var sequenceOf = kotlin_kotlin.$_$.m8;
74
- var copyToArray = kotlin_kotlin.$_$.k2;
75
- var listOf = kotlin_kotlin.$_$.e3;
76
- var Rule = kotlin_it_unibo_tuprolog_core.$_$.q1;
77
- var Directive = kotlin_it_unibo_tuprolog_core.$_$.j1;
78
- var Fact = kotlin_it_unibo_tuprolog_core.$_$.k1;
74
+ var sequenceOf = kotlin_kotlin.$_$.f9;
75
+ var copyToArray = kotlin_kotlin.$_$.q2;
76
+ var listOf = kotlin_kotlin.$_$.n3;
77
+ var Rule = kotlin_it_unibo_tuprolog_core.$_$.r1;
78
+ var Directive = kotlin_it_unibo_tuprolog_core.$_$.k1;
79
+ var Fact = kotlin_it_unibo_tuprolog_core.$_$.l1;
79
80
  var NumberTypeTester = kotlin_it_unibo_tuprolog_utils.$_$.k;
80
81
  //endregion
81
82
  //region block: pre-declaration
82
83
  function copy(scope, $super) {
83
- scope = scope === VOID ? this.x1g() : scope;
84
- return $super === VOID ? this.y1g(scope) : $super.y1g.call(this, scope);
84
+ scope = scope === VOID ? this.a1i() : scope;
85
+ return $super === VOID ? this.b1i(scope) : $super.b1i.call(this, scope);
85
86
  }
86
87
  initMetadataForInterface(Termificator, 'Termificator');
87
88
  initMetadataForClass(AbstractTermificator, 'AbstractTermificator', VOID, VOID, [Termificator]);
88
89
  function convertToTerm(_this__u8e3s4) {
89
- return this.i2y().toTerm(_this__u8e3s4);
90
+ return this.x30().toTerm(_this__u8e3s4);
90
91
  }
91
92
  function convertToSpecificSubTypeOfTerm(_this__u8e3s4, type, converter) {
92
93
  var t = this.convertToTerm(_this__u8e3s4);
93
94
  var tmp;
94
- if (type.c9(t)) {
95
+ if (type.f9(t)) {
95
96
  tmp = isInterface(t, Term) ? t : THROW_CCE();
96
97
  } else {
97
98
  if (isInterface(t, Struct)) {
@@ -104,6 +105,197 @@
104
105
  }
105
106
  initMetadataForInterface(BaseLogicProgrammingScope, 'BaseLogicProgrammingScope', VOID, VOID, [Scope]);
106
107
  initMetadataForCompanion(Companion);
108
+ function termPlus(_this__u8e3s4, other) {
109
+ return this.structOf('+', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
110
+ }
111
+ function number(_this__u8e3s4, other) {
112
+ return this.termPlus(this.convertToTerm(_this__u8e3s4), other);
113
+ }
114
+ function booleanPlus(_this__u8e3s4, other) {
115
+ return this.termPlus(this.convertToTerm(_this__u8e3s4), other);
116
+ }
117
+ function charPlus(_this__u8e3s4, other) {
118
+ return this.termPlus(this.convertToTerm(new Char(_this__u8e3s4)), other);
119
+ }
120
+ function termMinus(_this__u8e3s4, other) {
121
+ return this.structOf('-', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
122
+ }
123
+ function numberMinus(_this__u8e3s4, other) {
124
+ return this.termMinus(this.convertToTerm(_this__u8e3s4), other);
125
+ }
126
+ function booleanMinus(_this__u8e3s4, other) {
127
+ return this.termMinus(this.convertToTerm(_this__u8e3s4), other);
128
+ }
129
+ function charMinus(_this__u8e3s4, other) {
130
+ return this.termMinus(this.convertToTerm(new Char(_this__u8e3s4)), other);
131
+ }
132
+ function stringMinus(_this__u8e3s4, other) {
133
+ return this.termMinus(this.convertToTerm(_this__u8e3s4), other);
134
+ }
135
+ function termTimes(_this__u8e3s4, other) {
136
+ return this.structOf('*', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
137
+ }
138
+ function numberTimes(_this__u8e3s4, other) {
139
+ return this.termTimes(this.convertToTerm(_this__u8e3s4), other);
140
+ }
141
+ function booleanTimes(_this__u8e3s4, other) {
142
+ return this.termTimes(this.convertToTerm(_this__u8e3s4), other);
143
+ }
144
+ function charTimes(_this__u8e3s4, other) {
145
+ return this.termTimes(this.convertToTerm(new Char(_this__u8e3s4)), other);
146
+ }
147
+ function stringTimes(_this__u8e3s4, other) {
148
+ return this.termTimes(this.convertToTerm(_this__u8e3s4), other);
149
+ }
150
+ function termDiv(_this__u8e3s4, other) {
151
+ return this.indicatorOf(this.convertToTerm(_this__u8e3s4), this.convertToTerm(other));
152
+ }
153
+ function numberDiv(_this__u8e3s4, other) {
154
+ return this.termDiv(this.convertToTerm(_this__u8e3s4), other);
155
+ }
156
+ function booleanDiv(_this__u8e3s4, other) {
157
+ return this.termDiv(this.convertToTerm(_this__u8e3s4), other);
158
+ }
159
+ function charDiv(_this__u8e3s4, other) {
160
+ return this.termDiv(this.convertToTerm(new Char(_this__u8e3s4)), other);
161
+ }
162
+ function stringDiv(_this__u8e3s4, other) {
163
+ return this.termDiv(this.convertToTerm(_this__u8e3s4), other);
164
+ }
165
+ function anyEqualsTo(_this__u8e3s4, other) {
166
+ return this.structOf('=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
167
+ }
168
+ function anyNotEqualsTo(_this__u8e3s4, other) {
169
+ return this.structOf('\\=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
170
+ }
171
+ function anyGreaterThan(_this__u8e3s4, other) {
172
+ return this.structOf('>', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
173
+ }
174
+ function anyGreaterThanOrEqualsTo(_this__u8e3s4, other) {
175
+ return this.structOf('>=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
176
+ }
177
+ function anyNonLowerThan(_this__u8e3s4, other) {
178
+ return this.anyGreaterThanOrEqualsTo(_this__u8e3s4, other);
179
+ }
180
+ function anyLowerThan(_this__u8e3s4, other) {
181
+ return this.structOf('<', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
182
+ }
183
+ function anyLowerThanOrEqualsTo(_this__u8e3s4, other) {
184
+ return this.structOf('=<', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
185
+ }
186
+ function anyNonGreaterThan(_this__u8e3s4, other) {
187
+ return this.anyLowerThanOrEqualsTo(_this__u8e3s4, other);
188
+ }
189
+ function anyIntDiv(_this__u8e3s4, other) {
190
+ return this.structOf('//', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
191
+ }
192
+ function termRem(_this__u8e3s4, other) {
193
+ return this.structOf('rem', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
194
+ }
195
+ function numberRem(_this__u8e3s4, other) {
196
+ return this.termRem(this.convertToTerm(_this__u8e3s4), other);
197
+ }
198
+ function booleanRem(_this__u8e3s4, other) {
199
+ return this.termRem(this.convertToTerm(_this__u8e3s4), other);
200
+ }
201
+ function charRem(_this__u8e3s4, other) {
202
+ return this.termRem(this.convertToTerm(new Char(_this__u8e3s4)), other);
203
+ }
204
+ function stringRem(_this__u8e3s4, other) {
205
+ return this.termRem(this.convertToTerm(_this__u8e3s4), other);
206
+ }
207
+ function anyAnd(_this__u8e3s4, other) {
208
+ // Inline function 'kotlin.let' call
209
+ var it = this.convertToTerm(_this__u8e3s4);
210
+ var otherTerm = this.convertToTerm(other);
211
+ var tmp;
212
+ if (isInterface(it, Tuple)) {
213
+ tmp = this.tupleOfIterable(plus(it.bx(), otherTerm));
214
+ } else {
215
+ tmp = this.tupleOf([this.convertToTerm(_this__u8e3s4), otherTerm]);
216
+ }
217
+ return tmp;
218
+ }
219
+ function anyOr(_this__u8e3s4, other) {
220
+ return this.structOf(';', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
221
+ }
222
+ function anyPow(_this__u8e3s4, other) {
223
+ return this.structOf('**', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
224
+ }
225
+ function anySup(_this__u8e3s4, other) {
226
+ return this.structOf('^', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
227
+ }
228
+ function anyIs(_this__u8e3s4, other) {
229
+ return this.structOf('is', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
230
+ }
231
+ function anyThen(_this__u8e3s4, other) {
232
+ return this.structOf('->', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
233
+ }
234
+ function anyImpliedBy(_this__u8e3s4, other) {
235
+ var t = this.convertToTerm(_this__u8e3s4);
236
+ var tmp;
237
+ if (isInterface(t, Struct)) {
238
+ tmp = this.ruleOf(t, this.convertToTerm(other), []);
239
+ } else {
240
+ raiseErrorConvertingTo(_this__u8e3s4, getKClass(Struct));
241
+ }
242
+ return tmp;
243
+ }
244
+ function anyIf(_this__u8e3s4, other) {
245
+ return this.anyImpliedBy(_this__u8e3s4, other);
246
+ }
247
+ function anyImpliedByVararg(_this__u8e3s4, other) {
248
+ var tmp = Companion_instance_1;
249
+ // Inline function 'kotlin.collections.map' call
250
+ // Inline function 'kotlin.collections.mapTo' call
251
+ var destination = ArrayList_init_$Create$(other.length);
252
+ var inductionVariable = 0;
253
+ var last = other.length;
254
+ while (inductionVariable < last) {
255
+ var item = other[inductionVariable];
256
+ inductionVariable = inductionVariable + 1 | 0;
257
+ var tmp$ret$2 = this.convertToTerm(item);
258
+ destination.k(tmp$ret$2);
259
+ }
260
+ return this.anyImpliedBy(_this__u8e3s4, tmp.wrapIterableIfNeeded(destination));
261
+ }
262
+ function anyIfVararg(_this__u8e3s4, other) {
263
+ return this.anyImpliedByVararg(_this__u8e3s4, other.slice());
264
+ }
265
+ initMetadataForInterface(LogicProgrammingScopeWithOperators, 'LogicProgrammingScopeWithOperators', VOID, VOID, [BaseLogicProgrammingScope]);
266
+ function varTo(_this__u8e3s4, termObject) {
267
+ return Companion_getInstance_0().of(_this__u8e3s4, this.convertToTerm(termObject));
268
+ }
269
+ function stringTo(_this__u8e3s4, termObject) {
270
+ return Companion_getInstance_0().of(this.varOf(_this__u8e3s4), this.convertToTerm(termObject));
271
+ }
272
+ function substitutionGet(_this__u8e3s4, term) {
273
+ var t = this.convertToTerm(term);
274
+ var tmp;
275
+ if (isInterface(t, Var)) {
276
+ tmp = _this__u8e3s4.i2(t);
277
+ } else {
278
+ raiseErrorConvertingTo(term, getKClass(Var));
279
+ }
280
+ return tmp;
281
+ }
282
+ function substitutionContainsKey(_this__u8e3s4, term) {
283
+ var t = this.convertToTerm(term);
284
+ var tmp;
285
+ if (isInterface(t, Var)) {
286
+ tmp = _this__u8e3s4.g2(t);
287
+ } else {
288
+ raiseErrorConvertingTo(term, getKClass(Var));
289
+ }
290
+ return tmp;
291
+ }
292
+ function substitutionContains(_this__u8e3s4, term) {
293
+ return this.substitutionContainsKey(_this__u8e3s4, term);
294
+ }
295
+ function substitutionContainsValue(_this__u8e3s4, term) {
296
+ return _this__u8e3s4.h2(this.convertToTerm(term));
297
+ }
298
+ initMetadataForInterface(LogicProgrammingScopeWithSubstitutions, 'LogicProgrammingScopeWithSubstitutions', VOID, VOID, [BaseLogicProgrammingScope]);
107
299
  function at_end_of_stream1(alias) {
108
300
  return this.structOf('at_end_of_stream', [this.convertToTerm(alias)]);
109
301
  }
@@ -291,164 +483,6 @@
291
483
  return this.structOf('include', [this.convertToTerm(url)]);
292
484
  }
293
485
  initMetadataForInterface(LogicProgrammingScopeWithPrologStandardLibrary, 'LogicProgrammingScopeWithPrologStandardLibrary', VOID, VOID, [BaseLogicProgrammingScope]);
294
- function termPlus(_this__u8e3s4, other) {
295
- return this.structOf('+', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
296
- }
297
- function number(_this__u8e3s4, other) {
298
- return this.termPlus(this.convertToTerm(_this__u8e3s4), other);
299
- }
300
- function booleanPlus(_this__u8e3s4, other) {
301
- return this.termPlus(this.convertToTerm(_this__u8e3s4), other);
302
- }
303
- function charPlus(_this__u8e3s4, other) {
304
- return this.termPlus(this.convertToTerm(new Char(_this__u8e3s4)), other);
305
- }
306
- function termMinus(_this__u8e3s4, other) {
307
- return this.structOf('-', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
308
- }
309
- function numberMinus(_this__u8e3s4, other) {
310
- return this.termMinus(this.convertToTerm(_this__u8e3s4), other);
311
- }
312
- function booleanMinus(_this__u8e3s4, other) {
313
- return this.termMinus(this.convertToTerm(_this__u8e3s4), other);
314
- }
315
- function charMinus(_this__u8e3s4, other) {
316
- return this.termMinus(this.convertToTerm(new Char(_this__u8e3s4)), other);
317
- }
318
- function stringMinus(_this__u8e3s4, other) {
319
- return this.termMinus(this.convertToTerm(_this__u8e3s4), other);
320
- }
321
- function termTimes(_this__u8e3s4, other) {
322
- return this.structOf('*', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
323
- }
324
- function numberTimes(_this__u8e3s4, other) {
325
- return this.termTimes(this.convertToTerm(_this__u8e3s4), other);
326
- }
327
- function booleanTimes(_this__u8e3s4, other) {
328
- return this.termTimes(this.convertToTerm(_this__u8e3s4), other);
329
- }
330
- function charTimes(_this__u8e3s4, other) {
331
- return this.termTimes(this.convertToTerm(new Char(_this__u8e3s4)), other);
332
- }
333
- function stringTimes(_this__u8e3s4, other) {
334
- return this.termTimes(this.convertToTerm(_this__u8e3s4), other);
335
- }
336
- function termDiv(_this__u8e3s4, other) {
337
- return this.indicatorOf(this.convertToTerm(_this__u8e3s4), this.convertToTerm(other));
338
- }
339
- function numberDiv(_this__u8e3s4, other) {
340
- return this.termDiv(this.convertToTerm(_this__u8e3s4), other);
341
- }
342
- function booleanDiv(_this__u8e3s4, other) {
343
- return this.termDiv(this.convertToTerm(_this__u8e3s4), other);
344
- }
345
- function charDiv(_this__u8e3s4, other) {
346
- return this.termDiv(this.convertToTerm(new Char(_this__u8e3s4)), other);
347
- }
348
- function stringDiv(_this__u8e3s4, other) {
349
- return this.termDiv(this.convertToTerm(_this__u8e3s4), other);
350
- }
351
- function anyEqualsTo(_this__u8e3s4, other) {
352
- return this.structOf('=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
353
- }
354
- function anyNotEqualsTo(_this__u8e3s4, other) {
355
- return this.structOf('\\=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
356
- }
357
- function anyGreaterThan(_this__u8e3s4, other) {
358
- return this.structOf('>', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
359
- }
360
- function anyGreaterThanOrEqualsTo(_this__u8e3s4, other) {
361
- return this.structOf('>=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
362
- }
363
- function anyNonLowerThan(_this__u8e3s4, other) {
364
- return this.anyGreaterThanOrEqualsTo(_this__u8e3s4, other);
365
- }
366
- function anyLowerThan(_this__u8e3s4, other) {
367
- return this.structOf('<', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
368
- }
369
- function anyLowerThanOrEqualsTo(_this__u8e3s4, other) {
370
- return this.structOf('=<', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
371
- }
372
- function anyNonGreaterThan(_this__u8e3s4, other) {
373
- return this.anyLowerThanOrEqualsTo(_this__u8e3s4, other);
374
- }
375
- function anyIntDiv(_this__u8e3s4, other) {
376
- return this.structOf('//', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
377
- }
378
- function termRem(_this__u8e3s4, other) {
379
- return this.structOf('rem', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
380
- }
381
- function numberRem(_this__u8e3s4, other) {
382
- return this.termRem(this.convertToTerm(_this__u8e3s4), other);
383
- }
384
- function booleanRem(_this__u8e3s4, other) {
385
- return this.termRem(this.convertToTerm(_this__u8e3s4), other);
386
- }
387
- function charRem(_this__u8e3s4, other) {
388
- return this.termRem(this.convertToTerm(new Char(_this__u8e3s4)), other);
389
- }
390
- function stringRem(_this__u8e3s4, other) {
391
- return this.termRem(this.convertToTerm(_this__u8e3s4), other);
392
- }
393
- function anyAnd(_this__u8e3s4, other) {
394
- // Inline function 'kotlin.let' call
395
- var it = this.convertToTerm(_this__u8e3s4);
396
- var otherTerm = this.convertToTerm(other);
397
- var tmp;
398
- if (isInterface(it, Tuple)) {
399
- tmp = this.tupleOfIterable(plus(it.sw(), otherTerm));
400
- } else {
401
- tmp = this.tupleOf([this.convertToTerm(_this__u8e3s4), otherTerm]);
402
- }
403
- return tmp;
404
- }
405
- function anyOr(_this__u8e3s4, other) {
406
- return this.structOf(';', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
407
- }
408
- function anyPow(_this__u8e3s4, other) {
409
- return this.structOf('**', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
410
- }
411
- function anySup(_this__u8e3s4, other) {
412
- return this.structOf('^', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
413
- }
414
- function anyIs(_this__u8e3s4, other) {
415
- return this.structOf('is', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
416
- }
417
- function anyThen(_this__u8e3s4, other) {
418
- return this.structOf('->', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
419
- }
420
- function anyImpliedBy(_this__u8e3s4, other) {
421
- var t = this.convertToTerm(_this__u8e3s4);
422
- var tmp;
423
- if (isInterface(t, Struct)) {
424
- tmp = this.ruleOf(t, this.convertToTerm(other), []);
425
- } else {
426
- raiseErrorConvertingTo(_this__u8e3s4, getKClass(Struct));
427
- }
428
- return tmp;
429
- }
430
- function anyIf(_this__u8e3s4, other) {
431
- return this.anyImpliedBy(_this__u8e3s4, other);
432
- }
433
- function anyImpliedByVararg(_this__u8e3s4, other) {
434
- var tmp = Companion_instance_1;
435
- // Inline function 'kotlin.collections.map' call
436
- // Inline function 'kotlin.collections.mapTo' call
437
- var destination = ArrayList_init_$Create$(other.length);
438
- var inductionVariable = 0;
439
- var last = other.length;
440
- while (inductionVariable < last) {
441
- var item = other[inductionVariable];
442
- inductionVariable = inductionVariable + 1 | 0;
443
- var tmp$ret$0 = this.convertToTerm(item);
444
- destination.m(tmp$ret$0);
445
- }
446
- return this.anyImpliedBy(_this__u8e3s4, tmp.wrapIterableIfNeeded(destination));
447
- }
448
- function anyIfVararg(_this__u8e3s4, other) {
449
- return this.anyImpliedByVararg(_this__u8e3s4, other.slice());
450
- }
451
- initMetadataForInterface(LogicProgrammingScopeWithOperators, 'LogicProgrammingScopeWithOperators', VOID, VOID, [BaseLogicProgrammingScope]);
452
486
  function stringInvoke(_this__u8e3s4, term, terms) {
453
487
  var tmp = sequenceOf(arrayConcat([[term], terms]));
454
488
  return this.structOfSequence(_this__u8e3s4, map(tmp, MinimalLogicProgrammingScope$invoke$lambda(this)));
@@ -462,8 +496,8 @@
462
496
  while (inductionVariable < last) {
463
497
  var item = args[inductionVariable];
464
498
  inductionVariable = inductionVariable + 1 | 0;
465
- var tmp$ret$0 = this.convertToTerm(item);
466
- destination.m(tmp$ret$0);
499
+ var tmp$ret$2 = this.convertToTerm(item);
500
+ destination.k(tmp$ret$2);
467
501
  }
468
502
  // Inline function 'kotlin.collections.toTypedArray' call
469
503
  var tmp$ret$3 = copyToArray(destination);
@@ -478,8 +512,8 @@
478
512
  while (inductionVariable < last) {
479
513
  var item = terms[inductionVariable];
480
514
  inductionVariable = inductionVariable + 1 | 0;
481
- var tmp$ret$0 = this.convertToTerm(item);
482
- destination.m(tmp$ret$0);
515
+ var tmp$ret$2 = this.convertToTerm(item);
516
+ destination.k(tmp$ret$2);
483
517
  }
484
518
  // Inline function 'kotlin.collections.toTypedArray' call
485
519
  var tmp$ret$3 = copyToArray(destination);
@@ -494,8 +528,8 @@
494
528
  while (inductionVariable < last) {
495
529
  var item = terms[inductionVariable];
496
530
  inductionVariable = inductionVariable + 1 | 0;
497
- var tmp$ret$0 = this.convertToTerm(item);
498
- destination.m(tmp$ret$0);
531
+ var tmp$ret$2 = this.convertToTerm(item);
532
+ destination.k(tmp$ret$2);
499
533
  }
500
534
  // Inline function 'kotlin.collections.toTypedArray' call
501
535
  var tmp$ret$3 = copyToArray(destination);
@@ -510,8 +544,8 @@
510
544
  while (inductionVariable < last) {
511
545
  var item = terms[inductionVariable];
512
546
  inductionVariable = inductionVariable + 1 | 0;
513
- var tmp$ret$0 = this.convertToTerm(item);
514
- destination.m(tmp$ret$0);
547
+ var tmp$ret$2 = this.convertToTerm(item);
548
+ destination.k(tmp$ret$2);
515
549
  }
516
550
  // Inline function 'kotlin.collections.toTypedArray' call
517
551
  var tmp$ret$3 = copyToArray(destination);
@@ -534,8 +568,8 @@
534
568
  while (inductionVariable < last) {
535
569
  var item = terms[inductionVariable];
536
570
  inductionVariable = inductionVariable + 1 | 0;
537
- var tmp$ret$0 = this.convertToTerm(item);
538
- destination.m(tmp$ret$0);
571
+ var tmp$ret$2 = this.convertToTerm(item);
572
+ destination.k(tmp$ret$2);
539
573
  }
540
574
  // Inline function 'kotlin.collections.toTypedArray' call
541
575
  var tmp$ret$3 = copyToArray(destination);
@@ -549,16 +583,16 @@
549
583
  var this_0 = listOf(items.slice());
550
584
  // Inline function 'kotlin.collections.mapTo' call
551
585
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
552
- var _iterator__ex2g4s = this_0.p();
553
- while (_iterator__ex2g4s.s()) {
554
- var item = _iterator__ex2g4s.t();
555
- var tmp$ret$0 = this.convertToTerm(item);
556
- destination.m(tmp$ret$0);
586
+ var _iterator__ex2g4s = this_0.n();
587
+ while (_iterator__ex2g4s.q()) {
588
+ var item = _iterator__ex2g4s.r();
589
+ var tmp$ret$2 = this.convertToTerm(item);
590
+ destination.k(tmp$ret$2);
557
591
  }
558
592
  // Inline function 'kotlin.let' call
559
593
  var tmp;
560
594
  if (!(tail == null)) {
561
- tmp = this.w10(destination, this.convertToTerm(tail));
595
+ tmp = this.f11(destination, this.convertToTerm(tail));
562
596
  } else {
563
597
  tmp = this.logicListOfIterable(destination);
564
598
  }
@@ -566,7 +600,7 @@
566
600
  }
567
601
  function logicList_0(items, tail, $super) {
568
602
  tail = tail === VOID ? null : tail;
569
- return $super === VOID ? this.o2y(items, tail) : logicList(items, tail);
603
+ return $super === VOID ? this.d31(items, tail) : logicList(items, tail);
570
604
  }
571
605
  function rule(function_0) {
572
606
  var tmp = this.convertToTerm(function_0(this.newScope()));
@@ -583,40 +617,7 @@
583
617
  return this.convertToSpecificSubTypeOfTerm(tmp, tmp_0, MinimalLogicProgrammingScope$factOf$ref(this));
584
618
  }
585
619
  initMetadataForInterface(MinimalLogicProgrammingScope, 'MinimalLogicProgrammingScope', VOID, VOID, [BaseLogicProgrammingScope]);
586
- function varTo(_this__u8e3s4, termObject) {
587
- return Companion_getInstance_0().of(_this__u8e3s4, this.convertToTerm(termObject));
588
- }
589
- function stringTo(_this__u8e3s4, termObject) {
590
- return Companion_getInstance_0().of(this.varOf(_this__u8e3s4), this.convertToTerm(termObject));
591
- }
592
- function substitutionGet(_this__u8e3s4, term) {
593
- var t = this.convertToTerm(term);
594
- var tmp;
595
- if (isInterface(t, Var)) {
596
- tmp = _this__u8e3s4.h2(t);
597
- } else {
598
- raiseErrorConvertingTo(term, getKClass(Var));
599
- }
600
- return tmp;
601
- }
602
- function substitutionContainsKey(_this__u8e3s4, term) {
603
- var t = this.convertToTerm(term);
604
- var tmp;
605
- if (isInterface(t, Var)) {
606
- tmp = _this__u8e3s4.f2(t);
607
- } else {
608
- raiseErrorConvertingTo(term, getKClass(Var));
609
- }
610
- return tmp;
611
- }
612
- function substitutionContains(_this__u8e3s4, term) {
613
- return this.substitutionContainsKey(_this__u8e3s4, term);
614
- }
615
- function substitutionContainsValue(_this__u8e3s4, term) {
616
- return _this__u8e3s4.g2(this.convertToTerm(term));
617
- }
618
- initMetadataForInterface(LogicProgrammingScopeWithSubstitutions, 'LogicProgrammingScopeWithSubstitutions', VOID, VOID, [BaseLogicProgrammingScope]);
619
- initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithPrologStandardLibrary, LogicProgrammingScopeWithOperators, MinimalLogicProgrammingScope, LogicProgrammingScopeWithSubstitutions, BaseLogicProgrammingScope, Scope]);
620
+ initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithOperators, LogicProgrammingScopeWithSubstitutions, BaseLogicProgrammingScope, Scope, LogicProgrammingScopeWithPrologStandardLibrary, MinimalLogicProgrammingScope]);
620
621
  initMetadataForCompanion(Companion_0);
621
622
  initMetadataForClass(DefaultTermificator, 'DefaultTermificator', VOID, AbstractTermificator);
622
623
  //endregion
@@ -627,193 +628,100 @@
627
628
  }
628
629
  function AbstractTermificator$handleSequenceAsList$lambda(this$0) {
629
630
  return function (it) {
630
- return this$0.o2x(it);
631
+ return this$0.d30(it);
631
632
  };
632
633
  }
633
634
  function AbstractTermificator$handleCharAsString$ref(p0) {
634
- var l = function (_this__u8e3s4) {
635
- return p0.p2x(_this__u8e3s4.q1_1);
636
- };
637
- l.callableName = 'handleCharAsString';
638
- return l;
635
+ return constructCallableReference(function (p0_0) {
636
+ return p0.e30(p0_0.r1_1);
637
+ }, 1, 0, 91, 'handleCharAsString', [p0]);
639
638
  }
640
639
  function AbstractTermificator$handleBooleanAsTruth$ref(p0) {
641
- var l = function (_this__u8e3s4) {
642
- return p0.q2x(_this__u8e3s4);
643
- };
644
- l.callableName = 'handleBooleanAsTruth';
645
- return l;
640
+ return constructCallableReference(function (p0_0) {
641
+ return p0.f30(p0_0);
642
+ }, 1, 0, 92, 'handleBooleanAsTruth', [p0]);
646
643
  }
647
644
  function AbstractTermificator$handleStringAsAtomOrVariable$ref(p0) {
648
- var l = function (_this__u8e3s4) {
649
- return p0.r2x(_this__u8e3s4);
650
- };
651
- l.callableName = 'handleStringAsAtomOrVariable';
652
- return l;
645
+ return constructCallableReference(function (p0_0) {
646
+ return p0.g30(p0_0);
647
+ }, 1, 0, 93, 'handleStringAsAtomOrVariable', [p0]);
653
648
  }
654
649
  function AbstractTermificator$handleBigIntegerAsInteger$ref(p0) {
655
- var l = function (_this__u8e3s4) {
656
- return p0.s2x(_this__u8e3s4);
657
- };
658
- l.callableName = 'handleBigIntegerAsInteger';
659
- return l;
650
+ return constructCallableReference(function (p0_0) {
651
+ return p0.h30(p0_0);
652
+ }, 1, 0, 94, 'handleBigIntegerAsInteger', [p0]);
660
653
  }
661
654
  function AbstractTermificator$handleBigDecimalAsReal$ref(p0) {
662
- var l = function (_this__u8e3s4) {
663
- return p0.t2x(_this__u8e3s4);
664
- };
665
- l.callableName = 'handleBigDecimalAsReal';
666
- return l;
655
+ return constructCallableReference(function (p0_0) {
656
+ return p0.i30(p0_0);
657
+ }, 1, 0, 95, 'handleBigDecimalAsReal', [p0]);
667
658
  }
668
659
  function AbstractTermificator$handleNumberAsNumeric$ref(p0) {
669
- var l = function (_this__u8e3s4) {
670
- return p0.u2x(_this__u8e3s4);
671
- };
672
- l.callableName = 'handleNumberAsNumeric';
673
- return l;
660
+ return constructCallableReference(function (p0_0) {
661
+ return p0.j30(p0_0);
662
+ }, 1, 0, 96, 'handleNumberAsNumeric', [p0]);
674
663
  }
675
664
  function AbstractTermificator$handleArrayAsList$ref(p0) {
676
- var l = function (_this__u8e3s4) {
677
- return p0.v2x(_this__u8e3s4);
678
- };
679
- l.callableName = 'handleArrayAsList';
680
- return l;
665
+ return constructCallableReference(function (p0_0) {
666
+ return p0.k30(p0_0);
667
+ }, 1, 0, 97, 'handleArrayAsList', [p0]);
681
668
  }
682
669
  function AbstractTermificator$handleSequenceAsList$ref(p0) {
683
- var l = function (_this__u8e3s4) {
684
- return p0.w2x(_this__u8e3s4);
685
- };
686
- l.callableName = 'handleSequenceAsList';
687
- return l;
670
+ return constructCallableReference(function (p0_0) {
671
+ return p0.l30(p0_0);
672
+ }, 1, 0, 98, 'handleSequenceAsList', [p0]);
688
673
  }
689
674
  function AbstractTermificator$handleIterableAsList$ref(p0) {
690
- var l = function (_this__u8e3s4) {
691
- return p0.x2x(_this__u8e3s4);
692
- };
693
- l.callableName = 'handleIterableAsList';
694
- return l;
695
- }
696
- function AbstractTermificator$handleCharAsString$ref_0(p0) {
697
- var l = function (_this__u8e3s4) {
698
- return p0.p2x(_this__u8e3s4.q1_1);
699
- };
700
- l.callableName = 'handleCharAsString';
701
- return l;
702
- }
703
- function AbstractTermificator$handleBooleanAsTruth$ref_0(p0) {
704
- var l = function (_this__u8e3s4) {
705
- return p0.q2x(_this__u8e3s4);
706
- };
707
- l.callableName = 'handleBooleanAsTruth';
708
- return l;
709
- }
710
- function AbstractTermificator$handleStringAsAtomOrVariable$ref_0(p0) {
711
- var l = function (_this__u8e3s4) {
712
- return p0.r2x(_this__u8e3s4);
713
- };
714
- l.callableName = 'handleStringAsAtomOrVariable';
715
- return l;
716
- }
717
- function AbstractTermificator$handleBigIntegerAsInteger$ref_0(p0) {
718
- var l = function (_this__u8e3s4) {
719
- return p0.s2x(_this__u8e3s4);
720
- };
721
- l.callableName = 'handleBigIntegerAsInteger';
722
- return l;
723
- }
724
- function AbstractTermificator$handleBigDecimalAsReal$ref_0(p0) {
725
- var l = function (_this__u8e3s4) {
726
- return p0.t2x(_this__u8e3s4);
727
- };
728
- l.callableName = 'handleBigDecimalAsReal';
729
- return l;
730
- }
731
- function AbstractTermificator$handleNumberAsNumeric$ref_0(p0) {
732
- var l = function (_this__u8e3s4) {
733
- return p0.u2x(_this__u8e3s4);
734
- };
735
- l.callableName = 'handleNumberAsNumeric';
736
- return l;
737
- }
738
- function AbstractTermificator$handleArrayAsList$ref_0(p0) {
739
- var l = function (_this__u8e3s4) {
740
- return p0.v2x(_this__u8e3s4);
741
- };
742
- l.callableName = 'handleArrayAsList';
743
- return l;
744
- }
745
- function AbstractTermificator$handleSequenceAsList$ref_0(p0) {
746
- var l = function (_this__u8e3s4) {
747
- return p0.w2x(_this__u8e3s4);
748
- };
749
- l.callableName = 'handleSequenceAsList';
750
- return l;
675
+ return constructCallableReference(function (p0_0) {
676
+ return p0.m30(p0_0);
677
+ }, 1, 0, 99, 'handleIterableAsList', [p0]);
751
678
  }
752
679
  function AbstractTermificator$handleKotlinListAsLogicList$ref(p0) {
753
- var l = function (_this__u8e3s4) {
754
- return p0.y2x(_this__u8e3s4);
755
- };
756
- l.callableName = 'handleKotlinListAsLogicList';
757
- return l;
680
+ return constructCallableReference(function (p0_0) {
681
+ return p0.n30(p0_0);
682
+ }, 1, 0, 100, 'handleKotlinListAsLogicList', [p0]);
758
683
  }
759
684
  function AbstractTermificator$handleSetAsBlock$ref(p0) {
760
- var l = function (_this__u8e3s4) {
761
- return p0.z2x(_this__u8e3s4);
762
- };
763
- l.callableName = 'handleSetAsBlock';
764
- return l;
685
+ return constructCallableReference(function (p0_0) {
686
+ return p0.o30(p0_0);
687
+ }, 1, 0, 101, 'handleSetAsBlock', [p0]);
765
688
  }
766
689
  function AbstractTermificator$handlePairAsTuple$ref(p0) {
767
- var l = function (_this__u8e3s4) {
768
- return p0.a2y(_this__u8e3s4);
769
- };
770
- l.callableName = 'handlePairAsTuple';
771
- return l;
690
+ return constructCallableReference(function (p0_0) {
691
+ return p0.p30(p0_0);
692
+ }, 1, 0, 102, 'handlePairAsTuple', [p0]);
772
693
  }
773
694
  function AbstractTermificator$handleTripletAsTuple$ref(p0) {
774
- var l = function (_this__u8e3s4) {
775
- return p0.b2y(_this__u8e3s4);
776
- };
777
- l.callableName = 'handleTripletAsTuple';
778
- return l;
695
+ return constructCallableReference(function (p0_0) {
696
+ return p0.q30(p0_0);
697
+ }, 1, 0, 103, 'handleTripletAsTuple', [p0]);
779
698
  }
780
699
  function AbstractTermificator$handleKeyValuePairAsStruct$ref(p0) {
781
- var l = function (_this__u8e3s4) {
782
- return p0.c2y(_this__u8e3s4);
783
- };
784
- l.callableName = 'handleKeyValuePairAsStruct';
785
- return l;
700
+ return constructCallableReference(function (p0_0) {
701
+ return p0.r30(p0_0);
702
+ }, 1, 0, 104, 'handleKeyValuePairAsStruct', [p0]);
786
703
  }
787
704
  function AbstractTermificator$handleMapAsBlock$ref(p0) {
788
- var l = function (_this__u8e3s4) {
789
- return p0.d2y(_this__u8e3s4);
790
- };
791
- l.callableName = 'handleMapAsBlock';
792
- return l;
793
- }
794
- function AbstractTermificator$handleIterableAsList$ref_0(p0) {
795
- var l = function (_this__u8e3s4) {
796
- return p0.x2x(_this__u8e3s4);
797
- };
798
- l.callableName = 'handleIterableAsList';
799
- return l;
705
+ return constructCallableReference(function (p0_0) {
706
+ return p0.s30(p0_0);
707
+ }, 1, 0, 105, 'handleMapAsBlock', [p0]);
800
708
  }
801
709
  function AbstractTermificator(scope) {
802
- this.m2x_1 = scope;
710
+ this.b30_1 = scope;
803
711
  var tmp = this;
804
712
  // Inline function 'kotlin.collections.linkedMapOf' call
805
- tmp.n2x_1 = LinkedHashMap_init_$Create$();
713
+ tmp.c30_1 = LinkedHashMap_init_$Create$();
806
714
  }
807
- protoOf(AbstractTermificator).x1g = function () {
808
- return this.m2x_1;
715
+ protoOf(AbstractTermificator).a1i = function () {
716
+ return this.b30_1;
809
717
  };
810
- protoOf(AbstractTermificator).e2y = function (type, conversion) {
811
- var tmp0 = this.n2x_1;
718
+ protoOf(AbstractTermificator).t30 = function (type, conversion) {
719
+ var tmp0 = this.c30_1;
812
720
  // Inline function 'kotlin.collections.set' call
813
721
  var value = AbstractTermificator$handleType$lambda(conversion);
814
- tmp0.k4(type, value);
722
+ tmp0.l4(type, value);
815
723
  };
816
- protoOf(AbstractTermificator).o2x = function (value) {
724
+ protoOf(AbstractTermificator).d30 = function (value) {
817
725
  $l$block: {
818
726
  // Inline function 'kotlin.requireNotNull' call
819
727
  if (value == null) {
@@ -830,190 +738,190 @@
830
738
  return value.toTerm();
831
739
  }
832
740
  var type = getKClassFromExpression(value);
833
- var exactConverter = this.n2x_1.h2(type);
741
+ var exactConverter = this.c30_1.i2(type);
834
742
  if (!(exactConverter == null)) {
835
743
  return exactConverter(value);
836
744
  }
837
745
  // Inline function 'kotlin.collections.iterator' call
838
- var _iterator__ex2g4s = this.n2x_1.f1().p();
839
- while (_iterator__ex2g4s.s()) {
840
- var _destruct__k2r9zo = _iterator__ex2g4s.t();
746
+ var _iterator__ex2g4s = this.c30_1.d1().n();
747
+ while (_iterator__ex2g4s.q()) {
748
+ var _destruct__k2r9zo = _iterator__ex2g4s.r();
841
749
  // Inline function 'kotlin.collections.component1' call
842
- var superType = _destruct__k2r9zo.d2();
750
+ var superType = _destruct__k2r9zo.e2();
843
751
  // Inline function 'kotlin.collections.component2' call
844
- var converter = _destruct__k2r9zo.e2();
845
- if (superType.c9(value)) {
752
+ var converter = _destruct__k2r9zo.f2();
753
+ if (superType.f9(value)) {
846
754
  return converter(value);
847
755
  }
848
756
  }
849
757
  raiseErrorConvertingTo(value, getKClass(Term));
850
758
  };
851
759
  protoOf(AbstractTermificator).toTerm = function (value) {
852
- return this.o2x(value);
760
+ return this.d30(value);
853
761
  };
854
- protoOf(AbstractTermificator).q2x = function (value) {
855
- return this.x1g().truthOf(value);
762
+ protoOf(AbstractTermificator).f30 = function (value) {
763
+ return this.a1i().truthOf(value);
856
764
  };
857
- protoOf(AbstractTermificator).p2x = function (value) {
858
- return this.o2x(toString_0(value));
765
+ protoOf(AbstractTermificator).e30 = function (value) {
766
+ return this.d30(toString_0(value));
859
767
  };
860
- protoOf(AbstractTermificator).r2x = function (value) {
768
+ protoOf(AbstractTermificator).g30 = function (value) {
861
769
  var tmp;
862
770
  // Inline function 'kotlin.text.matches' call
863
- if (Companion_getInstance().p13_1.ua(value)) {
864
- tmp = this.x1g().varOf(value);
771
+ if (Companion_getInstance().l14_1.ab(value)) {
772
+ tmp = this.a1i().varOf(value);
865
773
  } else {
866
- tmp = this.x1g().atomOf(value);
774
+ tmp = this.a1i().atomOf(value);
867
775
  }
868
776
  return tmp;
869
777
  };
870
- protoOf(AbstractTermificator).s2x = function (value) {
871
- return this.x1g().intOfBigInteger(value);
778
+ protoOf(AbstractTermificator).h30 = function (value) {
779
+ return this.a1i().intOfBigInteger(value);
872
780
  };
873
- protoOf(AbstractTermificator).t2x = function (value) {
874
- return this.x1g().realOfBigDecimal(value);
781
+ protoOf(AbstractTermificator).i30 = function (value) {
782
+ return this.a1i().realOfBigDecimal(value);
875
783
  };
876
- protoOf(AbstractTermificator).v2x = function (value) {
877
- var tmp = this.x1g();
784
+ protoOf(AbstractTermificator).k30 = function (value) {
785
+ var tmp = this.a1i();
878
786
  // Inline function 'kotlin.collections.map' call
879
787
  var this_0 = assertItemsAreNotNull(asIterable(value));
880
788
  // Inline function 'kotlin.collections.mapTo' call
881
789
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
882
- var _iterator__ex2g4s = this_0.p();
883
- while (_iterator__ex2g4s.s()) {
884
- var item = _iterator__ex2g4s.t();
885
- var tmp$ret$0 = this.o2x(item);
886
- destination.m(tmp$ret$0);
790
+ var _iterator__ex2g4s = this_0.n();
791
+ while (_iterator__ex2g4s.q()) {
792
+ var item = _iterator__ex2g4s.r();
793
+ var tmp$ret$2 = this.d30(item);
794
+ destination.k(tmp$ret$2);
887
795
  }
888
796
  return tmp.logicListOfIterable(destination);
889
797
  };
890
- protoOf(AbstractTermificator).w2x = function (value) {
891
- var tmp = this.x1g();
798
+ protoOf(AbstractTermificator).l30 = function (value) {
799
+ var tmp = this.a1i();
892
800
  var tmp_0 = assertItemsAreNotNull_0(value);
893
801
  return tmp.logicListOfSequence(map(tmp_0, AbstractTermificator$handleSequenceAsList$lambda(this)));
894
802
  };
895
- protoOf(AbstractTermificator).x2x = function (value) {
896
- var tmp = this.x1g();
803
+ protoOf(AbstractTermificator).m30 = function (value) {
804
+ var tmp = this.a1i();
897
805
  // Inline function 'kotlin.collections.map' call
898
806
  var this_0 = assertItemsAreNotNull(value);
899
807
  // Inline function 'kotlin.collections.mapTo' call
900
808
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
901
- var _iterator__ex2g4s = this_0.p();
902
- while (_iterator__ex2g4s.s()) {
903
- var item = _iterator__ex2g4s.t();
904
- var tmp$ret$0 = this.o2x(item);
905
- destination.m(tmp$ret$0);
809
+ var _iterator__ex2g4s = this_0.n();
810
+ while (_iterator__ex2g4s.q()) {
811
+ var item = _iterator__ex2g4s.r();
812
+ var tmp$ret$2 = this.d30(item);
813
+ destination.k(tmp$ret$2);
906
814
  }
907
815
  return tmp.logicListOfIterable(destination);
908
816
  };
909
- protoOf(AbstractTermificator).y2x = function (value) {
910
- var tmp = this.x1g();
817
+ protoOf(AbstractTermificator).n30 = function (value) {
818
+ var tmp = this.a1i();
911
819
  // Inline function 'kotlin.collections.map' call
912
820
  var this_0 = assertItemsAreNotNull_1(value);
913
821
  // Inline function 'kotlin.collections.mapTo' call
914
822
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
915
- var _iterator__ex2g4s = this_0.p();
916
- while (_iterator__ex2g4s.s()) {
917
- var item = _iterator__ex2g4s.t();
918
- var tmp$ret$0 = this.o2x(item);
919
- destination.m(tmp$ret$0);
823
+ var _iterator__ex2g4s = this_0.n();
824
+ while (_iterator__ex2g4s.q()) {
825
+ var item = _iterator__ex2g4s.r();
826
+ var tmp$ret$2 = this.d30(item);
827
+ destination.k(tmp$ret$2);
920
828
  }
921
829
  return tmp.logicListOfIterable(destination);
922
830
  };
923
- protoOf(AbstractTermificator).z2x = function (value) {
924
- var tmp = this.x1g();
831
+ protoOf(AbstractTermificator).o30 = function (value) {
832
+ var tmp = this.a1i();
925
833
  // Inline function 'kotlin.collections.map' call
926
834
  var this_0 = assertItemsAreNotNull(value);
927
835
  // Inline function 'kotlin.collections.mapTo' call
928
836
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
929
- var _iterator__ex2g4s = this_0.p();
930
- while (_iterator__ex2g4s.s()) {
931
- var item = _iterator__ex2g4s.t();
932
- var tmp$ret$0 = this.o2x(item);
933
- destination.m(tmp$ret$0);
837
+ var _iterator__ex2g4s = this_0.n();
838
+ while (_iterator__ex2g4s.q()) {
839
+ var item = _iterator__ex2g4s.r();
840
+ var tmp$ret$2 = this.d30(item);
841
+ destination.k(tmp$ret$2);
934
842
  }
935
843
  return tmp.blockOfIterable(destination);
936
844
  };
937
- protoOf(AbstractTermificator).a2y = function (value) {
938
- return this.x1g().tupleOf([this.o2x(value.first), this.o2x(value.second)]);
845
+ protoOf(AbstractTermificator).p30 = function (value) {
846
+ return this.a1i().tupleOf([this.d30(value.first), this.d30(value.second)]);
939
847
  };
940
- protoOf(AbstractTermificator).b2y = function (value) {
941
- return this.x1g().tupleOf([this.o2x(value.ji_1), this.o2x(value.ki_1), this.o2x(value.li_1)]);
848
+ protoOf(AbstractTermificator).q30 = function (value) {
849
+ return this.a1i().tupleOf([this.d30(value.si_1), this.d30(value.ti_1), this.d30(value.ui_1)]);
942
850
  };
943
- protoOf(AbstractTermificator).c2y = function (value) {
944
- return this.x1g().structOf(':', [this.o2x(value.d2()), this.o2x(value.e2())]);
851
+ protoOf(AbstractTermificator).r30 = function (value) {
852
+ return this.a1i().structOf(':', [this.d30(value.e2()), this.d30(value.f2())]);
945
853
  };
946
- protoOf(AbstractTermificator).d2y = function (value) {
947
- var tmp = this.x1g();
854
+ protoOf(AbstractTermificator).s30 = function (value) {
855
+ var tmp = this.a1i();
948
856
  // Inline function 'kotlin.collections.map' call
949
- var this_0 = assertItemsAreNotNull(value.f1());
857
+ var this_0 = assertItemsAreNotNull(value.d1());
950
858
  // Inline function 'kotlin.collections.mapTo' call
951
859
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
952
- var _iterator__ex2g4s = this_0.p();
953
- while (_iterator__ex2g4s.s()) {
954
- var item = _iterator__ex2g4s.t();
955
- var tmp$ret$0 = this.c2y(item);
956
- destination.m(tmp$ret$0);
860
+ var _iterator__ex2g4s = this_0.n();
861
+ while (_iterator__ex2g4s.q()) {
862
+ var item = _iterator__ex2g4s.r();
863
+ var tmp$ret$2 = this.r30(item);
864
+ destination.k(tmp$ret$2);
957
865
  }
958
866
  return tmp.blockOfIterable(destination);
959
867
  };
960
- protoOf(AbstractTermificator).f2y = function () {
868
+ protoOf(AbstractTermificator).u30 = function () {
961
869
  var tmp = getKClass(Char);
962
- this.e2y(tmp, AbstractTermificator$handleCharAsString$ref(this));
963
- var tmp_0 = PrimitiveClasses_getInstance().n9();
964
- this.e2y(tmp_0, AbstractTermificator$handleBooleanAsTruth$ref(this));
965
- var tmp_1 = PrimitiveClasses_getInstance().v9();
966
- this.e2y(tmp_1, AbstractTermificator$handleStringAsAtomOrVariable$ref(this));
870
+ this.t30(tmp, AbstractTermificator$handleCharAsString$ref(this));
871
+ var tmp_0 = PrimitiveClasses_getInstance().q9();
872
+ this.t30(tmp_0, AbstractTermificator$handleBooleanAsTruth$ref(this));
873
+ var tmp_1 = PrimitiveClasses_getInstance().y9();
874
+ this.t30(tmp_1, AbstractTermificator$handleStringAsAtomOrVariable$ref(this));
967
875
  var tmp_2 = getKClass(BigInteger);
968
- this.e2y(tmp_2, AbstractTermificator$handleBigIntegerAsInteger$ref(this));
876
+ this.t30(tmp_2, AbstractTermificator$handleBigIntegerAsInteger$ref(this));
969
877
  var tmp_3 = getKClass(BigDecimal);
970
- this.e2y(tmp_3, AbstractTermificator$handleBigDecimalAsReal$ref(this));
971
- var tmp_4 = PrimitiveClasses_getInstance().l9();
972
- this.e2y(tmp_4, AbstractTermificator$handleNumberAsNumeric$ref(this));
973
- var tmp_5 = PrimitiveClasses_getInstance().u9();
974
- this.e2y(tmp_5, AbstractTermificator$handleArrayAsList$ref(this));
878
+ this.t30(tmp_3, AbstractTermificator$handleBigDecimalAsReal$ref(this));
879
+ var tmp_4 = PrimitiveClasses_getInstance().o9();
880
+ this.t30(tmp_4, AbstractTermificator$handleNumberAsNumeric$ref(this));
881
+ var tmp_5 = PrimitiveClasses_getInstance().x9();
882
+ this.t30(tmp_5, AbstractTermificator$handleArrayAsList$ref(this));
975
883
  var tmp_6 = getKClass(Sequence);
976
- this.e2y(tmp_6, AbstractTermificator$handleSequenceAsList$ref(this));
884
+ this.t30(tmp_6, AbstractTermificator$handleSequenceAsList$ref(this));
977
885
  var tmp_7 = getKClass(Iterable);
978
- this.e2y(tmp_7, AbstractTermificator$handleIterableAsList$ref(this));
886
+ this.t30(tmp_7, AbstractTermificator$handleIterableAsList$ref(this));
979
887
  };
980
- protoOf(AbstractTermificator).g2y = function () {
888
+ protoOf(AbstractTermificator).v30 = function () {
981
889
  var tmp = getKClass(Char);
982
- this.e2y(tmp, AbstractTermificator$handleCharAsString$ref_0(this));
983
- var tmp_0 = PrimitiveClasses_getInstance().n9();
984
- this.e2y(tmp_0, AbstractTermificator$handleBooleanAsTruth$ref_0(this));
985
- var tmp_1 = PrimitiveClasses_getInstance().v9();
986
- this.e2y(tmp_1, AbstractTermificator$handleStringAsAtomOrVariable$ref_0(this));
890
+ this.t30(tmp, AbstractTermificator$handleCharAsString$ref(this));
891
+ var tmp_0 = PrimitiveClasses_getInstance().q9();
892
+ this.t30(tmp_0, AbstractTermificator$handleBooleanAsTruth$ref(this));
893
+ var tmp_1 = PrimitiveClasses_getInstance().y9();
894
+ this.t30(tmp_1, AbstractTermificator$handleStringAsAtomOrVariable$ref(this));
987
895
  var tmp_2 = getKClass(BigInteger);
988
- this.e2y(tmp_2, AbstractTermificator$handleBigIntegerAsInteger$ref_0(this));
896
+ this.t30(tmp_2, AbstractTermificator$handleBigIntegerAsInteger$ref(this));
989
897
  var tmp_3 = getKClass(BigDecimal);
990
- this.e2y(tmp_3, AbstractTermificator$handleBigDecimalAsReal$ref_0(this));
991
- var tmp_4 = PrimitiveClasses_getInstance().l9();
992
- this.e2y(tmp_4, AbstractTermificator$handleNumberAsNumeric$ref_0(this));
993
- var tmp_5 = PrimitiveClasses_getInstance().u9();
994
- this.e2y(tmp_5, AbstractTermificator$handleArrayAsList$ref_0(this));
898
+ this.t30(tmp_3, AbstractTermificator$handleBigDecimalAsReal$ref(this));
899
+ var tmp_4 = PrimitiveClasses_getInstance().o9();
900
+ this.t30(tmp_4, AbstractTermificator$handleNumberAsNumeric$ref(this));
901
+ var tmp_5 = PrimitiveClasses_getInstance().x9();
902
+ this.t30(tmp_5, AbstractTermificator$handleArrayAsList$ref(this));
995
903
  var tmp_6 = getKClass(Sequence);
996
- this.e2y(tmp_6, AbstractTermificator$handleSequenceAsList$ref_0(this));
904
+ this.t30(tmp_6, AbstractTermificator$handleSequenceAsList$ref(this));
997
905
  var tmp_7 = getKClass(KtList);
998
- this.e2y(tmp_7, AbstractTermificator$handleKotlinListAsLogicList$ref(this));
906
+ this.t30(tmp_7, AbstractTermificator$handleKotlinListAsLogicList$ref(this));
999
907
  var tmp_8 = getKClass(KtSet);
1000
- this.e2y(tmp_8, AbstractTermificator$handleSetAsBlock$ref(this));
908
+ this.t30(tmp_8, AbstractTermificator$handleSetAsBlock$ref(this));
1001
909
  var tmp_9 = getKClass(Pair);
1002
- this.e2y(tmp_9, AbstractTermificator$handlePairAsTuple$ref(this));
910
+ this.t30(tmp_9, AbstractTermificator$handlePairAsTuple$ref(this));
1003
911
  var tmp_10 = getKClass(Triple);
1004
- this.e2y(tmp_10, AbstractTermificator$handleTripletAsTuple$ref(this));
912
+ this.t30(tmp_10, AbstractTermificator$handleTripletAsTuple$ref(this));
1005
913
  var tmp_11 = getKClass(Entry);
1006
- this.e2y(tmp_11, AbstractTermificator$handleKeyValuePairAsStruct$ref(this));
914
+ this.t30(tmp_11, AbstractTermificator$handleKeyValuePairAsStruct$ref(this));
1007
915
  var tmp_12 = getKClass(KtMap);
1008
- this.e2y(tmp_12, AbstractTermificator$handleMapAsBlock$ref(this));
916
+ this.t30(tmp_12, AbstractTermificator$handleMapAsBlock$ref(this));
1009
917
  var tmp_13 = getKClass(Iterable);
1010
- this.e2y(tmp_13, AbstractTermificator$handleIterableAsList$ref_0(this));
918
+ this.t30(tmp_13, AbstractTermificator$handleIterableAsList$ref(this));
1011
919
  };
1012
- protoOf(AbstractTermificator).h2y = function (novel) {
920
+ protoOf(AbstractTermificator).w30 = function (novel) {
1013
921
  if (novel) {
1014
- this.g2y();
922
+ this.v30();
1015
923
  } else {
1016
- this.f2y();
924
+ this.u30();
1017
925
  }
1018
926
  };
1019
927
  function BaseLogicProgrammingScope() {
@@ -1029,244 +937,244 @@
1029
937
  protoOf(Companion).empty = function () {
1030
938
  return this.of();
1031
939
  };
1032
- protoOf(Companion).j2y = function (scope, termificator, variablesProvider) {
1033
- return new LogicProgrammingScopeImpl(scope, termificator.x1g() === scope ? termificator : termificator.y1g(scope), variablesProvider.x1g() === scope ? variablesProvider : variablesProvider.y1g(scope));
940
+ protoOf(Companion).y30 = function (scope, termificator, variablesProvider) {
941
+ return new LogicProgrammingScopeImpl(scope, termificator.a1i() === scope ? termificator : termificator.b1i(scope), variablesProvider.a1i() === scope ? variablesProvider : variablesProvider.b1i(scope));
1034
942
  };
1035
943
  protoOf(Companion).of = function (scope, termificator, variablesProvider, $super) {
1036
944
  scope = scope === VOID ? Companion_instance.empty() : scope;
1037
945
  termificator = termificator === VOID ? Companion_instance_3.default(scope) : termificator;
1038
- variablesProvider = variablesProvider === VOID ? Companion_instance_0.u13(scope) : variablesProvider;
1039
- return $super === VOID ? this.j2y(scope, termificator, variablesProvider) : $super.j2y.call(this, scope, termificator, variablesProvider);
946
+ variablesProvider = variablesProvider === VOID ? Companion_instance_0.q14(scope) : variablesProvider;
947
+ return $super === VOID ? this.y30(scope, termificator, variablesProvider) : $super.y30.call(this, scope, termificator, variablesProvider);
1040
948
  };
1041
949
  var Companion_instance_2;
1042
950
  function Companion_getInstance_1() {
1043
951
  return Companion_instance_2;
1044
952
  }
1045
953
  function LogicProgrammingScopeImpl(scope, termificator, variablesProvider) {
1046
- this.k2y_1 = scope;
1047
- this.l2y_1 = termificator;
1048
- this.m2y_1 = variablesProvider;
954
+ this.z30_1 = scope;
955
+ this.a31_1 = termificator;
956
+ this.b31_1 = variablesProvider;
1049
957
  // Inline function 'kotlin.require' call
1050
- if (!(this.k2y_1 === this.m2y_1.x1g() && this.k2y_1 === this.l2y_1.x1g())) {
958
+ if (!(this.z30_1 === this.b31_1.a1i() && this.z30_1 === this.a31_1.a1i())) {
1051
959
  var message = 'The provided Scope should be the same object for both Termificator and VariablesProvider';
1052
960
  throw IllegalArgumentException_init_$Create$(toString(message));
1053
961
  }
1054
962
  }
1055
- protoOf(LogicProgrammingScopeImpl).x1g = function () {
1056
- return this.k2y_1;
963
+ protoOf(LogicProgrammingScopeImpl).a1i = function () {
964
+ return this.z30_1;
1057
965
  };
1058
- protoOf(LogicProgrammingScopeImpl).i2y = function () {
1059
- return this.l2y_1;
966
+ protoOf(LogicProgrammingScopeImpl).x30 = function () {
967
+ return this.a31_1;
1060
968
  };
1061
- protoOf(LogicProgrammingScopeImpl).y1g = function (scope) {
1062
- return new LogicProgrammingScopeImpl(scope, this.l2y_1.y1g(scope), this.m2y_1.y1g(scope));
969
+ protoOf(LogicProgrammingScopeImpl).b1i = function (scope) {
970
+ return new LogicProgrammingScopeImpl(scope, this.a31_1.b1i(scope), this.b31_1.b1i(scope));
1063
971
  };
1064
- protoOf(LogicProgrammingScopeImpl).n2y = function () {
1065
- return this.y1g(Companion_instance.empty());
972
+ protoOf(LogicProgrammingScopeImpl).c31 = function () {
973
+ return this.b1i(Companion_instance.empty());
1066
974
  };
1067
975
  protoOf(LogicProgrammingScopeImpl).newScope = function () {
1068
- return this.n2y();
976
+ return this.c31();
1069
977
  };
1070
978
  protoOf(LogicProgrammingScopeImpl).structOf = function (functor, args) {
1071
- return this.m2y_1.structOf(functor, args);
979
+ return this.b31_1.structOf(functor, args);
1072
980
  };
1073
981
  protoOf(LogicProgrammingScopeImpl).structOfSequence = function (functor, args) {
1074
- return this.m2y_1.structOfSequence(functor, args);
982
+ return this.b31_1.structOfSequence(functor, args);
1075
983
  };
1076
984
  protoOf(LogicProgrammingScopeImpl).structOfIterable = function (functor, args) {
1077
- return this.m2y_1.structOfIterable(functor, args);
985
+ return this.b31_1.structOfIterable(functor, args);
1078
986
  };
1079
987
  protoOf(LogicProgrammingScopeImpl).structOfList = function (functor, args) {
1080
- return this.m2y_1.structOfList(functor, args);
988
+ return this.b31_1.structOfList(functor, args);
1081
989
  };
1082
990
  protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
1083
- return this.m2y_1.tupleOf(terms);
991
+ return this.b31_1.tupleOf(terms);
1084
992
  };
1085
993
  protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
1086
- return this.m2y_1.tupleOfIterable(terms);
994
+ return this.b31_1.tupleOfIterable(terms);
1087
995
  };
1088
996
  protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
1089
- return this.m2y_1.tupleOfSequence(terms);
997
+ return this.b31_1.tupleOfSequence(terms);
1090
998
  };
1091
999
  protoOf(LogicProgrammingScopeImpl).logicListOf = function (terms) {
1092
- return this.m2y_1.logicListOf(terms);
1000
+ return this.b31_1.logicListOf(terms);
1093
1001
  };
1094
1002
  protoOf(LogicProgrammingScopeImpl).logicListOfIterable = function (terms) {
1095
- return this.m2y_1.logicListOfIterable(terms);
1003
+ return this.b31_1.logicListOfIterable(terms);
1096
1004
  };
1097
1005
  protoOf(LogicProgrammingScopeImpl).logicListOfSequence = function (terms) {
1098
- return this.m2y_1.logicListOfSequence(terms);
1006
+ return this.b31_1.logicListOfSequence(terms);
1099
1007
  };
1100
1008
  protoOf(LogicProgrammingScopeImpl).blockOf = function (terms) {
1101
- return this.m2y_1.blockOf(terms);
1009
+ return this.b31_1.blockOf(terms);
1102
1010
  };
1103
1011
  protoOf(LogicProgrammingScopeImpl).blockOfIterable = function (terms) {
1104
- return this.m2y_1.blockOfIterable(terms);
1012
+ return this.b31_1.blockOfIterable(terms);
1105
1013
  };
1106
1014
  protoOf(LogicProgrammingScopeImpl).blockOfSequence = function (terms) {
1107
- return this.m2y_1.blockOfSequence(terms);
1015
+ return this.b31_1.blockOfSequence(terms);
1108
1016
  };
1109
1017
  protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
1110
- return this.m2y_1.factOf(head);
1018
+ return this.b31_1.factOf(head);
1111
1019
  };
1112
1020
  protoOf(LogicProgrammingScopeImpl).consOf = function (head, tail) {
1113
- return this.m2y_1.consOf(head, tail);
1021
+ return this.b31_1.consOf(head, tail);
1114
1022
  };
1115
1023
  protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
1116
- return this.m2y_1.directiveOf(body1, body);
1024
+ return this.b31_1.directiveOf(body1, body);
1117
1025
  };
1118
1026
  protoOf(LogicProgrammingScopeImpl).containsVar = function (variable) {
1119
- return this.m2y_1.containsVar(variable);
1027
+ return this.b31_1.containsVar(variable);
1120
1028
  };
1121
1029
  protoOf(LogicProgrammingScopeImpl).contains = function (variable) {
1122
- return this.m2y_1.contains(variable);
1030
+ return this.b31_1.contains(variable);
1123
1031
  };
1124
1032
  protoOf(LogicProgrammingScopeImpl).get = function (variable) {
1125
- return this.m2y_1.get(variable);
1033
+ return this.b31_1.get(variable);
1126
1034
  };
1127
1035
  protoOf(LogicProgrammingScopeImpl).where = function (lambda) {
1128
- return this.m2y_1.where(lambda);
1036
+ return this.b31_1.where(lambda);
1129
1037
  };
1130
1038
  protoOf(LogicProgrammingScopeImpl).with = function (lambda) {
1131
- return this.m2y_1.with(lambda);
1039
+ return this.b31_1.with(lambda);
1132
1040
  };
1133
1041
  protoOf(LogicProgrammingScopeImpl).varOf = function (name) {
1134
- return this.m2y_1.varOf(name);
1042
+ return this.b31_1.varOf(name);
1135
1043
  };
1136
1044
  protoOf(LogicProgrammingScopeImpl).varOfChar = function (name) {
1137
- return this.m2y_1.varOfChar(name);
1045
+ return this.b31_1.varOfChar(name);
1138
1046
  };
1139
1047
  protoOf(LogicProgrammingScopeImpl).atomOf = function (value) {
1140
- return this.m2y_1.atomOf(value);
1048
+ return this.b31_1.atomOf(value);
1141
1049
  };
1142
1050
  protoOf(LogicProgrammingScopeImpl).atomOfChar = function (value) {
1143
- return this.m2y_1.atomOfChar(value);
1051
+ return this.b31_1.atomOfChar(value);
1144
1052
  };
1145
- protoOf(LogicProgrammingScopeImpl).v10 = function (terms, last) {
1146
- return this.m2y_1.v10(terms, last);
1053
+ protoOf(LogicProgrammingScopeImpl).e11 = function (terms, last) {
1054
+ return this.b31_1.e11(terms, last);
1147
1055
  };
1148
- protoOf(LogicProgrammingScopeImpl).w10 = function (terms, last) {
1149
- return this.m2y_1.w10(terms, last);
1056
+ protoOf(LogicProgrammingScopeImpl).f11 = function (terms, last) {
1057
+ return this.b31_1.f11(terms, last);
1150
1058
  };
1151
- protoOf(LogicProgrammingScopeImpl).x10 = function (terms, last) {
1152
- return this.m2y_1.x10(terms, last);
1059
+ protoOf(LogicProgrammingScopeImpl).g11 = function (terms, last) {
1060
+ return this.b31_1.g11(terms, last);
1153
1061
  };
1154
1062
  protoOf(LogicProgrammingScopeImpl).ruleOf = function (head, body1, body) {
1155
- return this.m2y_1.ruleOf(head, body1, body);
1063
+ return this.b31_1.ruleOf(head, body1, body);
1156
1064
  };
1157
1065
  protoOf(LogicProgrammingScopeImpl).clauseOf = function (head, body) {
1158
- return this.m2y_1.clauseOf(head, body);
1066
+ return this.b31_1.clauseOf(head, body);
1159
1067
  };
1160
1068
  protoOf(LogicProgrammingScopeImpl).indicatorOf = function (name, arity) {
1161
- return this.m2y_1.indicatorOf(name, arity);
1069
+ return this.b31_1.indicatorOf(name, arity);
1162
1070
  };
1163
1071
  protoOf(LogicProgrammingScopeImpl).indicatorOfStringInt = function (name, arity) {
1164
- return this.m2y_1.indicatorOfStringInt(name, arity);
1072
+ return this.b31_1.indicatorOfStringInt(name, arity);
1165
1073
  };
1166
1074
  protoOf(LogicProgrammingScopeImpl).anonymous = function () {
1167
- return this.m2y_1.anonymous();
1075
+ return this.b31_1.anonymous();
1168
1076
  };
1169
1077
  protoOf(LogicProgrammingScopeImpl).whatever = function () {
1170
- return this.m2y_1.whatever();
1078
+ return this.b31_1.whatever();
1171
1079
  };
1172
1080
  protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
1173
- return this.m2y_1.numOfBigDecimal(value);
1081
+ return this.b31_1.numOfBigDecimal(value);
1174
1082
  };
1175
1083
  protoOf(LogicProgrammingScopeImpl).numOfDouble = function (value) {
1176
- return this.m2y_1.numOfDouble(value);
1084
+ return this.b31_1.numOfDouble(value);
1177
1085
  };
1178
1086
  protoOf(LogicProgrammingScopeImpl).numOfFloat = function (value) {
1179
- return this.m2y_1.numOfFloat(value);
1087
+ return this.b31_1.numOfFloat(value);
1180
1088
  };
1181
1089
  protoOf(LogicProgrammingScopeImpl).numOfBigInteger = function (value) {
1182
- return this.m2y_1.numOfBigInteger(value);
1090
+ return this.b31_1.numOfBigInteger(value);
1183
1091
  };
1184
1092
  protoOf(LogicProgrammingScopeImpl).numOfInt = function (value) {
1185
- return this.m2y_1.numOfInt(value);
1093
+ return this.b31_1.numOfInt(value);
1186
1094
  };
1187
1095
  protoOf(LogicProgrammingScopeImpl).numOfLong = function (value) {
1188
- return this.m2y_1.numOfLong(value);
1096
+ return this.b31_1.numOfLong(value);
1189
1097
  };
1190
1098
  protoOf(LogicProgrammingScopeImpl).numOfShort = function (value) {
1191
- return this.m2y_1.numOfShort(value);
1099
+ return this.b31_1.numOfShort(value);
1192
1100
  };
1193
1101
  protoOf(LogicProgrammingScopeImpl).numOfByte = function (value) {
1194
- return this.m2y_1.numOfByte(value);
1102
+ return this.b31_1.numOfByte(value);
1195
1103
  };
1196
1104
  protoOf(LogicProgrammingScopeImpl).parseNum = function (value) {
1197
- return this.m2y_1.parseNum(value);
1105
+ return this.b31_1.parseNum(value);
1198
1106
  };
1199
1107
  protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
1200
- return this.m2y_1.numOf(value);
1108
+ return this.b31_1.numOf(value);
1201
1109
  };
1202
1110
  protoOf(LogicProgrammingScopeImpl).intOfBigInteger = function (value) {
1203
- return this.m2y_1.intOfBigInteger(value);
1111
+ return this.b31_1.intOfBigInteger(value);
1204
1112
  };
1205
1113
  protoOf(LogicProgrammingScopeImpl).intOf = function (value) {
1206
- return this.m2y_1.intOf(value);
1114
+ return this.b31_1.intOf(value);
1207
1115
  };
1208
1116
  protoOf(LogicProgrammingScopeImpl).intOfLong = function (value) {
1209
- return this.m2y_1.intOfLong(value);
1117
+ return this.b31_1.intOfLong(value);
1210
1118
  };
1211
1119
  protoOf(LogicProgrammingScopeImpl).intOfShort = function (value) {
1212
- return this.m2y_1.intOfShort(value);
1120
+ return this.b31_1.intOfShort(value);
1213
1121
  };
1214
1122
  protoOf(LogicProgrammingScopeImpl).intOfByte = function (value) {
1215
- return this.m2y_1.intOfByte(value);
1123
+ return this.b31_1.intOfByte(value);
1216
1124
  };
1217
1125
  protoOf(LogicProgrammingScopeImpl).parseInt = function (value) {
1218
- return this.m2y_1.parseInt(value);
1126
+ return this.b31_1.parseInt(value);
1219
1127
  };
1220
1128
  protoOf(LogicProgrammingScopeImpl).parseIntRadix = function (value, radix) {
1221
- return this.m2y_1.parseIntRadix(value, radix);
1129
+ return this.b31_1.parseIntRadix(value, radix);
1222
1130
  };
1223
1131
  protoOf(LogicProgrammingScopeImpl).realOfBigDecimal = function (value) {
1224
- return this.m2y_1.realOfBigDecimal(value);
1132
+ return this.b31_1.realOfBigDecimal(value);
1225
1133
  };
1226
1134
  protoOf(LogicProgrammingScopeImpl).realOf = function (value) {
1227
- return this.m2y_1.realOf(value);
1135
+ return this.b31_1.realOf(value);
1228
1136
  };
1229
1137
  protoOf(LogicProgrammingScopeImpl).realOfFloat = function (value) {
1230
- return this.m2y_1.realOfFloat(value);
1138
+ return this.b31_1.realOfFloat(value);
1231
1139
  };
1232
1140
  protoOf(LogicProgrammingScopeImpl).parseReal = function (value) {
1233
- return this.m2y_1.parseReal(value);
1141
+ return this.b31_1.parseReal(value);
1234
1142
  };
1235
1143
  protoOf(LogicProgrammingScopeImpl).truthOf = function (value) {
1236
- return this.m2y_1.truthOf(value);
1144
+ return this.b31_1.truthOf(value);
1237
1145
  };
1238
1146
  protoOf(LogicProgrammingScopeImpl).unifierOf = function (assignments) {
1239
- return this.m2y_1.unifierOf(assignments);
1147
+ return this.b31_1.unifierOf(assignments);
1240
1148
  };
1241
1149
  protoOf(LogicProgrammingScopeImpl).unifierOfIterable = function (assignments) {
1242
- return this.m2y_1.unifierOfIterable(assignments);
1150
+ return this.b31_1.unifierOfIterable(assignments);
1243
1151
  };
1244
1152
  protoOf(LogicProgrammingScopeImpl).unifierOfSequence = function (assignments) {
1245
- return this.m2y_1.unifierOfSequence(assignments);
1153
+ return this.b31_1.unifierOfSequence(assignments);
1246
1154
  };
1247
1155
  protoOf(LogicProgrammingScopeImpl).substitutionOf = function (assignments) {
1248
- return this.m2y_1.substitutionOf(assignments);
1156
+ return this.b31_1.substitutionOf(assignments);
1249
1157
  };
1250
1158
  protoOf(LogicProgrammingScopeImpl).substitutionOfIterable = function (assignments) {
1251
- return this.m2y_1.substitutionOfIterable(assignments);
1159
+ return this.b31_1.substitutionOfIterable(assignments);
1252
1160
  };
1253
1161
  protoOf(LogicProgrammingScopeImpl).substitutionOfSequence = function (assignments) {
1254
- return this.m2y_1.substitutionOfSequence(assignments);
1162
+ return this.b31_1.substitutionOfSequence(assignments);
1255
1163
  };
1256
- protoOf(LogicProgrammingScopeImpl).t10 = function () {
1257
- return this.m2y_1.t10();
1164
+ protoOf(LogicProgrammingScopeImpl).c11 = function () {
1165
+ return this.b31_1.c11();
1258
1166
  };
1259
- protoOf(LogicProgrammingScopeImpl).u10 = function () {
1260
- return this.m2y_1.u10();
1167
+ protoOf(LogicProgrammingScopeImpl).d11 = function () {
1168
+ return this.b31_1.d11();
1261
1169
  };
1262
1170
  protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
1263
- return this.m2y_1.getValue(thisRef, property);
1171
+ return this.b31_1.getValue(thisRef, property);
1264
1172
  };
1265
- protoOf(LogicProgrammingScopeImpl).a1h = function () {
1266
- return this.m2y_1.a1h();
1173
+ protoOf(LogicProgrammingScopeImpl).d1i = function () {
1174
+ return this.b31_1.d1i();
1267
1175
  };
1268
- protoOf(LogicProgrammingScopeImpl).b1h = function () {
1269
- return this.m2y_1.b1h();
1176
+ protoOf(LogicProgrammingScopeImpl).e1i = function () {
1177
+ return this.b31_1.e1i();
1270
1178
  };
1271
1179
  function LogicProgrammingScopeWithOperators() {
1272
1180
  }
@@ -1280,16 +1188,14 @@
1280
1188
  };
1281
1189
  }
1282
1190
  function MinimalLogicProgrammingScope$directiveOf$ref(p0) {
1283
- return function (receiver) {
1284
- return p0.directiveOf(receiver, []);
1285
- };
1191
+ return constructCallableReference(function (p0_0) {
1192
+ return p0.directiveOf(p0_0, []);
1193
+ }, 1, 0, 106, VOID, [p0]);
1286
1194
  }
1287
1195
  function MinimalLogicProgrammingScope$factOf$ref(p0) {
1288
- var l = function (_this__u8e3s4) {
1289
- return p0.factOf(_this__u8e3s4);
1290
- };
1291
- l.callableName = 'factOf';
1292
- return l;
1196
+ return constructCallableReference(function (p0_0) {
1197
+ return p0.factOf(p0_0);
1198
+ }, 1, 0, 107, 'factOf', [p0]);
1293
1199
  }
1294
1200
  function MinimalLogicProgrammingScope() {
1295
1201
  }
@@ -1310,21 +1216,21 @@
1310
1216
  function DefaultTermificator(scope, novel) {
1311
1217
  novel = novel === VOID ? false : novel;
1312
1218
  AbstractTermificator.call(this, scope);
1313
- this.r2y_1 = novel;
1314
- this.h2y(this.r2y_1);
1315
- this.s2y_1 = new NumberTypeTester();
1219
+ this.g31_1 = novel;
1220
+ this.w30(this.g31_1);
1221
+ this.h31_1 = new NumberTypeTester();
1316
1222
  }
1317
- protoOf(DefaultTermificator).u2x = function (value) {
1223
+ protoOf(DefaultTermificator).j30 = function (value) {
1318
1224
  var tmp;
1319
- if (this.s2y_1.os(value)) {
1320
- tmp = this.x1g().intOfBigInteger(this.s2y_1.ps(value));
1225
+ if (this.h31_1.xs(value)) {
1226
+ tmp = this.a1i().intOfBigInteger(this.h31_1.ys(value));
1321
1227
  } else {
1322
- tmp = this.x1g().realOfBigDecimal(this.s2y_1.qs(value));
1228
+ tmp = this.a1i().realOfBigDecimal(this.h31_1.zs(value));
1323
1229
  }
1324
1230
  return tmp;
1325
1231
  };
1326
- protoOf(DefaultTermificator).y1g = function (scope) {
1327
- return new DefaultTermificator(scope, this.r2y_1);
1232
+ protoOf(DefaultTermificator).b1i = function (scope) {
1233
+ return new DefaultTermificator(scope, this.g31_1);
1328
1234
  };
1329
1235
  protoOf(DefaultTermificator).copy = function (scope, $super) {
1330
1236
  return this.copy(scope, ($super == null ? true : $super instanceof DefaultTermificator) ? $super : THROW_CCE());
@@ -1343,7 +1249,7 @@
1343
1249
  protoOf(LogicProgrammingScopeImpl).consOfAny = consOfAny;
1344
1250
  protoOf(LogicProgrammingScopeImpl).directiveOfAny = directiveOfAny;
1345
1251
  protoOf(LogicProgrammingScopeImpl).withScope = withScope;
1346
- protoOf(LogicProgrammingScopeImpl).o2y = logicList;
1252
+ protoOf(LogicProgrammingScopeImpl).d31 = logicList;
1347
1253
  protoOf(LogicProgrammingScopeImpl).logicList = logicList_0;
1348
1254
  protoOf(LogicProgrammingScopeImpl).rule = rule;
1349
1255
  protoOf(LogicProgrammingScopeImpl).clause2 = clause2;
@@ -1468,8 +1374,8 @@
1468
1374
  //endregion
1469
1375
  //region block: exports
1470
1376
  _.$_$ = _.$_$ || {};
1471
- _.$_$.a = logicList_0;
1472
- _.$_$.b = Companion_instance_3;
1377
+ _.$_$.a = Companion_instance_3;
1378
+ _.$_$.b = logicList_0;
1473
1379
  _.$_$.c = convertToSpecificSubTypeOfTerm;
1474
1380
  _.$_$.d = convertToTerm;
1475
1381
  _.$_$.e = BaseLogicProgrammingScope;