@tuprolog/2p-full 3.0.8 → 4.0.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-oop-lib.js CHANGED
@@ -27,142 +27,143 @@
27
27
  }(function (_, kotlin_kotlin, kotlin_io_github_gciatto_kt_math, kotlin_it_unibo_tuprolog_solve, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_utils, kotlin_it_unibo_tuprolog_unify) {
28
28
  'use strict';
29
29
  //region block: imports
30
- var NullPointerException_init_$Create$ = kotlin_kotlin.$_$.t1;
31
- var protoOf = kotlin_kotlin.$_$.u8;
32
- var initMetadataForInterface = kotlin_kotlin.$_$.g8;
30
+ var NullPointerException_init_$Create$ = kotlin_kotlin.$_$.q2;
31
+ var protoOf = kotlin_kotlin.$_$.ba;
32
+ var initMetadataForInterface = kotlin_kotlin.$_$.n9;
33
33
  var VOID = kotlin_kotlin.$_$.b;
34
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.o;
35
- var KtList = kotlin_kotlin.$_$.e2;
36
- var getKClass = kotlin_kotlin.$_$.s9;
37
- var ArrayList = kotlin_kotlin.$_$.a2;
38
- var KtMap = kotlin_kotlin.$_$.f2;
39
- var LinkedHashMap = kotlin_kotlin.$_$.c2;
40
- var Char = kotlin_kotlin.$_$.td;
41
- var BigInteger = kotlin_io_github_gciatto_kt_math.$_$.h;
42
- var BigDecimal = kotlin_io_github_gciatto_kt_math.$_$.g;
34
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.g1;
35
+ var KtList = kotlin_kotlin.$_$.c3;
36
+ var getKClass = kotlin_kotlin.$_$.bb;
37
+ var ArrayList = kotlin_kotlin.$_$.y2;
38
+ var KtMap = kotlin_kotlin.$_$.d3;
39
+ var LinkedHashMap = kotlin_kotlin.$_$.b3;
40
+ var Char = kotlin_kotlin.$_$.ef;
41
+ var BigInteger = kotlin_io_github_gciatto_kt_math.$_$.s;
42
+ var BigDecimal = kotlin_io_github_gciatto_kt_math.$_$.r;
43
43
  var arrayConcat = kotlin_kotlin.$_$.a;
44
- var listOf = kotlin_kotlin.$_$.i4;
45
- var Signature = kotlin_it_unibo_tuprolog_solve.$_$.l4;
46
- var to = kotlin_kotlin.$_$.ye;
47
- var mapOf = kotlin_kotlin.$_$.l4;
48
- var AbstractLibrary = kotlin_it_unibo_tuprolog_solve.$_$.w2;
49
- var collectionSizeOrDefault = kotlin_kotlin.$_$.w2;
50
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.u;
51
- var Unit_instance = kotlin_kotlin.$_$.r;
52
- var toMap = kotlin_kotlin.$_$.a6;
44
+ var listOf = kotlin_kotlin.$_$.l5;
45
+ var Signature = kotlin_it_unibo_tuprolog_solve.$_$.h5;
46
+ var to = kotlin_kotlin.$_$.kg;
47
+ var mapOf = kotlin_kotlin.$_$.o5;
48
+ var AbstractLibrary = kotlin_it_unibo_tuprolog_solve.$_$.n3;
49
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.u3;
50
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p1;
51
+ var Unit_instance = kotlin_kotlin.$_$.m1;
52
+ var toMap = kotlin_kotlin.$_$.f7;
53
53
  var Specifier_XFY_getInstance = kotlin_it_unibo_tuprolog_core.$_$.c;
54
- var Operator = kotlin_it_unibo_tuprolog_core.$_$.n1;
54
+ var Operator = kotlin_it_unibo_tuprolog_core.$_$.o1;
55
55
  var Specifier_XFX_getInstance = kotlin_it_unibo_tuprolog_core.$_$.b;
56
56
  var Specifier_FX_getInstance = kotlin_it_unibo_tuprolog_core.$_$.a;
57
- var OperatorSet_init_$Create$ = kotlin_it_unibo_tuprolog_core.$_$.j1;
58
- var asSequence = kotlin_kotlin.$_$.r2;
59
- var documentationOf = kotlin_it_unibo_tuprolog_solve.$_$.y2;
60
- var mergeDocumentation = kotlin_it_unibo_tuprolog_solve.$_$.z2;
61
- var initMetadataForObject = kotlin_kotlin.$_$.i8;
62
- var getKClassFromExpression = kotlin_kotlin.$_$.r9;
63
- var initMetadataForCompanion = kotlin_kotlin.$_$.e8;
64
- var Atom = kotlin_it_unibo_tuprolog_core.$_$.o1;
65
- var KProperty1 = kotlin_kotlin.$_$.v9;
66
- var getPropertyCallableRef = kotlin_kotlin.$_$.a8;
67
- var constructCallableReference = kotlin_kotlin.$_$.t7;
68
- var isInterface = kotlin_kotlin.$_$.m8;
69
- var lazy = kotlin_kotlin.$_$.re;
70
- var toString = kotlin_kotlin.$_$.xe;
71
- var hashCode = kotlin_kotlin.$_$.c8;
72
- var equals = kotlin_kotlin.$_$.v7;
73
- var initMetadataForClass = kotlin_kotlin.$_$.d8;
74
- var Companion_instance = kotlin_it_unibo_tuprolog_utils.$_$.e;
75
- var contains = kotlin_kotlin.$_$.x2;
76
- var listOf_0 = kotlin_kotlin.$_$.h4;
77
- var checkIndexOverflow = kotlin_kotlin.$_$.v2;
78
- var copyToArray = kotlin_kotlin.$_$.g3;
79
- var toString_0 = kotlin_kotlin.$_$.x8;
80
- var trimMargin = kotlin_kotlin.$_$.pd;
81
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.j1;
82
- var setOf = kotlin_kotlin.$_$.h5;
83
- var Companion_instance_0 = kotlin_it_unibo_tuprolog_core.$_$.z;
84
- var format = kotlin_it_unibo_tuprolog_core.$_$.b3;
85
- var captureStack = kotlin_kotlin.$_$.l7;
86
- var Companion_instance_1 = kotlin_it_unibo_tuprolog_solve.$_$.e1;
57
+ var OperatorSet_init_$Create$ = kotlin_it_unibo_tuprolog_core.$_$.k1;
58
+ var asSequence = kotlin_kotlin.$_$.p3;
59
+ var documentationOf = kotlin_it_unibo_tuprolog_solve.$_$.p3;
60
+ var mergeDocumentation = kotlin_it_unibo_tuprolog_solve.$_$.q3;
61
+ var initMetadataForObject = kotlin_kotlin.$_$.p9;
62
+ var getKClassFromExpression = kotlin_kotlin.$_$.ab;
63
+ var initMetadataForCompanion = kotlin_kotlin.$_$.l9;
64
+ var Atom = kotlin_it_unibo_tuprolog_core.$_$.p1;
65
+ var KProperty1 = kotlin_kotlin.$_$.eb;
66
+ var getPropertyCallableRef = kotlin_kotlin.$_$.h9;
67
+ var constructCallableReference = kotlin_kotlin.$_$.a9;
68
+ var isInterface = kotlin_kotlin.$_$.t9;
69
+ var lazy = kotlin_kotlin.$_$.eg;
70
+ var toString = kotlin_kotlin.$_$.jg;
71
+ var hashCode = kotlin_kotlin.$_$.j9;
72
+ var equals = kotlin_kotlin.$_$.c9;
73
+ var initMetadataForClass = kotlin_kotlin.$_$.k9;
74
+ var Companion_instance = kotlin_it_unibo_tuprolog_utils.$_$.c;
75
+ var contains = kotlin_kotlin.$_$.v3;
76
+ var listOf_0 = kotlin_kotlin.$_$.k5;
77
+ var checkIndexOverflow = kotlin_kotlin.$_$.t3;
78
+ var copyToArray = kotlin_kotlin.$_$.g4;
79
+ var toString_0 = kotlin_kotlin.$_$.ea;
80
+ var trimMargin = kotlin_kotlin.$_$.ve;
81
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g2;
82
+ var setOf = kotlin_kotlin.$_$.l6;
83
+ var Companion_instance_0 = kotlin_it_unibo_tuprolog_core.$_$.a1;
84
+ var format = kotlin_it_unibo_tuprolog_core.$_$.d3;
85
+ var captureStack = kotlin_kotlin.$_$.s8;
86
+ var Companion_instance_1 = kotlin_it_unibo_tuprolog_solve.$_$.l1;
87
87
  var Expected_DEALIASING_EXPRESSION_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.m;
88
- var charSequenceLength = kotlin_kotlin.$_$.q7;
89
- var charCodeAt = kotlin_kotlin.$_$.o7;
90
- var toString_1 = kotlin_kotlin.$_$.h;
91
- var substring = kotlin_kotlin.$_$.dd;
92
- var Companion_getInstance = kotlin_it_unibo_tuprolog_unify.$_$.a;
93
- var Struct = kotlin_it_unibo_tuprolog_core.$_$.z1;
94
- var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.y;
88
+ var charSequenceLength = kotlin_kotlin.$_$.x8;
89
+ var charCodeAt = kotlin_kotlin.$_$.v8;
90
+ var toString_1 = kotlin_kotlin.$_$.v;
91
+ var substring = kotlin_kotlin.$_$.he;
92
+ var Companion_getInstance = kotlin_it_unibo_tuprolog_unify.$_$.c;
93
+ var Struct = kotlin_it_unibo_tuprolog_core.$_$.b2;
94
+ var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.f1;
95
95
  var ObjectType_OOP_ALIAS_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.h;
96
- var TuPrologException_init_$Init$ = kotlin_it_unibo_tuprolog_core.$_$.i1;
97
- var TuPrologException = kotlin_it_unibo_tuprolog_core.$_$.l1;
98
- var objectCreate = kotlin_kotlin.$_$.t8;
99
- var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.b1;
96
+ var TuPrologException_init_$Init$ = kotlin_it_unibo_tuprolog_core.$_$.j1;
97
+ var TuPrologException = kotlin_it_unibo_tuprolog_core.$_$.m1;
98
+ var objectCreate = kotlin_kotlin.$_$.aa;
99
+ var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.i1;
100
100
  var Limit_OOP_OBJECT_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.k;
101
101
  var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_core.$_$.m;
102
- var THROW_CCE = kotlin_kotlin.$_$.he;
103
- var Term = kotlin_it_unibo_tuprolog_core.$_$.y2;
104
- var NumberTypeTester = kotlin_it_unibo_tuprolog_utils.$_$.l;
105
- var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.a1;
106
- var charArrayOf = kotlin_kotlin.$_$.m7;
107
- var concatToString = kotlin_kotlin.$_$.ub;
108
- var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.u;
109
- var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.r;
110
- var isNumber = kotlin_kotlin.$_$.n8;
111
- var Exception = kotlin_kotlin.$_$.yd;
112
- var Var = kotlin_it_unibo_tuprolog_core.$_$.a3;
113
- var sequenceOf = kotlin_kotlin.$_$.db;
114
- var plus = kotlin_kotlin.$_$.bb;
115
- var Companion_getInstance_4 = kotlin_io_github_gciatto_kt_math.$_$.f;
116
- var Companion_getInstance_5 = kotlin_io_github_gciatto_kt_math.$_$.e;
117
- var compareTo = kotlin_kotlin.$_$.s7;
118
- var Integer = kotlin_it_unibo_tuprolog_core.$_$.u1;
119
- var sequenceOf_0 = kotlin_kotlin.$_$.cb;
120
- var Real = kotlin_it_unibo_tuprolog_core.$_$.x1;
121
- var Truth = kotlin_it_unibo_tuprolog_core.$_$.z2;
122
- var first = kotlin_kotlin.$_$.ka;
123
- var toSet = kotlin_kotlin.$_$.mb;
124
- var Some = kotlin_it_unibo_tuprolog_utils.$_$.m;
125
- var Companion_getInstance_6 = kotlin_it_unibo_tuprolog_core.$_$.y;
126
- var Companion_getInstance_7 = kotlin_it_unibo_tuprolog_solve.$_$.n1;
127
- var Functional = kotlin_it_unibo_tuprolog_solve.$_$.i3;
128
- var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.d1;
129
- var ResolutionException = kotlin_it_unibo_tuprolog_solve.$_$.t2;
130
- var Functional_0 = kotlin_it_unibo_tuprolog_solve.$_$.a3;
102
+ var THROW_CCE = kotlin_kotlin.$_$.sf;
103
+ var Term = kotlin_it_unibo_tuprolog_core.$_$.a3;
104
+ var NumberTypeTester = kotlin_it_unibo_tuprolog_utils.$_$.g;
105
+ var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.b1;
106
+ var charArrayOf = kotlin_kotlin.$_$.t8;
107
+ var concatToString = kotlin_kotlin.$_$.vc;
108
+ var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.v;
109
+ var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.s;
110
+ var isNumber = kotlin_kotlin.$_$.u9;
111
+ var Exception = kotlin_kotlin.$_$.jf;
112
+ var Var = kotlin_it_unibo_tuprolog_core.$_$.c3;
113
+ var sequenceOf = kotlin_kotlin.$_$.jc;
114
+ var plus = kotlin_kotlin.$_$.hc;
115
+ var Companion_getInstance_4 = kotlin_io_github_gciatto_kt_math.$_$.g;
116
+ var Companion_getInstance_5 = kotlin_io_github_gciatto_kt_math.$_$.f;
117
+ var compareTo = kotlin_kotlin.$_$.z8;
118
+ var Integer = kotlin_it_unibo_tuprolog_core.$_$.w1;
119
+ var sequenceOf_0 = kotlin_kotlin.$_$.ic;
120
+ var Real = kotlin_it_unibo_tuprolog_core.$_$.z1;
121
+ var Truth = kotlin_it_unibo_tuprolog_core.$_$.b3;
122
+ var first = kotlin_kotlin.$_$.sb;
123
+ var toSet = kotlin_kotlin.$_$.pc;
124
+ var Some = kotlin_it_unibo_tuprolog_utils.$_$.h;
125
+ var Companion_getInstance_6 = kotlin_it_unibo_tuprolog_core.$_$.z;
126
+ var Companion_getInstance_7 = kotlin_it_unibo_tuprolog_solve.$_$.w1;
127
+ var Functional = kotlin_it_unibo_tuprolog_solve.$_$.a4;
128
+ var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.k1;
129
+ var ResolutionException = kotlin_it_unibo_tuprolog_solve.$_$.g3;
130
+ var Functional_0 = kotlin_it_unibo_tuprolog_solve.$_$.r3;
131
131
  var Expected_OBJECT_REFERENCE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.o;
132
- var map = kotlin_kotlin.$_$.wa;
133
- var Companion_instance_5 = kotlin_it_unibo_tuprolog_core.$_$.s;
134
- var List = kotlin_it_unibo_tuprolog_core.$_$.v1;
135
- var toList = kotlin_kotlin.$_$.kb;
136
- var isArray = kotlin_kotlin.$_$.j8;
137
- var asSequence_0 = kotlin_kotlin.$_$.s2;
138
- var Predicative = kotlin_it_unibo_tuprolog_solve.$_$.k3;
139
- var TernaryRelation = kotlin_it_unibo_tuprolog_solve.$_$.m3;
140
- var flatMap = kotlin_kotlin.$_$.la;
141
- var distinct = kotlin_kotlin.$_$.da;
142
- var TypeTester = kotlin_it_unibo_tuprolog_solve.$_$.n3;
132
+ var map = kotlin_kotlin.$_$.dc;
133
+ var Companion_instance_5 = kotlin_it_unibo_tuprolog_core.$_$.t;
134
+ var List = kotlin_it_unibo_tuprolog_core.$_$.x1;
135
+ var toList = kotlin_kotlin.$_$.oc;
136
+ var isArray = kotlin_kotlin.$_$.q9;
137
+ var asSequence_0 = kotlin_kotlin.$_$.q3;
138
+ var Predicative = kotlin_it_unibo_tuprolog_solve.$_$.c4;
139
+ var TernaryRelation = kotlin_it_unibo_tuprolog_solve.$_$.e4;
140
+ var Alternatives_LOOKAHEAD_SAFE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.y;
141
+ var flatMap = kotlin_kotlin.$_$.tb;
142
+ var distinct = kotlin_kotlin.$_$.lb;
143
+ var TypeTester = kotlin_it_unibo_tuprolog_solve.$_$.f4;
143
144
  var Expected_TYPE_REFERENCE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.q;
144
145
  var Expected_REFERENCE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.p;
145
- var Companion_getInstance_8 = kotlin_it_unibo_tuprolog_core.$_$.c1;
146
- var Companion_getInstance_9 = kotlin_it_unibo_tuprolog_core.$_$.x;
147
- var filter = kotlin_kotlin.$_$.ia;
148
- var Sequence = kotlin_kotlin.$_$.x9;
149
- var firstOrNull = kotlin_kotlin.$_$.ja;
150
- var Yes = kotlin_it_unibo_tuprolog_solve.$_$.o4;
151
- var NonBacktrackable = kotlin_it_unibo_tuprolog_solve.$_$.b3;
152
- var Companion_instance_6 = kotlin_it_unibo_tuprolog_solve.$_$.z;
153
- var KtSet = kotlin_kotlin.$_$.g2;
154
- var NonBacktrackable_0 = kotlin_it_unibo_tuprolog_solve.$_$.o3;
155
- var RuleWrapper = kotlin_it_unibo_tuprolog_solve.$_$.r3;
156
- var RuleWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.k2;
157
- var Var_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.q1;
158
- var getStringHashCode = kotlin_kotlin.$_$.b8;
159
- var toString_2 = kotlin_kotlin.$_$.md;
160
- var ensureNotNull = kotlin_kotlin.$_$.ne;
161
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.c;
162
- var split = kotlin_kotlin.$_$.wc;
163
- var get_kotlin = kotlin_kotlin.$_$.o8;
164
- var NotImplementedError = kotlin_kotlin.$_$.ce;
165
- var Regex_init_$Create$ = kotlin_kotlin.$_$.z;
146
+ var Companion_getInstance_8 = kotlin_it_unibo_tuprolog_core.$_$.d1;
147
+ var Companion_getInstance_9 = kotlin_it_unibo_tuprolog_core.$_$.y;
148
+ var filter = kotlin_kotlin.$_$.qb;
149
+ var Sequence = kotlin_kotlin.$_$.gb;
150
+ var firstOrNull = kotlin_kotlin.$_$.rb;
151
+ var Yes = kotlin_it_unibo_tuprolog_solve.$_$.j5;
152
+ var NonBacktrackable = kotlin_it_unibo_tuprolog_solve.$_$.s3;
153
+ var Companion_instance_6 = kotlin_it_unibo_tuprolog_solve.$_$.g1;
154
+ var KtSet = kotlin_kotlin.$_$.e3;
155
+ var NonBacktrackable_0 = kotlin_it_unibo_tuprolog_solve.$_$.g4;
156
+ var RuleWrapper = kotlin_it_unibo_tuprolog_solve.$_$.j4;
157
+ var RuleWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.x2;
158
+ var Var_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a2;
159
+ var getStringHashCode = kotlin_kotlin.$_$.i9;
160
+ var toString_2 = kotlin_kotlin.$_$.re;
161
+ var ensureNotNull = kotlin_kotlin.$_$.zf;
162
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q;
163
+ var split = kotlin_kotlin.$_$.ae;
164
+ var get_kotlin = kotlin_kotlin.$_$.v9;
165
+ var NotImplementedError = kotlin_kotlin.$_$.nf;
166
+ var Regex_init_$Create$ = kotlin_kotlin.$_$.x1;
166
167
  //endregion
167
168
  //region block: pre-declaration
168
169
  initMetadataForInterface(Ref, 'Ref', VOID, VOID, [Atom]);
@@ -185,18 +186,18 @@
185
186
  initMetadataForClass(Value, 'Value', VOID, Result);
186
187
  initMetadataForCompanion(Companion_2);
187
188
  function convert(term) {
188
- return this.h52(this.j52(term), term);
189
+ return this.m55(this.o55(term), term);
189
190
  }
190
191
  initMetadataForInterface(TermToObjectConverter, 'TermToObjectConverter');
191
192
  initMetadataForCompanion(Companion_3);
192
193
  function typeRefFromName(typeName) {
193
- var tmp = Companion_instance.lr(this.m52(typeName));
194
- return tmp.zt(TypeFactory$typeRefFromName$lambda).f1();
194
+ var tmp = Companion_instance.cz(this.r55(typeName));
195
+ return tmp.ez(TypeFactory$typeRefFromName$lambda).f1();
195
196
  }
196
197
  initMetadataForInterface(TypeFactory, 'TypeFactory');
197
198
  initMetadataForCompanion(Companion_4);
198
199
  function create(objectConverter, arguments_0) {
199
- return this.p52(objectConverter, listOf(arguments_0.slice()));
200
+ return this.u55(objectConverter, listOf(arguments_0.slice()));
200
201
  }
201
202
  initMetadataForInterface(TypeRef, 'TypeRef', VOID, VOID, [Ref]);
202
203
  initMetadataForClass(OopException, 'OopException', VOID, TuPrologException);
@@ -249,7 +250,7 @@
249
250
  function NullRef() {
250
251
  }
251
252
  function _get_ruleWrappers__mybpf3($this) {
252
- return listOf(arrayConcat([[Cast_getInstance_0(), Invocation_getInstance(), Assignment_getInstance(), Dot_getInstance(), Recursive_getInstance(), Couple_getInstance(), Trivial_getInstance(), NewObject2_getInstance(), Recursive_getInstance_0(), Base_getInstance(), Companion_instance_15.q51('string', PrimitiveClasses_getInstance().ia()), Companion_instance_15.q51('array', PrimitiveClasses_getInstance().ha()), Companion_instance_15.q51('list', getKClass(KtList)), Companion_instance_15.q51('arraylist', getKClass(ArrayList)), Companion_instance_15.q51('map', getKClass(KtMap)), Companion_instance_15.q51('hashmap', getKClass(LinkedHashMap)), Companion_instance_15.q51('int', PrimitiveClasses_getInstance().da()), Companion_instance_15.q51('integer', PrimitiveClasses_getInstance().da()), Companion_instance_15.q51('double', PrimitiveClasses_getInstance().ga()), Companion_instance_15.q51('float', PrimitiveClasses_getInstance().fa()), Companion_instance_15.q51('long', PrimitiveClasses_getInstance().ea()), Companion_instance_15.q51('short', PrimitiveClasses_getInstance().ca()), Companion_instance_15.q51('byte', PrimitiveClasses_getInstance().ba()), Companion_instance_15.q51('char', getKClass(Char)), Companion_instance_15.q51('bool', PrimitiveClasses_getInstance().aa()), Companion_instance_15.q51('boolean', PrimitiveClasses_getInstance().aa()), Companion_instance_15.q51('any', PrimitiveClasses_getInstance().x9()), Companion_instance_15.q51('nothing', PrimitiveClasses_getInstance().z9()), Companion_instance_15.q51('big_integer', getKClass(BigInteger)), Companion_instance_15.q51('big_decimal', getKClass(BigDecimal))], get_platformSpecificAliases()]));
253
+ return listOf(arrayConcat([[Cast_getInstance_0(), Invocation_getInstance(), Assignment_getInstance(), Dot_getInstance(), Recursive_getInstance(), Couple_getInstance(), Trivial_getInstance(), NewObject2_getInstance(), Recursive_getInstance_0(), Base_getInstance(), Companion_instance_15.v54('string', PrimitiveClasses_getInstance().ma()), Companion_instance_15.v54('array', PrimitiveClasses_getInstance().la()), Companion_instance_15.v54('list', getKClass(KtList)), Companion_instance_15.v54('arraylist', getKClass(ArrayList)), Companion_instance_15.v54('map', getKClass(KtMap)), Companion_instance_15.v54('hashmap', getKClass(LinkedHashMap)), Companion_instance_15.v54('int', PrimitiveClasses_getInstance().ha()), Companion_instance_15.v54('integer', PrimitiveClasses_getInstance().ha()), Companion_instance_15.v54('double', PrimitiveClasses_getInstance().ka()), Companion_instance_15.v54('float', PrimitiveClasses_getInstance().ja()), Companion_instance_15.v54('long', PrimitiveClasses_getInstance().ia()), Companion_instance_15.v54('short', PrimitiveClasses_getInstance().ga()), Companion_instance_15.v54('byte', PrimitiveClasses_getInstance().fa()), Companion_instance_15.v54('char', getKClass(Char)), Companion_instance_15.v54('bool', PrimitiveClasses_getInstance().ea()), Companion_instance_15.v54('boolean', PrimitiveClasses_getInstance().ea()), Companion_instance_15.v54('any', PrimitiveClasses_getInstance().ba()), Companion_instance_15.v54('nothing', PrimitiveClasses_getInstance().da()), Companion_instance_15.v54('big_integer', getKClass(BigInteger)), Companion_instance_15.v54('big_decimal', getKClass(BigDecimal))], get_platformSpecificAliases()]));
253
254
  }
254
255
  function _get_operatorDocumentation__vy55az($this) {
255
256
  return mapOf([to(new Signature('$', 1), "`$+Alias`\n\nAlias reference, with no predicate behind it: `$Alias` stands for the object or type reference registered under the atom `Alias` by an `alias/2` fact, i.e. one of the library's default aliases (`string`, `int`, `arraylist`, `stdout`, ...) or one added via `register/2`. It is resolved by the library wherever a reference is expected: as the receiver of `invoke_method/3`, `invoke_strict/3`, `./2` and `:=/2`, as the type of `new_object/2,3` and `cast/3`, as the value of `assign/3`, as the type in `as/2` casts, and inside method or constructor arguments (where it must denote an object). An unregistered alias raises an existence error.\n\n**Examples**\n\n```prolog\n?- $stdout.println(hello).\n% prints: hello\nyes.\n\n?- new_object($arraylist, L), L.add(a), N := L.size.\nN = 1.\n\n?- invoke_method($nope, toString, R).\nthrows error(existence_error(_, _), _).\n```"), to(new Signature('as', 2), "`+Term as +Type`\n\nExplicit conversion, with no predicate behind it. Inside method or constructor arguments (of `invoke_method/3`, `invoke_strict/3`, `new_object/3`, `./2` chains, `*_items/2` lists and `assign/3` values), `Term as Type` converts `Term` into exactly `Type` instead of the automatically inferred type, which also steers overload selection. There `Type` is an atom holding a fully qualified type name (e.g. `'java.lang.Long'`), a type reference, or a `$Alias` reference to a type; if `Term` cannot be represented as `Type`, an error is raised. On the right of `:=/2`, `Result := Term as Type` instead calls `cast/3`, which requires a type reference or a `$Alias`. Since `as` binds tighter than `.`, parenthesise chains: `R := (Obj.size) as $long`.\n\n**Examples**\n\n```prolog\n?- X := $math.max(1 as 'java.lang.Double', 2).\nX = 2.0.\n\n?- new_object('java.util.ArrayList', [], L), L.add(1 as 'java.lang.Long'), A := L.contains(1 as 'java.lang.Long'), B := L.contains(1).\nA = true, B = false.\n\n?- new_object('java.util.ArrayList', [], L), L.add(abc as 'java.lang.Long').\nthrows error(representation_error(_), _).\n```")]);
@@ -257,15 +258,15 @@
257
258
  function OOPLib() {
258
259
  OOPLib_instance = this;
259
260
  AbstractLibrary.call(this);
260
- this.s51_1 = "`library('prolog.oop')`\n\nBridges Prolog with the JVM/Kotlin object world via reflection: Prolog code can create objects, call their (possibly overloaded) methods and constructors, read and write their properties, and convert values back and forth. Objects and classes are represented by opaque reference terms (see `object_ref/1`, `type_ref/1`, `null_ref/1`); Prolog atoms, numbers and booleans are converted automatically to and from strings, numbers and booleans.\n\nMain entry points are `new_object/2,3` (instantiation), `invoke_method/3` and `invoke_strict/3` (method calls), `assign/3` (property writes), `cast/3` and `type/2` (types and conversions), `array_items/2`, `list_items/2` and `set_items/2` (collections), and `register/2`/`unregister/1` (aliases, see `alias/2`).\n\nThe operators `./2` (method call or property read, chainable), `:=/2` (capture a result or assign a property), `as/2` (explicit conversion) and `$/1` (alias reference, e.g. `$stdout`) provide a fluent syntax on top of these predicates. Example: `new_object('java.util.ArrayList', [], L), L.add(1 as 'java.lang.Long'), N := L.size, $stdout.println(N)`. Reflective invocation is only available on the JVM.";
261
+ this.x54_1 = "`library('prolog.oop')`\n\nBridges Prolog with the JVM/Kotlin object world via reflection: Prolog code can create objects, call their (possibly overloaded) methods and constructors, read and write their properties, and convert values back and forth. Objects and classes are represented by opaque reference terms (see `object_ref/1`, `type_ref/1`, `null_ref/1`); Prolog atoms, numbers and booleans are converted automatically to and from strings, numbers and booleans.\n\nMain entry points are `new_object/2,3` (instantiation), `invoke_method/3` and `invoke_strict/3` (method calls), `assign/3` (property writes), `cast/3` and `type/2` (types and conversions), `array_items/2`, `list_items/2` and `set_items/2` (collections), and `register/2`/`unregister/1` (aliases, see `alias/2`).\n\nThe operators `./2` (method call or property read, chainable), `:=/2` (capture a result or assign a property), `as/2` (explicit conversion) and `$/1` (alias reference, e.g. `$stdout`) provide a fluent syntax on top of these predicates. Example: `new_object('java.util.ArrayList', [], L), L.add(1 as 'java.lang.Long'), N := L.size, $stdout.println(N)`. Reflective invocation is only available on the JVM.";
261
262
  }
262
- protoOf(OOPLib).e2j = function () {
263
+ protoOf(OOPLib).c2r = function () {
263
264
  return 'prolog.oop';
264
265
  };
265
- protoOf(OOPLib).i1x = function () {
266
- return this.s51_1;
266
+ protoOf(OOPLib).a23 = function () {
267
+ return this.x54_1;
267
268
  };
268
- protoOf(OOPLib).z2i = function () {
269
+ protoOf(OOPLib).x2q = function () {
269
270
  // Inline function 'kotlin.collections.map' call
270
271
  var this_0 = listOf([ArrayItems_getInstance(), Assign_getInstance(), Cast_getInstance(), Type_getInstance(), InvokeMethod_getInstance(), InvokeStrict_getInstance(), ListItems_getInstance(), NewObject3_getInstance(), NullRef_getInstance(), ObjectRef_getInstance(), Ref_getInstance(), Register_getInstance(), SetItems_getInstance(), TypeRef_getInstance(), Unregister_getInstance()]);
271
272
  // Inline function 'kotlin.collections.mapTo' call
@@ -274,12 +275,12 @@
274
275
  while (_iterator__ex2g4s.q()) {
275
276
  var item = _iterator__ex2g4s.r();
276
277
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.descriptionPair' call
277
- var tmp$ret$2 = to(item.signature, item.g1x());
278
+ var tmp$ret$2 = to(item.signature, item.y22());
278
279
  destination.l(tmp$ret$2);
279
280
  }
280
281
  return toMap(destination);
281
282
  };
282
- protoOf(OOPLib).f1o = function () {
283
+ protoOf(OOPLib).w1u = function () {
283
284
  // Inline function 'kotlin.collections.map' call
284
285
  var this_0 = _get_ruleWrappers__mybpf3(this);
285
286
  // Inline function 'kotlin.collections.mapTo' call
@@ -287,16 +288,16 @@
287
288
  var _iterator__ex2g4s = this_0.n();
288
289
  while (_iterator__ex2g4s.q()) {
289
290
  var item = _iterator__ex2g4s.r();
290
- var tmp$ret$2 = item.g1x();
291
+ var tmp$ret$2 = item.y22();
291
292
  destination.l(tmp$ret$2);
292
293
  }
293
294
  return destination;
294
295
  };
295
- protoOf(OOPLib).c1y = function () {
296
+ protoOf(OOPLib).u23 = function () {
296
297
  return OperatorSet_init_$Create$([new Operator('.', Specifier_XFY_getInstance(), 800), new Operator(':=', Specifier_XFX_getInstance(), 850), new Operator('as', Specifier_XFX_getInstance(), 200), new Operator('$', Specifier_FX_getInstance(), 100)]);
297
298
  };
298
- protoOf(OOPLib).f2j = function () {
299
- return mergeDocumentation([protoOf(AbstractLibrary).f2j.call(this), documentationOf(asSequence(_get_ruleWrappers__mybpf3(this))), _get_operatorDocumentation__vy55az(this)]);
299
+ protoOf(OOPLib).d2r = function () {
300
+ return mergeDocumentation([protoOf(AbstractLibrary).d2r.call(this), documentationOf(asSequence(_get_ruleWrappers__mybpf3(this))), _get_operatorDocumentation__vy55az(this)]);
300
301
  };
301
302
  var OOPLib_instance;
302
303
  function OOPLib_getInstance() {
@@ -309,13 +310,13 @@
309
310
  }
310
311
  function Companion() {
311
312
  Companion_instance_7 = this;
312
- this.t51_1 = NullRefImpl_getInstance();
313
+ this.y54_1 = NullRefImpl_getInstance();
313
314
  }
314
- protoOf(Companion).u51 = function (any) {
315
- return any == null ? nameOf(this, PrimitiveClasses_getInstance().z9(), 'null') : nameOf(this, getKClassFromExpression(any), get_identifier(any));
315
+ protoOf(Companion).z54 = function (any) {
316
+ return any == null ? nameOf(this, PrimitiveClasses_getInstance().da(), 'null') : nameOf(this, getKClassFromExpression(any), get_identifier(any));
316
317
  };
317
- protoOf(Companion).v51 = function (any) {
318
- return any == null ? this.t51_1 : new ObjectRefImpl(any);
318
+ protoOf(Companion).a55 = function (any) {
319
+ return any == null ? this.y54_1 : new ObjectRefImpl(any);
319
320
  };
320
321
  var Companion_instance_7;
321
322
  function Companion_getInstance_10() {
@@ -327,7 +328,7 @@
327
328
  }
328
329
  function Companion_0() {
329
330
  Companion_instance_8 = this;
330
- this.w51_1 = new ObjectToTermConverterImpl();
331
+ this.b55_1 = new ObjectToTermConverterImpl();
331
332
  }
332
333
  var Companion_instance_8;
333
334
  function Companion_getInstance_11() {
@@ -337,7 +338,7 @@
337
338
  }
338
339
  function Companion_1() {
339
340
  }
340
- protoOf(Companion_1).x51 = function (type, termToObjectConverter) {
341
+ protoOf(Companion_1).c55 = function (type, termToObjectConverter) {
341
342
  return overloadSelector(type, termToObjectConverter);
342
343
  };
343
344
  var Companion_instance_9;
@@ -347,14 +348,14 @@
347
348
  function Ref() {
348
349
  }
349
350
  function _get_termValue__ikgccs($this) {
350
- var tmp0 = $this.z51_1;
351
+ var tmp0 = $this.e55_1;
351
352
  var tmp = KProperty1;
352
353
  // Inline function 'kotlin.getValue' call
353
354
  getPropertyCallableRef('termValue', 1, tmp, Result$Value$_get_termValue_$ref_u3cirl(), null);
354
355
  return tmp0.f1();
355
356
  }
356
357
  function _get_objectRef__3zhern($this) {
357
- var tmp0 = $this.a52_1;
358
+ var tmp0 = $this.f55_1;
358
359
  var tmp = KProperty1;
359
360
  // Inline function 'kotlin.getValue' call
360
361
  getPropertyCallableRef('objectRef', 1, tmp, Result$Value$_get_objectRef_$ref_8a6ozy(), null);
@@ -362,13 +363,13 @@
362
363
  }
363
364
  function Result$Value$termValue$delegate$lambda(this$0) {
364
365
  return function () {
365
- return Companion_getInstance_11().w51_1.b52(this$0.y51_1);
366
+ return Companion_getInstance_11().b55_1.g55(this$0.d55_1);
366
367
  };
367
368
  }
368
369
  function Result$Value$_get_termValue_$ref_u3cirl() {
369
370
  return constructCallableReference(function (p0) {
370
371
  return _get_termValue__ikgccs(p0);
371
- }, 1, 0, 131);
372
+ }, 1, 0, 82);
372
373
  }
373
374
  function Result$Value$objectRef$delegate$lambda(this$0) {
374
375
  return function () {
@@ -378,7 +379,7 @@
378
379
  if (isInterface(it, ObjectRef)) {
379
380
  tmp = it;
380
381
  } else {
381
- tmp = Companion_getInstance_10().v51(this$0.y51_1);
382
+ tmp = Companion_getInstance_10().a55(this$0.d55_1);
382
383
  }
383
384
  return tmp;
384
385
  };
@@ -386,37 +387,37 @@
386
387
  function Result$Value$_get_objectRef_$ref_8a6ozy() {
387
388
  return constructCallableReference(function (p0) {
388
389
  return _get_objectRef__3zhern(p0);
389
- }, 1, 0, 132);
390
+ }, 1, 0, 83);
390
391
  }
391
392
  function Value(value) {
392
393
  Result.call(this);
393
- this.y51_1 = value;
394
+ this.d55_1 = value;
394
395
  var tmp = this;
395
- tmp.z51_1 = lazy(Result$Value$termValue$delegate$lambda(this));
396
+ tmp.e55_1 = lazy(Result$Value$termValue$delegate$lambda(this));
396
397
  var tmp_0 = this;
397
- tmp_0.a52_1 = lazy(Result$Value$objectRef$delegate$lambda(this));
398
+ tmp_0.f55_1 = lazy(Result$Value$objectRef$delegate$lambda(this));
398
399
  }
399
- protoOf(Value).t1j = function () {
400
+ protoOf(Value).l1r = function () {
400
401
  return _get_termValue__ikgccs(this);
401
402
  };
402
403
  protoOf(Value).toTerm = function () {
403
- return this.t1j();
404
+ return this.l1r();
404
405
  };
405
- protoOf(Value).c52 = function () {
406
+ protoOf(Value).h55 = function () {
406
407
  return _get_objectRef__3zhern(this);
407
408
  };
408
409
  protoOf(Value).toString = function () {
409
- return 'Value(value=' + toString(this.y51_1) + ')';
410
+ return 'Value(value=' + toString(this.d55_1) + ')';
410
411
  };
411
412
  protoOf(Value).hashCode = function () {
412
- return this.y51_1 == null ? 0 : hashCode(this.y51_1);
413
+ return this.d55_1 == null ? 0 : hashCode(this.d55_1);
413
414
  };
414
415
  protoOf(Value).equals = function (other) {
415
416
  if (this === other)
416
417
  return true;
417
418
  if (!(other instanceof Value))
418
419
  return false;
419
- if (!equals(this.y51_1, other.y51_1))
420
+ if (!equals(this.d55_1, other.d55_1))
420
421
  return false;
421
422
  return true;
422
423
  };
@@ -427,13 +428,13 @@
427
428
  }
428
429
  function Companion_2() {
429
430
  Companion_instance_10 = this;
430
- this.d52_1 = this.e52();
431
+ this.i55_1 = this.j55();
431
432
  }
432
- protoOf(Companion_2).f52 = function (typeFactory, dealiaser) {
433
+ protoOf(Companion_2).k55 = function (typeFactory, dealiaser) {
433
434
  return new TermToObjectConverterImpl(typeFactory, dealiaser);
434
435
  };
435
- protoOf(Companion_2).e52 = function (typeFactory, dealiaser, $super) {
436
- typeFactory = typeFactory === VOID ? Companion_getInstance_14().g52_1 : typeFactory;
436
+ protoOf(Companion_2).j55 = function (typeFactory, dealiaser, $super) {
437
+ typeFactory = typeFactory === VOID ? Companion_getInstance_14().l55_1 : typeFactory;
437
438
  var tmp;
438
439
  if (dealiaser === VOID) {
439
440
  tmp = TermToObjectConverter$Companion$of$lambda;
@@ -441,7 +442,7 @@
441
442
  tmp = dealiaser;
442
443
  }
443
444
  dealiaser = tmp;
444
- return $super === VOID ? this.f52(typeFactory, dealiaser) : $super.f52.call(this, typeFactory, dealiaser);
445
+ return $super === VOID ? this.k55(typeFactory, dealiaser) : $super.k55.call(this, typeFactory, dealiaser);
445
446
  };
446
447
  var Companion_instance_10;
447
448
  function Companion_getInstance_13() {
@@ -453,7 +454,7 @@
453
454
  }
454
455
  function Companion_3() {
455
456
  Companion_instance_11 = this;
456
- this.g52_1 = new TypeFactoryImpl();
457
+ this.l55_1 = new TypeFactoryImpl();
457
458
  }
458
459
  var Companion_instance_11;
459
460
  function Companion_getInstance_14() {
@@ -462,13 +463,13 @@
462
463
  return Companion_instance_11;
463
464
  }
464
465
  function TypeFactory$typeRefFromName$lambda(it) {
465
- return Companion_instance_12.l52(it);
466
+ return Companion_instance_12.q55(it);
466
467
  }
467
468
  function TypeFactory() {
468
469
  }
469
470
  function Companion_4() {
470
471
  }
471
- protoOf(Companion_4).l52 = function (type) {
472
+ protoOf(Companion_4).q55 = function (type) {
472
473
  return new TypeRefImpl(type);
473
474
  };
474
475
  var Companion_instance_12;
@@ -492,7 +493,7 @@
492
493
  }
493
494
  function create_0(_this__u8e3s4, objectConverter, arguments_0) {
494
495
  _init_properties_TypeUtils_kt__wnsx0l();
495
- var constructorRef = Companion_instance_9.x51(_this__u8e3s4, objectConverter).q52(arguments_0);
496
+ var constructorRef = Companion_instance_9.c55(_this__u8e3s4, objectConverter).v55(arguments_0);
496
497
  return callWithPrologArguments(constructorRef, objectConverter, arguments_0);
497
498
  }
498
499
  function invoke_0(_this__u8e3s4, objectConverter, methodName, arguments_0) {
@@ -501,7 +502,7 @@
501
502
  }
502
503
  function invoke_1(_this__u8e3s4, objectConverter, methodName, arguments_0, instance) {
503
504
  _init_properties_TypeUtils_kt__wnsx0l();
504
- var methodRef = Companion_instance_9.x51(_this__u8e3s4, objectConverter).r52(methodName, arguments_0);
505
+ var methodRef = Companion_instance_9.c55(_this__u8e3s4, objectConverter).w55(methodName, arguments_0);
505
506
  return callWithPrologArguments(methodRef, objectConverter, arguments_0, instance);
506
507
  }
507
508
  function assign_0(_this__u8e3s4, objectConverter, propertyName, value) {
@@ -510,7 +511,7 @@
510
511
  }
511
512
  function assign_1(_this__u8e3s4, objectConverter, propertyName, value, instance) {
512
513
  _init_properties_TypeUtils_kt__wnsx0l();
513
- var setterRef = get_setterMethod(Companion_instance_9.x51(_this__u8e3s4, objectConverter).s52(propertyName, value));
514
+ var setterRef = get_setterMethod(Companion_instance_9.c55(_this__u8e3s4, objectConverter).x55(propertyName, value));
514
515
  return callWithPrologArguments(setterRef, objectConverter, listOf_0(value), instance);
515
516
  }
516
517
  function isSubtypeOf_0(_this__u8e3s4, other, strict) {
@@ -531,7 +532,7 @@
531
532
  var _unary__edvuaz = index;
532
533
  index = _unary__edvuaz + 1 | 0;
533
534
  var i = checkIndexOverflow(_unary__edvuaz);
534
- var tmp$ret$2 = converter.h52(formalArgumentsTypes.t(i), item);
535
+ var tmp$ret$2 = converter.m55(formalArgumentsTypes.t(i), item);
535
536
  destination.l(tmp$ret$2);
536
537
  }
537
538
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -587,18 +588,18 @@
587
588
  function _init_properties_TypeUtils_kt__wnsx0l() {
588
589
  if (!properties_initialized_TypeUtils_kt_7pe6qv) {
589
590
  properties_initialized_TypeUtils_kt_7pe6qv = true;
590
- PRIMITIVE_TYPES = setOf([PrimitiveClasses_getInstance().ea(), PrimitiveClasses_getInstance().da(), PrimitiveClasses_getInstance().ca(), PrimitiveClasses_getInstance().ba(), getKClass(Char), PrimitiveClasses_getInstance().ga(), PrimitiveClasses_getInstance().fa()]);
591
+ PRIMITIVE_TYPES = setOf([PrimitiveClasses_getInstance().ia(), PrimitiveClasses_getInstance().ha(), PrimitiveClasses_getInstance().ga(), PrimitiveClasses_getInstance().fa(), getKClass(Char), PrimitiveClasses_getInstance().ka(), PrimitiveClasses_getInstance().ja()]);
591
592
  }
592
593
  }
593
594
  function MalformedAliasException(dealiasingExpression) {
594
595
  OopException_init_$Init$('This is not a dealiasing expression `' + dealiasingExpression.toString() + '` in the form ' + format(get_DEALIASING_TEMPLATE(), Companion_instance_0.prettyExpressionsPrettyVariablesDefaultOperators()), VOID, this);
595
596
  captureStack(this, MalformedAliasException);
596
- this.t52_1 = dealiasingExpression;
597
+ this.y55_1 = dealiasingExpression;
597
598
  }
598
- protoOf(MalformedAliasException).u52 = function (context, signature) {
599
+ protoOf(MalformedAliasException).z55 = function (context, signature) {
599
600
  var tmp = Companion_instance_1;
600
601
  var tmp_0 = Expected_DEALIASING_EXPRESSION_getInstance();
601
- var tmp_1 = this.t28();
602
+ var tmp_1 = this.a2f();
602
603
  var tmp_2 = signature.toIndicator().toString();
603
604
  var tmp0_safe_receiver = this.message;
604
605
  var tmp_3;
@@ -622,20 +623,20 @@
622
623
  }
623
624
  return tmp.of(context, tmp_0, tmp_1, 'Error in ' + tmp_2 + ': ' + tmp_3);
624
625
  };
625
- protoOf(MalformedAliasException).t28 = function () {
626
- return this.t52_1;
626
+ protoOf(MalformedAliasException).a2f = function () {
627
+ return this.y55_1;
627
628
  };
628
629
  function NoSuchAnAliasException(dealiasingExpression) {
629
630
  OopException_init_$Init$('There exists no reference whose alias is `' + dealiasingExpression.get(0).toString() + '`', VOID, this);
630
631
  captureStack(this, NoSuchAnAliasException);
631
- this.v52_1 = dealiasingExpression;
632
+ this.a56_1 = dealiasingExpression;
632
633
  // Inline function 'kotlin.require' call
633
634
  // Inline function 'kotlin.require' call
634
- if (!Companion_getInstance().matches(this.v52_1, get_DEALIASING_TEMPLATE())) {
635
+ if (!Companion_getInstance().matches(this.a56_1, get_DEALIASING_TEMPLATE())) {
635
636
  var message = 'Failed requirement.';
636
637
  throw IllegalArgumentException_init_$Create$(toString_0(message));
637
638
  }
638
- var tmp = this.v52_1.get(0);
639
+ var tmp = this.a56_1.get(0);
639
640
  // Inline function 'kotlin.require' call
640
641
  // Inline function 'kotlin.require' call
641
642
  if (!isInterface(tmp, Struct)) {
@@ -643,15 +644,15 @@
643
644
  throw IllegalArgumentException_init_$Create$(toString_0(message_0));
644
645
  }
645
646
  }
646
- protoOf(NoSuchAnAliasException).u52 = function (context, signature) {
647
+ protoOf(NoSuchAnAliasException).z55 = function (context, signature) {
647
648
  var tmp = Companion_instance_2;
648
649
  var tmp_0 = ObjectType_OOP_ALIAS_getInstance();
649
- var tmp_1 = this.t28();
650
+ var tmp_1 = this.a2f();
650
651
  var tmp0_elvis_lhs = this.message;
651
652
  return tmp.of(context, tmp_0, tmp_1, tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
652
653
  };
653
- protoOf(NoSuchAnAliasException).t28 = function () {
654
- return this.v52_1;
654
+ protoOf(NoSuchAnAliasException).a2f = function () {
655
+ return this.a56_1;
655
656
  };
656
657
  function OopException_init_$Init$(message, cause, $this) {
657
658
  message = message === VOID ? null : message;
@@ -690,336 +691,336 @@
690
691
  var tmp1_elvis_lhs = tmp;
691
692
  OopException_init_$Init$(tmp1_elvis_lhs == null ? 'Term `' + term.toString() + '` cannot be converted into an object' : tmp1_elvis_lhs, VOID, this);
692
693
  captureStack(this, TermToObjectConversionException);
693
- this.w52_1 = term;
694
- this.x52_1 = targetType;
694
+ this.b56_1 = term;
695
+ this.c56_1 = targetType;
695
696
  }
696
- protoOf(TermToObjectConversionException).u52 = function (context, signature) {
697
- return Companion_instance_3.p2a(context, signature, Limit_OOP_OBJECT_getInstance(), this);
697
+ protoOf(TermToObjectConversionException).z55 = function (context, signature) {
698
+ return Companion_instance_3.w2g(context, signature, Limit_OOP_OBJECT_getInstance(), this);
698
699
  };
699
700
  function NullRefImpl() {
700
701
  NullRefImpl_instance = this;
701
- this.y52_1 = Companion_getInstance_0().of(Companion_getInstance_10().u51(null));
702
+ this.d56_1 = Companion_getInstance_0().of(Companion_getInstance_10().z54(null));
702
703
  }
703
- protoOf(NullRefImpl).wx = function () {
704
+ protoOf(NullRefImpl).w14 = function () {
704
705
  return true;
705
706
  };
706
- protoOf(NullRefImpl).ay = function () {
707
+ protoOf(NullRefImpl).z14 = function () {
707
708
  return this;
708
709
  };
709
710
  protoOf(NullRefImpl).asConstant = function () {
710
- return this.ay();
711
+ return this.z14();
711
712
  };
712
- protoOf(NullRefImpl).ax = function () {
713
+ protoOf(NullRefImpl).a14 = function () {
713
714
  return this;
714
715
  };
715
716
  protoOf(NullRefImpl).freshCopy = function () {
716
- return this.ax();
717
+ return this.a14();
717
718
  };
718
- protoOf(NullRefImpl).bx = function (scope) {
719
+ protoOf(NullRefImpl).b14 = function (scope) {
719
720
  return this;
720
721
  };
721
722
  protoOf(NullRefImpl).freshCopyFromScope = function (scope) {
722
- return this.bx(scope);
723
+ return this.b14(scope);
723
724
  };
724
- protoOf(NullRefImpl).rx = function () {
725
+ protoOf(NullRefImpl).r14 = function () {
725
726
  return isInterface(this, Term) ? this : THROW_CCE();
726
727
  };
727
- protoOf(NullRefImpl).mr = function () {
728
- return this.rx();
728
+ protoOf(NullRefImpl).wx = function () {
729
+ return this.r14();
729
730
  };
730
- protoOf(NullRefImpl).q17 = function (substitution) {
731
+ protoOf(NullRefImpl).x1e = function (substitution) {
731
732
  return this;
732
733
  };
733
734
  protoOf(NullRefImpl).applySubstitution = function (substitution) {
734
- return this.q17(substitution);
735
+ return this.x1e(substitution);
735
736
  };
736
- protoOf(NullRefImpl).q2u = function (substitution, substitutions) {
737
+ protoOf(NullRefImpl).v32 = function (substitution, substitutions) {
737
738
  return this;
738
739
  };
739
740
  protoOf(NullRefImpl).apply = function (substitution, substitutions) {
740
- return this.q2u(substitution, substitutions);
741
+ return this.v32(substitution, substitutions);
741
742
  };
742
- protoOf(NullRefImpl).p2u = function (substitution, substitutions) {
743
+ protoOf(NullRefImpl).u32 = function (substitution, substitutions) {
743
744
  return this;
744
745
  };
745
746
  protoOf(NullRefImpl).getSubstituted = function (substitution, substitutions) {
746
- return this.p2u(substitution, substitutions);
747
+ return this.u32(substitution, substitutions);
747
748
  };
748
- protoOf(NullRefImpl).w16 = function (visitor) {
749
+ protoOf(NullRefImpl).v1d = function (visitor) {
749
750
  return visitor.visitAtom(this);
750
751
  };
751
752
  protoOf(NullRefImpl).accept = function (visitor) {
752
- return this.w16(visitor);
753
+ return this.v1d(visitor);
753
754
  };
754
- protoOf(NullRefImpl).cx = function () {
755
- return this.y52_1.cx();
755
+ protoOf(NullRefImpl).c14 = function () {
756
+ return this.d56_1.c14();
756
757
  };
757
758
  protoOf(NullRefImpl).asAtom = function () {
758
- return this.cx();
759
+ return this.c14();
759
760
  };
760
- protoOf(NullRefImpl).rw = function () {
761
- return this.y52_1.rw();
761
+ protoOf(NullRefImpl).r13 = function () {
762
+ return this.d56_1.r13();
762
763
  };
763
- protoOf(NullRefImpl).sw = function () {
764
- return this.y52_1.sw();
764
+ protoOf(NullRefImpl).s13 = function () {
765
+ return this.d56_1.s13();
765
766
  };
766
- protoOf(NullRefImpl).tw = function () {
767
- return this.y52_1.tw();
767
+ protoOf(NullRefImpl).t13 = function () {
768
+ return this.d56_1.t13();
768
769
  };
769
- protoOf(NullRefImpl).uw = function () {
770
- return this.y52_1.uw();
770
+ protoOf(NullRefImpl).u13 = function () {
771
+ return this.d56_1.u13();
771
772
  };
772
- protoOf(NullRefImpl).vw = function () {
773
- return this.y52_1.vw();
773
+ protoOf(NullRefImpl).v13 = function () {
774
+ return this.d56_1.v13();
774
775
  };
775
776
  protoOf(NullRefImpl).f1 = function () {
776
- return this.y52_1.f1();
777
+ return this.d56_1.f1();
777
778
  };
778
- protoOf(NullRefImpl).yw = function () {
779
- return this.y52_1.yw();
779
+ protoOf(NullRefImpl).y13 = function () {
780
+ return this.d56_1.y13();
780
781
  };
781
- protoOf(NullRefImpl).zw = function () {
782
- return this.y52_1.zw();
782
+ protoOf(NullRefImpl).z13 = function () {
783
+ return this.d56_1.z13();
783
784
  };
784
- protoOf(NullRefImpl).nx = function () {
785
- return this.y52_1.nx();
785
+ protoOf(NullRefImpl).n14 = function () {
786
+ return this.d56_1.n14();
786
787
  };
787
788
  protoOf(NullRefImpl).asStruct = function () {
788
- return this.nx();
789
+ return this.n14();
789
790
  };
790
791
  protoOf(NullRefImpl).append = function (argument) {
791
- return this.y52_1.append(argument);
792
+ return this.d56_1.append(argument);
792
793
  };
793
794
  protoOf(NullRefImpl).addLast = function (argument) {
794
- return this.y52_1.addLast(argument);
795
+ return this.d56_1.addLast(argument);
795
796
  };
796
797
  protoOf(NullRefImpl).addFirst = function (argument) {
797
- return this.y52_1.addFirst(argument);
798
+ return this.d56_1.addFirst(argument);
798
799
  };
799
800
  protoOf(NullRefImpl).insertAt = function (index, argument) {
800
- return this.y52_1.insertAt(index, argument);
801
+ return this.d56_1.insertAt(index, argument);
801
802
  };
802
803
  protoOf(NullRefImpl).setFunctor = function (functor) {
803
- return this.y52_1.setFunctor(functor);
804
+ return this.d56_1.setFunctor(functor);
804
805
  };
805
806
  protoOf(NullRefImpl).getArgAt = function (index) {
806
- return this.y52_1.getArgAt(index);
807
+ return this.d56_1.getArgAt(index);
807
808
  };
808
809
  protoOf(NullRefImpl).setArgs = function (args) {
809
- return this.y52_1.setArgs(args);
810
+ return this.d56_1.setArgs(args);
810
811
  };
811
812
  protoOf(NullRefImpl).setArgsIterable = function (args) {
812
- return this.y52_1.setArgsIterable(args);
813
+ return this.d56_1.setArgsIterable(args);
813
814
  };
814
815
  protoOf(NullRefImpl).setArgsSequence = function (args) {
815
- return this.y52_1.setArgsSequence(args);
816
+ return this.d56_1.setArgsSequence(args);
816
817
  };
817
818
  protoOf(NullRefImpl).get = function (index) {
818
- return this.y52_1.get(index);
819
+ return this.d56_1.get(index);
819
820
  };
820
- protoOf(NullRefImpl).dx = function () {
821
- return this.y52_1.dx();
821
+ protoOf(NullRefImpl).d14 = function () {
822
+ return this.d56_1.d14();
822
823
  };
823
- protoOf(NullRefImpl).ex = function () {
824
- return this.y52_1.ex();
824
+ protoOf(NullRefImpl).e14 = function () {
825
+ return this.d56_1.e14();
825
826
  };
826
- protoOf(NullRefImpl).fx = function () {
827
- return this.y52_1.fx();
827
+ protoOf(NullRefImpl).f14 = function () {
828
+ return this.d56_1.f14();
828
829
  };
829
- protoOf(NullRefImpl).ix = function () {
830
- return this.y52_1.ix();
830
+ protoOf(NullRefImpl).i14 = function () {
831
+ return this.d56_1.i14();
831
832
  };
832
- protoOf(NullRefImpl).jx = function () {
833
- return this.y52_1.jx();
833
+ protoOf(NullRefImpl).j14 = function () {
834
+ return this.d56_1.j14();
834
835
  };
835
- protoOf(NullRefImpl).kx = function () {
836
- return this.y52_1.kx();
836
+ protoOf(NullRefImpl).k14 = function () {
837
+ return this.d56_1.k14();
837
838
  };
838
- protoOf(NullRefImpl).mx = function () {
839
- return this.y52_1.mx();
839
+ protoOf(NullRefImpl).m14 = function () {
840
+ return this.d56_1.m14();
840
841
  };
841
- protoOf(NullRefImpl).xw = function () {
842
- return this.y52_1.xw();
842
+ protoOf(NullRefImpl).x13 = function () {
843
+ return this.d56_1.x13();
843
844
  };
844
- protoOf(NullRefImpl).ox = function () {
845
- return this.y52_1.ox();
845
+ protoOf(NullRefImpl).o14 = function () {
846
+ return this.d56_1.o14();
846
847
  };
847
- protoOf(NullRefImpl).px = function () {
848
- return this.y52_1.px();
848
+ protoOf(NullRefImpl).p14 = function () {
849
+ return this.d56_1.p14();
849
850
  };
850
- protoOf(NullRefImpl).qx = function () {
851
- return this.y52_1.qx();
851
+ protoOf(NullRefImpl).q14 = function () {
852
+ return this.d56_1.q14();
852
853
  };
853
- protoOf(NullRefImpl).sx = function (other) {
854
- return this.y52_1.sx(other);
854
+ protoOf(NullRefImpl).s14 = function (other) {
855
+ return this.d56_1.s14(other);
855
856
  };
856
857
  protoOf(NullRefImpl).d = function (other) {
857
- return this.sx((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
858
+ return this.s14((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
858
859
  };
859
860
  protoOf(NullRefImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
860
- return this.y52_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
861
+ return this.d56_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
861
862
  };
862
863
  protoOf(NullRefImpl).equals = function (other) {
863
- return this.y52_1.equals(other);
864
+ return this.d56_1.equals(other);
864
865
  };
865
866
  protoOf(NullRefImpl).structurallyEquals = function (other) {
866
- return this.y52_1.structurallyEquals(other);
867
+ return this.d56_1.structurallyEquals(other);
867
868
  };
868
869
  protoOf(NullRefImpl).castToAtom = function () {
869
- return this.y52_1.castToAtom();
870
+ return this.d56_1.castToAtom();
870
871
  };
871
872
  protoOf(NullRefImpl).castToClause = function () {
872
- return this.y52_1.castToClause();
873
+ return this.d56_1.castToClause();
873
874
  };
874
875
  protoOf(NullRefImpl).castToCons = function () {
875
- return this.y52_1.castToCons();
876
+ return this.d56_1.castToCons();
876
877
  };
877
878
  protoOf(NullRefImpl).castToConstant = function () {
878
- return this.y52_1.castToConstant();
879
+ return this.d56_1.castToConstant();
879
880
  };
880
881
  protoOf(NullRefImpl).castToDirective = function () {
881
- return this.y52_1.castToDirective();
882
+ return this.d56_1.castToDirective();
882
883
  };
883
884
  protoOf(NullRefImpl).castToEmptyList = function () {
884
- return this.y52_1.castToEmptyList();
885
+ return this.d56_1.castToEmptyList();
885
886
  };
886
887
  protoOf(NullRefImpl).castToEmptyBlock = function () {
887
- return this.y52_1.castToEmptyBlock();
888
+ return this.d56_1.castToEmptyBlock();
888
889
  };
889
890
  protoOf(NullRefImpl).castToFact = function () {
890
- return this.y52_1.castToFact();
891
+ return this.d56_1.castToFact();
891
892
  };
892
893
  protoOf(NullRefImpl).castToIndicator = function () {
893
- return this.y52_1.castToIndicator();
894
+ return this.d56_1.castToIndicator();
894
895
  };
895
896
  protoOf(NullRefImpl).castToInteger = function () {
896
- return this.y52_1.castToInteger();
897
+ return this.d56_1.castToInteger();
897
898
  };
898
899
  protoOf(NullRefImpl).castToList = function () {
899
- return this.y52_1.castToList();
900
+ return this.d56_1.castToList();
900
901
  };
901
902
  protoOf(NullRefImpl).castToNumeric = function () {
902
- return this.y52_1.castToNumeric();
903
+ return this.d56_1.castToNumeric();
903
904
  };
904
905
  protoOf(NullRefImpl).castToReal = function () {
905
- return this.y52_1.castToReal();
906
+ return this.d56_1.castToReal();
906
907
  };
907
908
  protoOf(NullRefImpl).castToRule = function () {
908
- return this.y52_1.castToRule();
909
+ return this.d56_1.castToRule();
909
910
  };
910
911
  protoOf(NullRefImpl).castToBlock = function () {
911
- return this.y52_1.castToBlock();
912
+ return this.d56_1.castToBlock();
912
913
  };
913
914
  protoOf(NullRefImpl).castToStruct = function () {
914
- return this.y52_1.castToStruct();
915
+ return this.d56_1.castToStruct();
915
916
  };
916
917
  protoOf(NullRefImpl).castToRecursive = function () {
917
- return this.y52_1.castToRecursive();
918
+ return this.d56_1.castToRecursive();
918
919
  };
919
920
  protoOf(NullRefImpl).castToTerm = function () {
920
- return this.y52_1.castToTerm();
921
+ return this.d56_1.castToTerm();
921
922
  };
922
923
  protoOf(NullRefImpl).castToTruth = function () {
923
- return this.y52_1.castToTruth();
924
+ return this.d56_1.castToTruth();
924
925
  };
925
926
  protoOf(NullRefImpl).castToTuple = function () {
926
- return this.y52_1.castToTuple();
927
+ return this.d56_1.castToTuple();
927
928
  };
928
929
  protoOf(NullRefImpl).castToVar = function () {
929
- return this.y52_1.castToVar();
930
+ return this.d56_1.castToVar();
930
931
  };
931
932
  protoOf(NullRefImpl).asClause = function () {
932
- return this.y52_1.asClause();
933
+ return this.d56_1.asClause();
933
934
  };
934
935
  protoOf(NullRefImpl).asCons = function () {
935
- return this.y52_1.asCons();
936
+ return this.d56_1.asCons();
936
937
  };
937
938
  protoOf(NullRefImpl).asDirective = function () {
938
- return this.y52_1.asDirective();
939
+ return this.d56_1.asDirective();
939
940
  };
940
941
  protoOf(NullRefImpl).asEmptyList = function () {
941
- return this.y52_1.asEmptyList();
942
+ return this.d56_1.asEmptyList();
942
943
  };
943
944
  protoOf(NullRefImpl).asEmptyBlock = function () {
944
- return this.y52_1.asEmptyBlock();
945
+ return this.d56_1.asEmptyBlock();
945
946
  };
946
947
  protoOf(NullRefImpl).asFact = function () {
947
- return this.y52_1.asFact();
948
+ return this.d56_1.asFact();
948
949
  };
949
950
  protoOf(NullRefImpl).asIndicator = function () {
950
- return this.y52_1.asIndicator();
951
+ return this.d56_1.asIndicator();
951
952
  };
952
953
  protoOf(NullRefImpl).asInteger = function () {
953
- return this.y52_1.asInteger();
954
+ return this.d56_1.asInteger();
954
955
  };
955
956
  protoOf(NullRefImpl).asList = function () {
956
- return this.y52_1.asList();
957
+ return this.d56_1.asList();
957
958
  };
958
959
  protoOf(NullRefImpl).asNumeric = function () {
959
- return this.y52_1.asNumeric();
960
+ return this.d56_1.asNumeric();
960
961
  };
961
962
  protoOf(NullRefImpl).asReal = function () {
962
- return this.y52_1.asReal();
963
+ return this.d56_1.asReal();
963
964
  };
964
965
  protoOf(NullRefImpl).asRule = function () {
965
- return this.y52_1.asRule();
966
+ return this.d56_1.asRule();
966
967
  };
967
968
  protoOf(NullRefImpl).asBlock = function () {
968
- return this.y52_1.asBlock();
969
+ return this.d56_1.asBlock();
969
970
  };
970
971
  protoOf(NullRefImpl).asRecursive = function () {
971
- return this.y52_1.asRecursive();
972
+ return this.d56_1.asRecursive();
972
973
  };
973
974
  protoOf(NullRefImpl).asTerm = function () {
974
- return this.y52_1.asTerm();
975
+ return this.d56_1.asTerm();
975
976
  };
976
977
  protoOf(NullRefImpl).asTruth = function () {
977
- return this.y52_1.asTruth();
978
+ return this.d56_1.asTruth();
978
979
  };
979
980
  protoOf(NullRefImpl).asTuple = function () {
980
- return this.y52_1.asTuple();
981
+ return this.d56_1.asTuple();
981
982
  };
982
983
  protoOf(NullRefImpl).asVar = function () {
983
- return this.y52_1.asVar();
984
+ return this.d56_1.asVar();
984
985
  };
985
986
  protoOf(NullRefImpl).hashCode = function () {
986
- return this.y52_1.hashCode();
987
+ return this.d56_1.hashCode();
987
988
  };
988
989
  protoOf(NullRefImpl).toString = function () {
989
- return this.y52_1.toString();
990
+ return this.d56_1.toString();
990
991
  };
991
- protoOf(NullRefImpl).tx = function () {
992
- return this.y52_1.tx();
992
+ protoOf(NullRefImpl).t14 = function () {
993
+ return this.d56_1.t14();
993
994
  };
994
- protoOf(NullRefImpl).ux = function () {
995
- return this.y52_1.ux();
995
+ protoOf(NullRefImpl).u14 = function () {
996
+ return this.d56_1.u14();
996
997
  };
997
- protoOf(NullRefImpl).vx = function () {
998
- return this.y52_1.vx();
998
+ protoOf(NullRefImpl).v14 = function () {
999
+ return this.d56_1.v14();
999
1000
  };
1000
- protoOf(NullRefImpl).xx = function () {
1001
- return this.y52_1.xx();
1001
+ protoOf(NullRefImpl).x14 = function () {
1002
+ return this.d56_1.x14();
1002
1003
  };
1003
- protoOf(NullRefImpl).yx = function () {
1004
- return this.y52_1.yx();
1004
+ protoOf(NullRefImpl).xo = function () {
1005
+ return this.d56_1.xo();
1005
1006
  };
1006
- protoOf(NullRefImpl).zx = function () {
1007
- return this.y52_1.zx();
1007
+ protoOf(NullRefImpl).y14 = function () {
1008
+ return this.d56_1.y14();
1008
1009
  };
1009
1010
  protoOf(NullRefImpl).getTag = function (name) {
1010
- return this.y52_1.getTag(name);
1011
+ return this.d56_1.getTag(name);
1011
1012
  };
1012
1013
  protoOf(NullRefImpl).resetTags = function (tags) {
1013
- return this.y52_1.resetTags(tags);
1014
+ return this.d56_1.resetTags(tags);
1014
1015
  };
1015
1016
  protoOf(NullRefImpl).containsTag = function (name) {
1016
- return this.y52_1.containsTag(name);
1017
+ return this.d56_1.containsTag(name);
1017
1018
  };
1018
- protoOf(NullRefImpl).cu = function () {
1019
- return this.y52_1.cu();
1019
+ protoOf(NullRefImpl).gz = function () {
1020
+ return this.d56_1.gz();
1020
1021
  };
1021
- protoOf(NullRefImpl).by = function () {
1022
- return this.y52_1.by();
1022
+ protoOf(NullRefImpl).a15 = function () {
1023
+ return this.d56_1.a15();
1023
1024
  };
1024
1025
  var NullRefImpl_instance;
1025
1026
  function NullRefImpl_getInstance() {
@@ -1028,349 +1029,349 @@
1028
1029
  return NullRefImpl_instance;
1029
1030
  }
1030
1031
  function ObjectRefImpl(object) {
1031
- this.z52_1 = Companion_getInstance_0().of(Companion_getInstance_10().u51(object));
1032
- this.a53_1 = object;
1032
+ this.e56_1 = Companion_getInstance_0().of(Companion_getInstance_10().z54(object));
1033
+ this.f56_1 = object;
1033
1034
  }
1034
- protoOf(ObjectRefImpl).m51 = function () {
1035
- return this.a53_1;
1035
+ protoOf(ObjectRefImpl).r54 = function () {
1036
+ return this.f56_1;
1036
1037
  };
1037
- protoOf(ObjectRefImpl).wx = function () {
1038
+ protoOf(ObjectRefImpl).w14 = function () {
1038
1039
  return true;
1039
1040
  };
1040
- protoOf(ObjectRefImpl).ay = function () {
1041
+ protoOf(ObjectRefImpl).z14 = function () {
1041
1042
  return this;
1042
1043
  };
1043
1044
  protoOf(ObjectRefImpl).asConstant = function () {
1044
- return this.ay();
1045
+ return this.z14();
1045
1046
  };
1046
- protoOf(ObjectRefImpl).n51 = function (objectConverter, methodName, arguments_0) {
1047
- return invoke_0(this.a53_1, objectConverter, methodName, arguments_0);
1047
+ protoOf(ObjectRefImpl).s54 = function (objectConverter, methodName, arguments_0) {
1048
+ return invoke_0(this.f56_1, objectConverter, methodName, arguments_0);
1048
1049
  };
1049
- protoOf(ObjectRefImpl).o51 = function (objectConverter, propertyName, value) {
1050
- assign_0(this.a53_1, objectConverter, propertyName, value);
1050
+ protoOf(ObjectRefImpl).t54 = function (objectConverter, propertyName, value) {
1051
+ assign_0(this.f56_1, objectConverter, propertyName, value);
1051
1052
  return true;
1052
1053
  };
1053
- protoOf(ObjectRefImpl).ax = function () {
1054
+ protoOf(ObjectRefImpl).a14 = function () {
1054
1055
  return this;
1055
1056
  };
1056
1057
  protoOf(ObjectRefImpl).freshCopy = function () {
1057
- return this.ax();
1058
+ return this.a14();
1058
1059
  };
1059
- protoOf(ObjectRefImpl).bx = function (scope) {
1060
+ protoOf(ObjectRefImpl).b14 = function (scope) {
1060
1061
  return this;
1061
1062
  };
1062
1063
  protoOf(ObjectRefImpl).freshCopyFromScope = function (scope) {
1063
- return this.bx(scope);
1064
+ return this.b14(scope);
1064
1065
  };
1065
- protoOf(ObjectRefImpl).rx = function () {
1066
+ protoOf(ObjectRefImpl).r14 = function () {
1066
1067
  return isInterface(this, Term) ? this : THROW_CCE();
1067
1068
  };
1068
- protoOf(ObjectRefImpl).mr = function () {
1069
- return this.rx();
1069
+ protoOf(ObjectRefImpl).wx = function () {
1070
+ return this.r14();
1070
1071
  };
1071
- protoOf(ObjectRefImpl).q17 = function (substitution) {
1072
+ protoOf(ObjectRefImpl).x1e = function (substitution) {
1072
1073
  return this;
1073
1074
  };
1074
1075
  protoOf(ObjectRefImpl).applySubstitution = function (substitution) {
1075
- return this.q17(substitution);
1076
+ return this.x1e(substitution);
1076
1077
  };
1077
- protoOf(ObjectRefImpl).q2u = function (substitution, substitutions) {
1078
+ protoOf(ObjectRefImpl).v32 = function (substitution, substitutions) {
1078
1079
  return this;
1079
1080
  };
1080
1081
  protoOf(ObjectRefImpl).apply = function (substitution, substitutions) {
1081
- return this.q2u(substitution, substitutions);
1082
+ return this.v32(substitution, substitutions);
1082
1083
  };
1083
- protoOf(ObjectRefImpl).p2u = function (substitution, substitutions) {
1084
+ protoOf(ObjectRefImpl).u32 = function (substitution, substitutions) {
1084
1085
  return this;
1085
1086
  };
1086
1087
  protoOf(ObjectRefImpl).getSubstituted = function (substitution, substitutions) {
1087
- return this.p2u(substitution, substitutions);
1088
+ return this.u32(substitution, substitutions);
1088
1089
  };
1089
- protoOf(ObjectRefImpl).w16 = function (visitor) {
1090
+ protoOf(ObjectRefImpl).v1d = function (visitor) {
1090
1091
  return visitor.visitAtom(this);
1091
1092
  };
1092
1093
  protoOf(ObjectRefImpl).accept = function (visitor) {
1093
- return this.w16(visitor);
1094
+ return this.v1d(visitor);
1094
1095
  };
1095
- protoOf(ObjectRefImpl).cx = function () {
1096
- return this.z52_1.cx();
1096
+ protoOf(ObjectRefImpl).c14 = function () {
1097
+ return this.e56_1.c14();
1097
1098
  };
1098
1099
  protoOf(ObjectRefImpl).asAtom = function () {
1099
- return this.cx();
1100
+ return this.c14();
1100
1101
  };
1101
- protoOf(ObjectRefImpl).rw = function () {
1102
- return this.z52_1.rw();
1102
+ protoOf(ObjectRefImpl).r13 = function () {
1103
+ return this.e56_1.r13();
1103
1104
  };
1104
- protoOf(ObjectRefImpl).sw = function () {
1105
- return this.z52_1.sw();
1105
+ protoOf(ObjectRefImpl).s13 = function () {
1106
+ return this.e56_1.s13();
1106
1107
  };
1107
- protoOf(ObjectRefImpl).tw = function () {
1108
- return this.z52_1.tw();
1108
+ protoOf(ObjectRefImpl).t13 = function () {
1109
+ return this.e56_1.t13();
1109
1110
  };
1110
- protoOf(ObjectRefImpl).uw = function () {
1111
- return this.z52_1.uw();
1111
+ protoOf(ObjectRefImpl).u13 = function () {
1112
+ return this.e56_1.u13();
1112
1113
  };
1113
- protoOf(ObjectRefImpl).vw = function () {
1114
- return this.z52_1.vw();
1114
+ protoOf(ObjectRefImpl).v13 = function () {
1115
+ return this.e56_1.v13();
1115
1116
  };
1116
1117
  protoOf(ObjectRefImpl).f1 = function () {
1117
- return this.z52_1.f1();
1118
+ return this.e56_1.f1();
1118
1119
  };
1119
- protoOf(ObjectRefImpl).yw = function () {
1120
- return this.z52_1.yw();
1120
+ protoOf(ObjectRefImpl).y13 = function () {
1121
+ return this.e56_1.y13();
1121
1122
  };
1122
- protoOf(ObjectRefImpl).zw = function () {
1123
- return this.z52_1.zw();
1123
+ protoOf(ObjectRefImpl).z13 = function () {
1124
+ return this.e56_1.z13();
1124
1125
  };
1125
- protoOf(ObjectRefImpl).nx = function () {
1126
- return this.z52_1.nx();
1126
+ protoOf(ObjectRefImpl).n14 = function () {
1127
+ return this.e56_1.n14();
1127
1128
  };
1128
1129
  protoOf(ObjectRefImpl).asStruct = function () {
1129
- return this.nx();
1130
+ return this.n14();
1130
1131
  };
1131
1132
  protoOf(ObjectRefImpl).append = function (argument) {
1132
- return this.z52_1.append(argument);
1133
+ return this.e56_1.append(argument);
1133
1134
  };
1134
1135
  protoOf(ObjectRefImpl).addLast = function (argument) {
1135
- return this.z52_1.addLast(argument);
1136
+ return this.e56_1.addLast(argument);
1136
1137
  };
1137
1138
  protoOf(ObjectRefImpl).addFirst = function (argument) {
1138
- return this.z52_1.addFirst(argument);
1139
+ return this.e56_1.addFirst(argument);
1139
1140
  };
1140
1141
  protoOf(ObjectRefImpl).insertAt = function (index, argument) {
1141
- return this.z52_1.insertAt(index, argument);
1142
+ return this.e56_1.insertAt(index, argument);
1142
1143
  };
1143
1144
  protoOf(ObjectRefImpl).setFunctor = function (functor) {
1144
- return this.z52_1.setFunctor(functor);
1145
+ return this.e56_1.setFunctor(functor);
1145
1146
  };
1146
1147
  protoOf(ObjectRefImpl).getArgAt = function (index) {
1147
- return this.z52_1.getArgAt(index);
1148
+ return this.e56_1.getArgAt(index);
1148
1149
  };
1149
1150
  protoOf(ObjectRefImpl).setArgs = function (args) {
1150
- return this.z52_1.setArgs(args);
1151
+ return this.e56_1.setArgs(args);
1151
1152
  };
1152
1153
  protoOf(ObjectRefImpl).setArgsIterable = function (args) {
1153
- return this.z52_1.setArgsIterable(args);
1154
+ return this.e56_1.setArgsIterable(args);
1154
1155
  };
1155
1156
  protoOf(ObjectRefImpl).setArgsSequence = function (args) {
1156
- return this.z52_1.setArgsSequence(args);
1157
+ return this.e56_1.setArgsSequence(args);
1157
1158
  };
1158
1159
  protoOf(ObjectRefImpl).get = function (index) {
1159
- return this.z52_1.get(index);
1160
+ return this.e56_1.get(index);
1160
1161
  };
1161
- protoOf(ObjectRefImpl).dx = function () {
1162
- return this.z52_1.dx();
1162
+ protoOf(ObjectRefImpl).d14 = function () {
1163
+ return this.e56_1.d14();
1163
1164
  };
1164
- protoOf(ObjectRefImpl).ex = function () {
1165
- return this.z52_1.ex();
1165
+ protoOf(ObjectRefImpl).e14 = function () {
1166
+ return this.e56_1.e14();
1166
1167
  };
1167
- protoOf(ObjectRefImpl).fx = function () {
1168
- return this.z52_1.fx();
1168
+ protoOf(ObjectRefImpl).f14 = function () {
1169
+ return this.e56_1.f14();
1169
1170
  };
1170
- protoOf(ObjectRefImpl).ix = function () {
1171
- return this.z52_1.ix();
1171
+ protoOf(ObjectRefImpl).i14 = function () {
1172
+ return this.e56_1.i14();
1172
1173
  };
1173
- protoOf(ObjectRefImpl).jx = function () {
1174
- return this.z52_1.jx();
1174
+ protoOf(ObjectRefImpl).j14 = function () {
1175
+ return this.e56_1.j14();
1175
1176
  };
1176
- protoOf(ObjectRefImpl).kx = function () {
1177
- return this.z52_1.kx();
1177
+ protoOf(ObjectRefImpl).k14 = function () {
1178
+ return this.e56_1.k14();
1178
1179
  };
1179
- protoOf(ObjectRefImpl).mx = function () {
1180
- return this.z52_1.mx();
1180
+ protoOf(ObjectRefImpl).m14 = function () {
1181
+ return this.e56_1.m14();
1181
1182
  };
1182
- protoOf(ObjectRefImpl).xw = function () {
1183
- return this.z52_1.xw();
1183
+ protoOf(ObjectRefImpl).x13 = function () {
1184
+ return this.e56_1.x13();
1184
1185
  };
1185
- protoOf(ObjectRefImpl).ox = function () {
1186
- return this.z52_1.ox();
1186
+ protoOf(ObjectRefImpl).o14 = function () {
1187
+ return this.e56_1.o14();
1187
1188
  };
1188
- protoOf(ObjectRefImpl).px = function () {
1189
- return this.z52_1.px();
1189
+ protoOf(ObjectRefImpl).p14 = function () {
1190
+ return this.e56_1.p14();
1190
1191
  };
1191
- protoOf(ObjectRefImpl).qx = function () {
1192
- return this.z52_1.qx();
1192
+ protoOf(ObjectRefImpl).q14 = function () {
1193
+ return this.e56_1.q14();
1193
1194
  };
1194
- protoOf(ObjectRefImpl).sx = function (other) {
1195
- return this.z52_1.sx(other);
1195
+ protoOf(ObjectRefImpl).s14 = function (other) {
1196
+ return this.e56_1.s14(other);
1196
1197
  };
1197
1198
  protoOf(ObjectRefImpl).d = function (other) {
1198
- return this.sx((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
1199
+ return this.s14((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
1199
1200
  };
1200
1201
  protoOf(ObjectRefImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
1201
- return this.z52_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1202
+ return this.e56_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1202
1203
  };
1203
1204
  protoOf(ObjectRefImpl).equals = function (other) {
1204
- return this.z52_1.equals(other);
1205
+ return this.e56_1.equals(other);
1205
1206
  };
1206
1207
  protoOf(ObjectRefImpl).structurallyEquals = function (other) {
1207
- return this.z52_1.structurallyEquals(other);
1208
+ return this.e56_1.structurallyEquals(other);
1208
1209
  };
1209
1210
  protoOf(ObjectRefImpl).castToAtom = function () {
1210
- return this.z52_1.castToAtom();
1211
+ return this.e56_1.castToAtom();
1211
1212
  };
1212
1213
  protoOf(ObjectRefImpl).castToClause = function () {
1213
- return this.z52_1.castToClause();
1214
+ return this.e56_1.castToClause();
1214
1215
  };
1215
1216
  protoOf(ObjectRefImpl).castToCons = function () {
1216
- return this.z52_1.castToCons();
1217
+ return this.e56_1.castToCons();
1217
1218
  };
1218
1219
  protoOf(ObjectRefImpl).castToConstant = function () {
1219
- return this.z52_1.castToConstant();
1220
+ return this.e56_1.castToConstant();
1220
1221
  };
1221
1222
  protoOf(ObjectRefImpl).castToDirective = function () {
1222
- return this.z52_1.castToDirective();
1223
+ return this.e56_1.castToDirective();
1223
1224
  };
1224
1225
  protoOf(ObjectRefImpl).castToEmptyList = function () {
1225
- return this.z52_1.castToEmptyList();
1226
+ return this.e56_1.castToEmptyList();
1226
1227
  };
1227
1228
  protoOf(ObjectRefImpl).castToEmptyBlock = function () {
1228
- return this.z52_1.castToEmptyBlock();
1229
+ return this.e56_1.castToEmptyBlock();
1229
1230
  };
1230
1231
  protoOf(ObjectRefImpl).castToFact = function () {
1231
- return this.z52_1.castToFact();
1232
+ return this.e56_1.castToFact();
1232
1233
  };
1233
1234
  protoOf(ObjectRefImpl).castToIndicator = function () {
1234
- return this.z52_1.castToIndicator();
1235
+ return this.e56_1.castToIndicator();
1235
1236
  };
1236
1237
  protoOf(ObjectRefImpl).castToInteger = function () {
1237
- return this.z52_1.castToInteger();
1238
+ return this.e56_1.castToInteger();
1238
1239
  };
1239
1240
  protoOf(ObjectRefImpl).castToList = function () {
1240
- return this.z52_1.castToList();
1241
+ return this.e56_1.castToList();
1241
1242
  };
1242
1243
  protoOf(ObjectRefImpl).castToNumeric = function () {
1243
- return this.z52_1.castToNumeric();
1244
+ return this.e56_1.castToNumeric();
1244
1245
  };
1245
1246
  protoOf(ObjectRefImpl).castToReal = function () {
1246
- return this.z52_1.castToReal();
1247
+ return this.e56_1.castToReal();
1247
1248
  };
1248
1249
  protoOf(ObjectRefImpl).castToRule = function () {
1249
- return this.z52_1.castToRule();
1250
+ return this.e56_1.castToRule();
1250
1251
  };
1251
1252
  protoOf(ObjectRefImpl).castToBlock = function () {
1252
- return this.z52_1.castToBlock();
1253
+ return this.e56_1.castToBlock();
1253
1254
  };
1254
1255
  protoOf(ObjectRefImpl).castToStruct = function () {
1255
- return this.z52_1.castToStruct();
1256
+ return this.e56_1.castToStruct();
1256
1257
  };
1257
1258
  protoOf(ObjectRefImpl).castToRecursive = function () {
1258
- return this.z52_1.castToRecursive();
1259
+ return this.e56_1.castToRecursive();
1259
1260
  };
1260
1261
  protoOf(ObjectRefImpl).castToTerm = function () {
1261
- return this.z52_1.castToTerm();
1262
+ return this.e56_1.castToTerm();
1262
1263
  };
1263
1264
  protoOf(ObjectRefImpl).castToTruth = function () {
1264
- return this.z52_1.castToTruth();
1265
+ return this.e56_1.castToTruth();
1265
1266
  };
1266
1267
  protoOf(ObjectRefImpl).castToTuple = function () {
1267
- return this.z52_1.castToTuple();
1268
+ return this.e56_1.castToTuple();
1268
1269
  };
1269
1270
  protoOf(ObjectRefImpl).castToVar = function () {
1270
- return this.z52_1.castToVar();
1271
+ return this.e56_1.castToVar();
1271
1272
  };
1272
1273
  protoOf(ObjectRefImpl).asClause = function () {
1273
- return this.z52_1.asClause();
1274
+ return this.e56_1.asClause();
1274
1275
  };
1275
1276
  protoOf(ObjectRefImpl).asCons = function () {
1276
- return this.z52_1.asCons();
1277
+ return this.e56_1.asCons();
1277
1278
  };
1278
1279
  protoOf(ObjectRefImpl).asDirective = function () {
1279
- return this.z52_1.asDirective();
1280
+ return this.e56_1.asDirective();
1280
1281
  };
1281
1282
  protoOf(ObjectRefImpl).asEmptyList = function () {
1282
- return this.z52_1.asEmptyList();
1283
+ return this.e56_1.asEmptyList();
1283
1284
  };
1284
1285
  protoOf(ObjectRefImpl).asEmptyBlock = function () {
1285
- return this.z52_1.asEmptyBlock();
1286
+ return this.e56_1.asEmptyBlock();
1286
1287
  };
1287
1288
  protoOf(ObjectRefImpl).asFact = function () {
1288
- return this.z52_1.asFact();
1289
+ return this.e56_1.asFact();
1289
1290
  };
1290
1291
  protoOf(ObjectRefImpl).asIndicator = function () {
1291
- return this.z52_1.asIndicator();
1292
+ return this.e56_1.asIndicator();
1292
1293
  };
1293
1294
  protoOf(ObjectRefImpl).asInteger = function () {
1294
- return this.z52_1.asInteger();
1295
+ return this.e56_1.asInteger();
1295
1296
  };
1296
1297
  protoOf(ObjectRefImpl).asList = function () {
1297
- return this.z52_1.asList();
1298
+ return this.e56_1.asList();
1298
1299
  };
1299
1300
  protoOf(ObjectRefImpl).asNumeric = function () {
1300
- return this.z52_1.asNumeric();
1301
+ return this.e56_1.asNumeric();
1301
1302
  };
1302
1303
  protoOf(ObjectRefImpl).asReal = function () {
1303
- return this.z52_1.asReal();
1304
+ return this.e56_1.asReal();
1304
1305
  };
1305
1306
  protoOf(ObjectRefImpl).asRule = function () {
1306
- return this.z52_1.asRule();
1307
+ return this.e56_1.asRule();
1307
1308
  };
1308
1309
  protoOf(ObjectRefImpl).asBlock = function () {
1309
- return this.z52_1.asBlock();
1310
+ return this.e56_1.asBlock();
1310
1311
  };
1311
1312
  protoOf(ObjectRefImpl).asRecursive = function () {
1312
- return this.z52_1.asRecursive();
1313
+ return this.e56_1.asRecursive();
1313
1314
  };
1314
1315
  protoOf(ObjectRefImpl).asTerm = function () {
1315
- return this.z52_1.asTerm();
1316
+ return this.e56_1.asTerm();
1316
1317
  };
1317
1318
  protoOf(ObjectRefImpl).asTruth = function () {
1318
- return this.z52_1.asTruth();
1319
+ return this.e56_1.asTruth();
1319
1320
  };
1320
1321
  protoOf(ObjectRefImpl).asTuple = function () {
1321
- return this.z52_1.asTuple();
1322
+ return this.e56_1.asTuple();
1322
1323
  };
1323
1324
  protoOf(ObjectRefImpl).asVar = function () {
1324
- return this.z52_1.asVar();
1325
+ return this.e56_1.asVar();
1325
1326
  };
1326
1327
  protoOf(ObjectRefImpl).hashCode = function () {
1327
- return this.z52_1.hashCode();
1328
+ return this.e56_1.hashCode();
1328
1329
  };
1329
1330
  protoOf(ObjectRefImpl).toString = function () {
1330
- return this.z52_1.toString();
1331
+ return this.e56_1.toString();
1331
1332
  };
1332
- protoOf(ObjectRefImpl).tx = function () {
1333
- return this.z52_1.tx();
1333
+ protoOf(ObjectRefImpl).t14 = function () {
1334
+ return this.e56_1.t14();
1334
1335
  };
1335
- protoOf(ObjectRefImpl).ux = function () {
1336
- return this.z52_1.ux();
1336
+ protoOf(ObjectRefImpl).u14 = function () {
1337
+ return this.e56_1.u14();
1337
1338
  };
1338
- protoOf(ObjectRefImpl).vx = function () {
1339
- return this.z52_1.vx();
1339
+ protoOf(ObjectRefImpl).v14 = function () {
1340
+ return this.e56_1.v14();
1340
1341
  };
1341
- protoOf(ObjectRefImpl).xx = function () {
1342
- return this.z52_1.xx();
1342
+ protoOf(ObjectRefImpl).x14 = function () {
1343
+ return this.e56_1.x14();
1343
1344
  };
1344
- protoOf(ObjectRefImpl).yx = function () {
1345
- return this.z52_1.yx();
1345
+ protoOf(ObjectRefImpl).xo = function () {
1346
+ return this.e56_1.xo();
1346
1347
  };
1347
- protoOf(ObjectRefImpl).zx = function () {
1348
- return this.z52_1.zx();
1348
+ protoOf(ObjectRefImpl).y14 = function () {
1349
+ return this.e56_1.y14();
1349
1350
  };
1350
1351
  protoOf(ObjectRefImpl).getTag = function (name) {
1351
- return this.z52_1.getTag(name);
1352
+ return this.e56_1.getTag(name);
1352
1353
  };
1353
1354
  protoOf(ObjectRefImpl).resetTags = function (tags) {
1354
- return this.z52_1.resetTags(tags);
1355
+ return this.e56_1.resetTags(tags);
1355
1356
  };
1356
1357
  protoOf(ObjectRefImpl).containsTag = function (name) {
1357
- return this.z52_1.containsTag(name);
1358
+ return this.e56_1.containsTag(name);
1358
1359
  };
1359
- protoOf(ObjectRefImpl).cu = function () {
1360
- return this.z52_1.cu();
1360
+ protoOf(ObjectRefImpl).gz = function () {
1361
+ return this.e56_1.gz();
1361
1362
  };
1362
- protoOf(ObjectRefImpl).by = function () {
1363
- return this.z52_1.by();
1363
+ protoOf(ObjectRefImpl).a15 = function () {
1364
+ return this.e56_1.a15();
1364
1365
  };
1365
1366
  function ObjectToTermConverterImpl() {
1366
- this.b53_1 = new NumberTypeTester();
1367
+ this.g56_1 = new NumberTypeTester();
1367
1368
  }
1368
- protoOf(ObjectToTermConverterImpl).b52 = function (source) {
1369
+ protoOf(ObjectToTermConverterImpl).g55 = function (source) {
1369
1370
  // Inline function 'kotlin.with' call
1370
- var $this$with = this.b53_1;
1371
+ var $this$with = this.g56_1;
1371
1372
  var tmp;
1372
1373
  if (source == null) {
1373
- tmp = Companion_getInstance_10().t51_1;
1374
+ tmp = Companion_getInstance_10().y54_1;
1374
1375
  } else {
1375
1376
  if (typeof source === 'string') {
1376
1377
  tmp = Companion_getInstance_0().of(source);
@@ -1382,7 +1383,7 @@
1382
1383
  tmp = Companion_getInstance_2().ofBigDecimal(source);
1383
1384
  } else {
1384
1385
  if (isNumber(source)) {
1385
- tmp = $this$with.ut(source) ? Companion_getInstance_3().ofBigInteger($this$with.vt(source)) : Companion_getInstance_2().ofBigDecimal($this$with.wt(source));
1386
+ tmp = $this$with.yy(source) ? Companion_getInstance_3().ofBigInteger($this$with.zy(source)) : Companion_getInstance_2().ofBigDecimal($this$with.az(source));
1386
1387
  } else {
1387
1388
  if (source instanceof Char) {
1388
1389
  var tmp_0 = Companion_getInstance_0();
@@ -1393,7 +1394,7 @@
1393
1394
  if (typeof source === 'boolean') {
1394
1395
  tmp = Companion_getInstance_1().of(source);
1395
1396
  } else {
1396
- tmp = Companion_getInstance_10().v51(source);
1397
+ tmp = Companion_getInstance_10().a55(source);
1397
1398
  }
1398
1399
  }
1399
1400
  }
@@ -1406,7 +1407,7 @@
1406
1407
  function explicitConversion($this, castExpression, term, type) {
1407
1408
  var targetType = getType($this, castExpression, type);
1408
1409
  try {
1409
- return $this.h52(targetType, term);
1410
+ return $this.m55(targetType, term);
1410
1411
  } catch ($p) {
1411
1412
  if ($p instanceof TermToObjectConversionException) {
1412
1413
  var e = $p;
@@ -1424,10 +1425,10 @@
1424
1425
  function getType($this, castExpression, typeTerm) {
1425
1426
  var tmp;
1426
1427
  if (isInterface(typeTerm, TypeRef)) {
1427
- tmp = typeTerm.w27();
1428
+ tmp = typeTerm.b2e();
1428
1429
  } else {
1429
1430
  if (isInterface(typeTerm, Atom)) {
1430
- var tmp1_elvis_lhs = $this.c53_1.m52(typeTerm.f1());
1431
+ var tmp1_elvis_lhs = $this.h56_1.r55(typeTerm.f1());
1431
1432
  var tmp_0;
1432
1433
  if (tmp1_elvis_lhs == null) {
1433
1434
  throw TermToObjectConversionException_init_$Create$(castExpression);
@@ -1439,10 +1440,10 @@
1439
1440
  if (isInterface(typeTerm, Struct)) {
1440
1441
  var tmp_1;
1441
1442
  if (Companion_getInstance().matches(typeTerm, get_DEALIASING_TEMPLATE())) {
1442
- var ref = $this.d53_1(typeTerm);
1443
+ var ref = $this.i56_1(typeTerm);
1443
1444
  var tmp_2;
1444
1445
  if (!(ref == null) ? isInterface(ref, TypeRef) : false) {
1445
- tmp_2 = ref.w27();
1446
+ tmp_2 = ref.b2e();
1446
1447
  } else {
1447
1448
  throw TermToObjectConversionException_init_$Create$(castExpression);
1448
1449
  }
@@ -1467,50 +1468,50 @@
1467
1468
  tmp_0 = isInterface(term, Var);
1468
1469
  }
1469
1470
  if (tmp_0) {
1470
- tmp = sequenceOf(PrimitiveClasses_getInstance().z9());
1471
+ tmp = sequenceOf(PrimitiveClasses_getInstance().da());
1471
1472
  } else {
1472
1473
  if (isInterface(term, ObjectRef)) {
1473
- tmp = sequenceOf(getKClassFromExpression(term.m51()));
1474
+ tmp = sequenceOf(getKClassFromExpression(term.r54()));
1474
1475
  } else {
1475
1476
  if (isInterface(term, Truth)) {
1476
- tmp = sequenceOf_0([PrimitiveClasses_getInstance().aa(), PrimitiveClasses_getInstance().ia()]);
1477
+ tmp = sequenceOf_0([PrimitiveClasses_getInstance().ea(), PrimitiveClasses_getInstance().ma()]);
1477
1478
  } else {
1478
1479
  if (isInterface(term, Atom)) {
1479
- var admissible = sequenceOf(PrimitiveClasses_getInstance().ia());
1480
+ var admissible = sequenceOf(PrimitiveClasses_getInstance().ma());
1480
1481
  if (term.f1().length === 1) {
1481
1482
  admissible = plus(admissible, sequenceOf(getKClass(Char)));
1482
1483
  }
1483
1484
  tmp = admissible;
1484
1485
  } else {
1485
1486
  if (isInterface(term, Real)) {
1486
- tmp = sequenceOf_0([getKClass(BigDecimal), PrimitiveClasses_getInstance().ga(), PrimitiveClasses_getInstance().fa()]);
1487
+ tmp = sequenceOf_0([getKClass(BigDecimal), PrimitiveClasses_getInstance().ka(), PrimitiveClasses_getInstance().ja()]);
1487
1488
  } else {
1488
1489
  if (isInterface(term, Integer)) {
1489
1490
  var admissible_0 = sequenceOf(getKClass(BigInteger));
1490
- if (Companion_getInstance_4().ofLong(-9223372036854775808n).rangeTo(Companion_getInstance_4().ofLong(9223372036854775807n)).i1(term.f11())) {
1491
- admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ea()));
1491
+ if (Companion_getInstance_4().ofLong(-9223372036854775808n).rangeTo(Companion_getInstance_4().ofLong(9223372036854775807n)).j1(term.t17())) {
1492
+ admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ia()));
1492
1493
  }
1493
- if (Companion_getInstance_4().of(-2147483648).rangeTo(Companion_getInstance_4().of(2147483647)).i1(term.f11())) {
1494
- admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().da()));
1494
+ if (Companion_getInstance_4().of(-2147483648).rangeTo(Companion_getInstance_4().of(2147483647)).j1(term.t17())) {
1495
+ admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ha()));
1495
1496
  }
1496
- if (Companion_getInstance_4().of(-32768).rangeTo(Companion_getInstance_4().of(32767)).i1(term.f11())) {
1497
- admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ca()));
1497
+ if (Companion_getInstance_4().of(-32768).rangeTo(Companion_getInstance_4().of(32767)).j1(term.t17())) {
1498
+ admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ga()));
1498
1499
  }
1499
- if (Companion_getInstance_4().of(-128).rangeTo(Companion_getInstance_4().of(127)).i1(term.f11())) {
1500
- admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ba()));
1500
+ if (Companion_getInstance_4().of(-128).rangeTo(Companion_getInstance_4().of(127)).j1(term.t17())) {
1501
+ admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().fa()));
1501
1502
  }
1502
1503
  admissible_0 = plus(admissible_0, sequenceOf(getKClass(BigDecimal)));
1503
1504
  var containsLower = Companion_getInstance_5().ofDouble(4.9E-324);
1504
1505
  var containsUpper = Companion_getInstance_5().ofDouble(1.7976931348623157E308);
1505
- var containsArg = term.n11();
1506
+ var containsArg = term.b18();
1506
1507
  if (0 <= compareTo(containsArg, containsLower) ? compareTo(containsArg, containsUpper) <= 0 : false) {
1507
- admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ga()));
1508
+ admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ka()));
1508
1509
  }
1509
1510
  var containsLower_0 = Companion_getInstance_5().ofFloat(1.4E-45);
1510
1511
  var containsUpper_0 = Companion_getInstance_5().ofFloat(3.4028235E38);
1511
- var containsArg_0 = term.n11();
1512
+ var containsArg_0 = term.b18();
1512
1513
  if (0 <= compareTo(containsArg_0, containsLower_0) ? compareTo(containsArg_0, containsUpper_0) <= 0 : false) {
1513
- admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().fa()));
1514
+ admissible_0 = plus(admissible_0, sequenceOf(PrimitiveClasses_getInstance().ja()));
1514
1515
  }
1515
1516
  tmp = admissible_0;
1516
1517
  } else {
@@ -1519,7 +1520,7 @@
1519
1520
  if (Companion_getInstance().matches(term, get_CAST_TEMPLATE())) {
1520
1521
  tmp_1 = sequenceOf(getType($this, term, term.get(1)));
1521
1522
  } else if (Companion_getInstance().matches(term, get_DEALIASING_TEMPLATE())) {
1522
- var ref = $this.d53_1(term);
1523
+ var ref = $this.i56_1(term);
1523
1524
  var tmp_2;
1524
1525
  if (!(ref == null) ? isInterface(ref, ObjectRef) : false) {
1525
1526
  tmp_2 = admissibleTypesByPriority($this, ref);
@@ -1543,10 +1544,10 @@
1543
1544
  return tmp;
1544
1545
  }
1545
1546
  function TermToObjectConverterImpl(typeFactory, dealiaser) {
1546
- this.c53_1 = typeFactory;
1547
- this.d53_1 = dealiaser;
1547
+ this.h56_1 = typeFactory;
1548
+ this.i56_1 = dealiaser;
1548
1549
  }
1549
- protoOf(TermToObjectConverterImpl).h52 = function (type, term) {
1550
+ protoOf(TermToObjectConverterImpl).m55 = function (type, term) {
1550
1551
  var tmp;
1551
1552
  var tmp_0;
1552
1553
  if (isInterface(term, NullRef)) {
@@ -1565,8 +1566,8 @@
1565
1566
  } else {
1566
1567
  if (isInterface(term, ObjectRef)) {
1567
1568
  var tmp_2;
1568
- if (isSubtypeOf(getKClassFromExpression(term.m51()), type)) {
1569
- tmp_2 = term.m51();
1569
+ if (isSubtypeOf(getKClassFromExpression(term.r54()), type)) {
1570
+ tmp_2 = term.r54();
1570
1571
  } else {
1571
1572
  throw new TermToObjectConversionException(term, type);
1572
1573
  }
@@ -1574,9 +1575,9 @@
1574
1575
  } else {
1575
1576
  if (isInterface(term, Truth)) {
1576
1577
  var tmp_3;
1577
- if (isSubtypeOf(PrimitiveClasses_getInstance().aa(), type)) {
1578
- tmp_3 = term.vw();
1579
- } else if (isSubtypeOf(PrimitiveClasses_getInstance().ia(), type)) {
1578
+ if (isSubtypeOf(PrimitiveClasses_getInstance().ea(), type)) {
1579
+ tmp_3 = term.v13();
1580
+ } else if (isSubtypeOf(PrimitiveClasses_getInstance().ma(), type)) {
1580
1581
  tmp_3 = term.f1();
1581
1582
  } else {
1582
1583
  throw new TermToObjectConversionException(term, type);
@@ -1585,7 +1586,7 @@
1585
1586
  } else {
1586
1587
  if (isInterface(term, Atom)) {
1587
1588
  var tmp_4;
1588
- if (isSubtypeOf(PrimitiveClasses_getInstance().ia(), type)) {
1589
+ if (isSubtypeOf(PrimitiveClasses_getInstance().ma(), type)) {
1589
1590
  tmp_4 = term.f1();
1590
1591
  } else if (isSubtypeOf(getKClass(Char), type)) {
1591
1592
  var tmp_5;
@@ -1603,11 +1604,11 @@
1603
1604
  if (isInterface(term, Real)) {
1604
1605
  var tmp_6;
1605
1606
  if (isSubtypeOf(getKClass(BigDecimal), type)) {
1606
- tmp_6 = term.n11();
1607
- } else if (isSubtypeOf(PrimitiveClasses_getInstance().ga(), type)) {
1608
- tmp_6 = term.n11().toDouble();
1609
- } else if (isSubtypeOf(PrimitiveClasses_getInstance().fa(), type)) {
1610
- tmp_6 = term.n11().toFloat();
1607
+ tmp_6 = term.b18();
1608
+ } else if (isSubtypeOf(PrimitiveClasses_getInstance().ka(), type)) {
1609
+ tmp_6 = term.b18().toDouble();
1610
+ } else if (isSubtypeOf(PrimitiveClasses_getInstance().ja(), type)) {
1611
+ tmp_6 = term.b18().toFloat();
1611
1612
  } else {
1612
1613
  throw new TermToObjectConversionException(term, type);
1613
1614
  }
@@ -1616,21 +1617,21 @@
1616
1617
  if (isInterface(term, Integer)) {
1617
1618
  var tmp_7;
1618
1619
  if (isSubtypeOf(getKClass(BigInteger), type)) {
1619
- tmp_7 = term.f11();
1620
- } else if (isSubtypeOf(PrimitiveClasses_getInstance().ea(), type)) {
1621
- tmp_7 = term.f11().toLongExact();
1622
- } else if (isSubtypeOf(PrimitiveClasses_getInstance().da(), type)) {
1623
- tmp_7 = term.f11().toIntExact();
1624
- } else if (isSubtypeOf(PrimitiveClasses_getInstance().ca(), type)) {
1625
- tmp_7 = term.f11().toShortExact();
1626
- } else if (isSubtypeOf(PrimitiveClasses_getInstance().ba(), type)) {
1627
- tmp_7 = term.f11().toByteExact();
1628
- } else if (isSubtypeOf(getKClass(BigDecimal), type)) {
1629
- tmp_7 = term.n11();
1620
+ tmp_7 = term.t17();
1621
+ } else if (isSubtypeOf(PrimitiveClasses_getInstance().ia(), type)) {
1622
+ tmp_7 = term.t17().toLongExact();
1623
+ } else if (isSubtypeOf(PrimitiveClasses_getInstance().ha(), type)) {
1624
+ tmp_7 = term.t17().toIntExact();
1630
1625
  } else if (isSubtypeOf(PrimitiveClasses_getInstance().ga(), type)) {
1631
- tmp_7 = term.n11().toDouble();
1626
+ tmp_7 = term.t17().toShortExact();
1632
1627
  } else if (isSubtypeOf(PrimitiveClasses_getInstance().fa(), type)) {
1633
- tmp_7 = term.n11().toFloat();
1628
+ tmp_7 = term.t17().toByteExact();
1629
+ } else if (isSubtypeOf(getKClass(BigDecimal), type)) {
1630
+ tmp_7 = term.b18();
1631
+ } else if (isSubtypeOf(PrimitiveClasses_getInstance().ka(), type)) {
1632
+ tmp_7 = term.b18().toDouble();
1633
+ } else if (isSubtypeOf(PrimitiveClasses_getInstance().ja(), type)) {
1634
+ tmp_7 = term.b18().toFloat();
1634
1635
  } else {
1635
1636
  throw new TermToObjectConversionException(term, type);
1636
1637
  }
@@ -1641,10 +1642,10 @@
1641
1642
  if (Companion_getInstance().matches(term, get_CAST_TEMPLATE())) {
1642
1643
  tmp_8 = explicitConversion(this, term, term.get(0), term.get(1));
1643
1644
  } else if (Companion_getInstance().matches(term, get_DEALIASING_TEMPLATE())) {
1644
- var ref = this.d53_1(term);
1645
+ var ref = this.i56_1(term);
1645
1646
  var tmp_9;
1646
1647
  if (!(ref == null) ? isInterface(ref, ObjectRef) : false) {
1647
- tmp_9 = this.h52(type, ref);
1648
+ tmp_9 = this.m55(type, ref);
1648
1649
  } else {
1649
1650
  throw TermToObjectConversionException_init_$Create$(term);
1650
1651
  }
@@ -1669,15 +1670,15 @@
1669
1670
  }
1670
1671
  return tmp;
1671
1672
  };
1672
- protoOf(TermToObjectConverterImpl).j52 = function (term) {
1673
+ protoOf(TermToObjectConverterImpl).o55 = function (term) {
1673
1674
  return first(admissibleTypesByPriority(this, term));
1674
1675
  };
1675
- protoOf(TermToObjectConverterImpl).i52 = function (term) {
1676
+ protoOf(TermToObjectConverterImpl).n55 = function (term) {
1676
1677
  return toSet(admissibleTypesByPriority(this, term));
1677
1678
  };
1678
1679
  function TypeFactoryImpl() {
1679
1680
  }
1680
- protoOf(TypeFactoryImpl).m52 = function (typeName) {
1681
+ protoOf(TypeFactoryImpl).r55 = function (typeName) {
1681
1682
  return kClassFromName(typeName).f1();
1682
1683
  };
1683
1684
  function nameOf_0($this, type) {
@@ -1690,360 +1691,360 @@
1690
1691
  return Companion_instance_14;
1691
1692
  }
1692
1693
  function TypeRefImpl(type) {
1693
- this.e53_1 = Companion_getInstance_0().of(nameOf_0(Companion_instance_14, type));
1694
- this.f53_1 = type;
1694
+ this.j56_1 = Companion_getInstance_0().of(nameOf_0(Companion_instance_14, type));
1695
+ this.k56_1 = type;
1695
1696
  }
1696
- protoOf(TypeRefImpl).w27 = function () {
1697
- return this.f53_1;
1697
+ protoOf(TypeRefImpl).b2e = function () {
1698
+ return this.k56_1;
1698
1699
  };
1699
- protoOf(TypeRefImpl).p52 = function (objectConverter, arguments_0) {
1700
- return create_0(this.f53_1, objectConverter, arguments_0);
1700
+ protoOf(TypeRefImpl).u55 = function (objectConverter, arguments_0) {
1701
+ return create_0(this.k56_1, objectConverter, arguments_0);
1701
1702
  };
1702
- protoOf(TypeRefImpl).n51 = function (objectConverter, methodName, arguments_0) {
1703
- var companionObjectRef = get_companionObjectRef(this.f53_1);
1703
+ protoOf(TypeRefImpl).s54 = function (objectConverter, methodName, arguments_0) {
1704
+ var companionObjectRef = get_companionObjectRef(this.k56_1);
1704
1705
  var tmp;
1705
1706
  if (companionObjectRef instanceof Some) {
1706
- tmp = invoke_0(companionObjectRef.fr_1, objectConverter, methodName, arguments_0);
1707
+ tmp = invoke_0(companionObjectRef.vx_1, objectConverter, methodName, arguments_0);
1707
1708
  } else {
1708
- tmp = invoke_1(this.f53_1, objectConverter, methodName, arguments_0, null);
1709
+ tmp = invoke_1(this.k56_1, objectConverter, methodName, arguments_0, null);
1709
1710
  }
1710
1711
  return tmp;
1711
1712
  };
1712
- protoOf(TypeRefImpl).wx = function () {
1713
+ protoOf(TypeRefImpl).w14 = function () {
1713
1714
  return true;
1714
1715
  };
1715
- protoOf(TypeRefImpl).ay = function () {
1716
+ protoOf(TypeRefImpl).z14 = function () {
1716
1717
  return this;
1717
1718
  };
1718
1719
  protoOf(TypeRefImpl).asConstant = function () {
1719
- return this.ay();
1720
+ return this.z14();
1720
1721
  };
1721
- protoOf(TypeRefImpl).ax = function () {
1722
+ protoOf(TypeRefImpl).a14 = function () {
1722
1723
  return this;
1723
1724
  };
1724
1725
  protoOf(TypeRefImpl).freshCopy = function () {
1725
- return this.ax();
1726
+ return this.a14();
1726
1727
  };
1727
- protoOf(TypeRefImpl).bx = function (scope) {
1728
+ protoOf(TypeRefImpl).b14 = function (scope) {
1728
1729
  return this;
1729
1730
  };
1730
1731
  protoOf(TypeRefImpl).freshCopyFromScope = function (scope) {
1731
- return this.bx(scope);
1732
+ return this.b14(scope);
1732
1733
  };
1733
- protoOf(TypeRefImpl).rx = function () {
1734
+ protoOf(TypeRefImpl).r14 = function () {
1734
1735
  return isInterface(this, Term) ? this : THROW_CCE();
1735
1736
  };
1736
- protoOf(TypeRefImpl).mr = function () {
1737
- return this.rx();
1737
+ protoOf(TypeRefImpl).wx = function () {
1738
+ return this.r14();
1738
1739
  };
1739
- protoOf(TypeRefImpl).q17 = function (substitution) {
1740
+ protoOf(TypeRefImpl).x1e = function (substitution) {
1740
1741
  return this;
1741
1742
  };
1742
1743
  protoOf(TypeRefImpl).applySubstitution = function (substitution) {
1743
- return this.q17(substitution);
1744
+ return this.x1e(substitution);
1744
1745
  };
1745
- protoOf(TypeRefImpl).q2u = function (substitution, substitutions) {
1746
+ protoOf(TypeRefImpl).v32 = function (substitution, substitutions) {
1746
1747
  return this;
1747
1748
  };
1748
1749
  protoOf(TypeRefImpl).apply = function (substitution, substitutions) {
1749
- return this.q2u(substitution, substitutions);
1750
+ return this.v32(substitution, substitutions);
1750
1751
  };
1751
- protoOf(TypeRefImpl).p2u = function (substitution, substitutions) {
1752
+ protoOf(TypeRefImpl).u32 = function (substitution, substitutions) {
1752
1753
  return this;
1753
1754
  };
1754
1755
  protoOf(TypeRefImpl).getSubstituted = function (substitution, substitutions) {
1755
- return this.p2u(substitution, substitutions);
1756
+ return this.u32(substitution, substitutions);
1756
1757
  };
1757
- protoOf(TypeRefImpl).w16 = function (visitor) {
1758
+ protoOf(TypeRefImpl).v1d = function (visitor) {
1758
1759
  return visitor.visitAtom(this);
1759
1760
  };
1760
1761
  protoOf(TypeRefImpl).accept = function (visitor) {
1761
- return this.w16(visitor);
1762
+ return this.v1d(visitor);
1762
1763
  };
1763
- protoOf(TypeRefImpl).o51 = function (objectConverter, propertyName, value) {
1764
- var companionObjectRef = get_companionObjectRef(this.f53_1);
1764
+ protoOf(TypeRefImpl).t54 = function (objectConverter, propertyName, value) {
1765
+ var companionObjectRef = get_companionObjectRef(this.k56_1);
1765
1766
  if (companionObjectRef instanceof Some)
1766
- assign_0(companionObjectRef.fr_1, objectConverter, propertyName, value);
1767
+ assign_0(companionObjectRef.vx_1, objectConverter, propertyName, value);
1767
1768
  else {
1768
- assign_1(this.f53_1, objectConverter, propertyName, value, null);
1769
+ assign_1(this.k56_1, objectConverter, propertyName, value, null);
1769
1770
  }
1770
1771
  return true;
1771
1772
  };
1772
- protoOf(TypeRefImpl).cx = function () {
1773
- return this.e53_1.cx();
1773
+ protoOf(TypeRefImpl).c14 = function () {
1774
+ return this.j56_1.c14();
1774
1775
  };
1775
1776
  protoOf(TypeRefImpl).asAtom = function () {
1776
- return this.cx();
1777
+ return this.c14();
1777
1778
  };
1778
- protoOf(TypeRefImpl).rw = function () {
1779
- return this.e53_1.rw();
1779
+ protoOf(TypeRefImpl).r13 = function () {
1780
+ return this.j56_1.r13();
1780
1781
  };
1781
- protoOf(TypeRefImpl).sw = function () {
1782
- return this.e53_1.sw();
1782
+ protoOf(TypeRefImpl).s13 = function () {
1783
+ return this.j56_1.s13();
1783
1784
  };
1784
- protoOf(TypeRefImpl).tw = function () {
1785
- return this.e53_1.tw();
1785
+ protoOf(TypeRefImpl).t13 = function () {
1786
+ return this.j56_1.t13();
1786
1787
  };
1787
- protoOf(TypeRefImpl).uw = function () {
1788
- return this.e53_1.uw();
1788
+ protoOf(TypeRefImpl).u13 = function () {
1789
+ return this.j56_1.u13();
1789
1790
  };
1790
- protoOf(TypeRefImpl).vw = function () {
1791
- return this.e53_1.vw();
1791
+ protoOf(TypeRefImpl).v13 = function () {
1792
+ return this.j56_1.v13();
1792
1793
  };
1793
1794
  protoOf(TypeRefImpl).f1 = function () {
1794
- return this.e53_1.f1();
1795
+ return this.j56_1.f1();
1795
1796
  };
1796
- protoOf(TypeRefImpl).yw = function () {
1797
- return this.e53_1.yw();
1797
+ protoOf(TypeRefImpl).y13 = function () {
1798
+ return this.j56_1.y13();
1798
1799
  };
1799
- protoOf(TypeRefImpl).zw = function () {
1800
- return this.e53_1.zw();
1800
+ protoOf(TypeRefImpl).z13 = function () {
1801
+ return this.j56_1.z13();
1801
1802
  };
1802
- protoOf(TypeRefImpl).nx = function () {
1803
- return this.e53_1.nx();
1803
+ protoOf(TypeRefImpl).n14 = function () {
1804
+ return this.j56_1.n14();
1804
1805
  };
1805
1806
  protoOf(TypeRefImpl).asStruct = function () {
1806
- return this.nx();
1807
+ return this.n14();
1807
1808
  };
1808
1809
  protoOf(TypeRefImpl).append = function (argument) {
1809
- return this.e53_1.append(argument);
1810
+ return this.j56_1.append(argument);
1810
1811
  };
1811
1812
  protoOf(TypeRefImpl).addLast = function (argument) {
1812
- return this.e53_1.addLast(argument);
1813
+ return this.j56_1.addLast(argument);
1813
1814
  };
1814
1815
  protoOf(TypeRefImpl).addFirst = function (argument) {
1815
- return this.e53_1.addFirst(argument);
1816
+ return this.j56_1.addFirst(argument);
1816
1817
  };
1817
1818
  protoOf(TypeRefImpl).insertAt = function (index, argument) {
1818
- return this.e53_1.insertAt(index, argument);
1819
+ return this.j56_1.insertAt(index, argument);
1819
1820
  };
1820
1821
  protoOf(TypeRefImpl).setFunctor = function (functor) {
1821
- return this.e53_1.setFunctor(functor);
1822
+ return this.j56_1.setFunctor(functor);
1822
1823
  };
1823
1824
  protoOf(TypeRefImpl).getArgAt = function (index) {
1824
- return this.e53_1.getArgAt(index);
1825
+ return this.j56_1.getArgAt(index);
1825
1826
  };
1826
1827
  protoOf(TypeRefImpl).setArgs = function (args) {
1827
- return this.e53_1.setArgs(args);
1828
+ return this.j56_1.setArgs(args);
1828
1829
  };
1829
1830
  protoOf(TypeRefImpl).setArgsIterable = function (args) {
1830
- return this.e53_1.setArgsIterable(args);
1831
+ return this.j56_1.setArgsIterable(args);
1831
1832
  };
1832
1833
  protoOf(TypeRefImpl).setArgsSequence = function (args) {
1833
- return this.e53_1.setArgsSequence(args);
1834
+ return this.j56_1.setArgsSequence(args);
1834
1835
  };
1835
1836
  protoOf(TypeRefImpl).get = function (index) {
1836
- return this.e53_1.get(index);
1837
+ return this.j56_1.get(index);
1837
1838
  };
1838
- protoOf(TypeRefImpl).dx = function () {
1839
- return this.e53_1.dx();
1839
+ protoOf(TypeRefImpl).d14 = function () {
1840
+ return this.j56_1.d14();
1840
1841
  };
1841
- protoOf(TypeRefImpl).ex = function () {
1842
- return this.e53_1.ex();
1842
+ protoOf(TypeRefImpl).e14 = function () {
1843
+ return this.j56_1.e14();
1843
1844
  };
1844
- protoOf(TypeRefImpl).fx = function () {
1845
- return this.e53_1.fx();
1845
+ protoOf(TypeRefImpl).f14 = function () {
1846
+ return this.j56_1.f14();
1846
1847
  };
1847
- protoOf(TypeRefImpl).ix = function () {
1848
- return this.e53_1.ix();
1848
+ protoOf(TypeRefImpl).i14 = function () {
1849
+ return this.j56_1.i14();
1849
1850
  };
1850
- protoOf(TypeRefImpl).jx = function () {
1851
- return this.e53_1.jx();
1851
+ protoOf(TypeRefImpl).j14 = function () {
1852
+ return this.j56_1.j14();
1852
1853
  };
1853
- protoOf(TypeRefImpl).kx = function () {
1854
- return this.e53_1.kx();
1854
+ protoOf(TypeRefImpl).k14 = function () {
1855
+ return this.j56_1.k14();
1855
1856
  };
1856
- protoOf(TypeRefImpl).mx = function () {
1857
- return this.e53_1.mx();
1857
+ protoOf(TypeRefImpl).m14 = function () {
1858
+ return this.j56_1.m14();
1858
1859
  };
1859
- protoOf(TypeRefImpl).xw = function () {
1860
- return this.e53_1.xw();
1860
+ protoOf(TypeRefImpl).x13 = function () {
1861
+ return this.j56_1.x13();
1861
1862
  };
1862
- protoOf(TypeRefImpl).ox = function () {
1863
- return this.e53_1.ox();
1863
+ protoOf(TypeRefImpl).o14 = function () {
1864
+ return this.j56_1.o14();
1864
1865
  };
1865
- protoOf(TypeRefImpl).px = function () {
1866
- return this.e53_1.px();
1866
+ protoOf(TypeRefImpl).p14 = function () {
1867
+ return this.j56_1.p14();
1867
1868
  };
1868
- protoOf(TypeRefImpl).qx = function () {
1869
- return this.e53_1.qx();
1869
+ protoOf(TypeRefImpl).q14 = function () {
1870
+ return this.j56_1.q14();
1870
1871
  };
1871
- protoOf(TypeRefImpl).sx = function (other) {
1872
- return this.e53_1.sx(other);
1872
+ protoOf(TypeRefImpl).s14 = function (other) {
1873
+ return this.j56_1.s14(other);
1873
1874
  };
1874
1875
  protoOf(TypeRefImpl).d = function (other) {
1875
- return this.sx((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
1876
+ return this.s14((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
1876
1877
  };
1877
1878
  protoOf(TypeRefImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
1878
- return this.e53_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1879
+ return this.j56_1.equalsUsingVarCompleteNames(other, useVarCompleteName);
1879
1880
  };
1880
1881
  protoOf(TypeRefImpl).equals = function (other) {
1881
- return this.e53_1.equals(other);
1882
+ return this.j56_1.equals(other);
1882
1883
  };
1883
1884
  protoOf(TypeRefImpl).structurallyEquals = function (other) {
1884
- return this.e53_1.structurallyEquals(other);
1885
+ return this.j56_1.structurallyEquals(other);
1885
1886
  };
1886
1887
  protoOf(TypeRefImpl).castToAtom = function () {
1887
- return this.e53_1.castToAtom();
1888
+ return this.j56_1.castToAtom();
1888
1889
  };
1889
1890
  protoOf(TypeRefImpl).castToClause = function () {
1890
- return this.e53_1.castToClause();
1891
+ return this.j56_1.castToClause();
1891
1892
  };
1892
1893
  protoOf(TypeRefImpl).castToCons = function () {
1893
- return this.e53_1.castToCons();
1894
+ return this.j56_1.castToCons();
1894
1895
  };
1895
1896
  protoOf(TypeRefImpl).castToConstant = function () {
1896
- return this.e53_1.castToConstant();
1897
+ return this.j56_1.castToConstant();
1897
1898
  };
1898
1899
  protoOf(TypeRefImpl).castToDirective = function () {
1899
- return this.e53_1.castToDirective();
1900
+ return this.j56_1.castToDirective();
1900
1901
  };
1901
1902
  protoOf(TypeRefImpl).castToEmptyList = function () {
1902
- return this.e53_1.castToEmptyList();
1903
+ return this.j56_1.castToEmptyList();
1903
1904
  };
1904
1905
  protoOf(TypeRefImpl).castToEmptyBlock = function () {
1905
- return this.e53_1.castToEmptyBlock();
1906
+ return this.j56_1.castToEmptyBlock();
1906
1907
  };
1907
1908
  protoOf(TypeRefImpl).castToFact = function () {
1908
- return this.e53_1.castToFact();
1909
+ return this.j56_1.castToFact();
1909
1910
  };
1910
1911
  protoOf(TypeRefImpl).castToIndicator = function () {
1911
- return this.e53_1.castToIndicator();
1912
+ return this.j56_1.castToIndicator();
1912
1913
  };
1913
1914
  protoOf(TypeRefImpl).castToInteger = function () {
1914
- return this.e53_1.castToInteger();
1915
+ return this.j56_1.castToInteger();
1915
1916
  };
1916
1917
  protoOf(TypeRefImpl).castToList = function () {
1917
- return this.e53_1.castToList();
1918
+ return this.j56_1.castToList();
1918
1919
  };
1919
1920
  protoOf(TypeRefImpl).castToNumeric = function () {
1920
- return this.e53_1.castToNumeric();
1921
+ return this.j56_1.castToNumeric();
1921
1922
  };
1922
1923
  protoOf(TypeRefImpl).castToReal = function () {
1923
- return this.e53_1.castToReal();
1924
+ return this.j56_1.castToReal();
1924
1925
  };
1925
1926
  protoOf(TypeRefImpl).castToRule = function () {
1926
- return this.e53_1.castToRule();
1927
+ return this.j56_1.castToRule();
1927
1928
  };
1928
1929
  protoOf(TypeRefImpl).castToBlock = function () {
1929
- return this.e53_1.castToBlock();
1930
+ return this.j56_1.castToBlock();
1930
1931
  };
1931
1932
  protoOf(TypeRefImpl).castToStruct = function () {
1932
- return this.e53_1.castToStruct();
1933
+ return this.j56_1.castToStruct();
1933
1934
  };
1934
1935
  protoOf(TypeRefImpl).castToRecursive = function () {
1935
- return this.e53_1.castToRecursive();
1936
+ return this.j56_1.castToRecursive();
1936
1937
  };
1937
1938
  protoOf(TypeRefImpl).castToTerm = function () {
1938
- return this.e53_1.castToTerm();
1939
+ return this.j56_1.castToTerm();
1939
1940
  };
1940
1941
  protoOf(TypeRefImpl).castToTruth = function () {
1941
- return this.e53_1.castToTruth();
1942
+ return this.j56_1.castToTruth();
1942
1943
  };
1943
1944
  protoOf(TypeRefImpl).castToTuple = function () {
1944
- return this.e53_1.castToTuple();
1945
+ return this.j56_1.castToTuple();
1945
1946
  };
1946
1947
  protoOf(TypeRefImpl).castToVar = function () {
1947
- return this.e53_1.castToVar();
1948
+ return this.j56_1.castToVar();
1948
1949
  };
1949
1950
  protoOf(TypeRefImpl).asClause = function () {
1950
- return this.e53_1.asClause();
1951
+ return this.j56_1.asClause();
1951
1952
  };
1952
1953
  protoOf(TypeRefImpl).asCons = function () {
1953
- return this.e53_1.asCons();
1954
+ return this.j56_1.asCons();
1954
1955
  };
1955
1956
  protoOf(TypeRefImpl).asDirective = function () {
1956
- return this.e53_1.asDirective();
1957
+ return this.j56_1.asDirective();
1957
1958
  };
1958
1959
  protoOf(TypeRefImpl).asEmptyList = function () {
1959
- return this.e53_1.asEmptyList();
1960
+ return this.j56_1.asEmptyList();
1960
1961
  };
1961
1962
  protoOf(TypeRefImpl).asEmptyBlock = function () {
1962
- return this.e53_1.asEmptyBlock();
1963
+ return this.j56_1.asEmptyBlock();
1963
1964
  };
1964
1965
  protoOf(TypeRefImpl).asFact = function () {
1965
- return this.e53_1.asFact();
1966
+ return this.j56_1.asFact();
1966
1967
  };
1967
1968
  protoOf(TypeRefImpl).asIndicator = function () {
1968
- return this.e53_1.asIndicator();
1969
+ return this.j56_1.asIndicator();
1969
1970
  };
1970
1971
  protoOf(TypeRefImpl).asInteger = function () {
1971
- return this.e53_1.asInteger();
1972
+ return this.j56_1.asInteger();
1972
1973
  };
1973
1974
  protoOf(TypeRefImpl).asList = function () {
1974
- return this.e53_1.asList();
1975
+ return this.j56_1.asList();
1975
1976
  };
1976
1977
  protoOf(TypeRefImpl).asNumeric = function () {
1977
- return this.e53_1.asNumeric();
1978
+ return this.j56_1.asNumeric();
1978
1979
  };
1979
1980
  protoOf(TypeRefImpl).asReal = function () {
1980
- return this.e53_1.asReal();
1981
+ return this.j56_1.asReal();
1981
1982
  };
1982
1983
  protoOf(TypeRefImpl).asRule = function () {
1983
- return this.e53_1.asRule();
1984
+ return this.j56_1.asRule();
1984
1985
  };
1985
1986
  protoOf(TypeRefImpl).asBlock = function () {
1986
- return this.e53_1.asBlock();
1987
+ return this.j56_1.asBlock();
1987
1988
  };
1988
1989
  protoOf(TypeRefImpl).asRecursive = function () {
1989
- return this.e53_1.asRecursive();
1990
+ return this.j56_1.asRecursive();
1990
1991
  };
1991
1992
  protoOf(TypeRefImpl).asTerm = function () {
1992
- return this.e53_1.asTerm();
1993
+ return this.j56_1.asTerm();
1993
1994
  };
1994
1995
  protoOf(TypeRefImpl).asTruth = function () {
1995
- return this.e53_1.asTruth();
1996
+ return this.j56_1.asTruth();
1996
1997
  };
1997
1998
  protoOf(TypeRefImpl).asTuple = function () {
1998
- return this.e53_1.asTuple();
1999
+ return this.j56_1.asTuple();
1999
2000
  };
2000
2001
  protoOf(TypeRefImpl).asVar = function () {
2001
- return this.e53_1.asVar();
2002
+ return this.j56_1.asVar();
2002
2003
  };
2003
2004
  protoOf(TypeRefImpl).hashCode = function () {
2004
- return this.e53_1.hashCode();
2005
+ return this.j56_1.hashCode();
2005
2006
  };
2006
2007
  protoOf(TypeRefImpl).toString = function () {
2007
- return this.e53_1.toString();
2008
+ return this.j56_1.toString();
2008
2009
  };
2009
- protoOf(TypeRefImpl).tx = function () {
2010
- return this.e53_1.tx();
2010
+ protoOf(TypeRefImpl).t14 = function () {
2011
+ return this.j56_1.t14();
2011
2012
  };
2012
- protoOf(TypeRefImpl).ux = function () {
2013
- return this.e53_1.ux();
2013
+ protoOf(TypeRefImpl).u14 = function () {
2014
+ return this.j56_1.u14();
2014
2015
  };
2015
- protoOf(TypeRefImpl).vx = function () {
2016
- return this.e53_1.vx();
2016
+ protoOf(TypeRefImpl).v14 = function () {
2017
+ return this.j56_1.v14();
2017
2018
  };
2018
- protoOf(TypeRefImpl).xx = function () {
2019
- return this.e53_1.xx();
2019
+ protoOf(TypeRefImpl).x14 = function () {
2020
+ return this.j56_1.x14();
2020
2021
  };
2021
- protoOf(TypeRefImpl).yx = function () {
2022
- return this.e53_1.yx();
2022
+ protoOf(TypeRefImpl).xo = function () {
2023
+ return this.j56_1.xo();
2023
2024
  };
2024
- protoOf(TypeRefImpl).zx = function () {
2025
- return this.e53_1.zx();
2025
+ protoOf(TypeRefImpl).y14 = function () {
2026
+ return this.j56_1.y14();
2026
2027
  };
2027
2028
  protoOf(TypeRefImpl).getTag = function (name) {
2028
- return this.e53_1.getTag(name);
2029
+ return this.j56_1.getTag(name);
2029
2030
  };
2030
2031
  protoOf(TypeRefImpl).resetTags = function (tags) {
2031
- return this.e53_1.resetTags(tags);
2032
+ return this.j56_1.resetTags(tags);
2032
2033
  };
2033
2034
  protoOf(TypeRefImpl).containsTag = function (name) {
2034
- return this.e53_1.containsTag(name);
2035
+ return this.j56_1.containsTag(name);
2035
2036
  };
2036
- protoOf(TypeRefImpl).cu = function () {
2037
- return this.e53_1.cu();
2037
+ protoOf(TypeRefImpl).gz = function () {
2038
+ return this.j56_1.gz();
2038
2039
  };
2039
- protoOf(TypeRefImpl).by = function () {
2040
- return this.e53_1.by();
2040
+ protoOf(TypeRefImpl).a15 = function () {
2041
+ return this.j56_1.a15();
2041
2042
  };
2042
2043
  function actuallyInvoke($this, $receiver, ref, method, resultTerm) {
2043
- var result = ref.n51(get_termToObjectConverter($receiver), method.xw(), method.yw());
2044
+ var result = ref.s54(get_termToObjectConverter($receiver), method.x13(), method.y13());
2044
2045
  var tmp;
2045
2046
  if (result instanceof Value) {
2046
- tmp = Companion_getInstance_7().q2l($receiver, resultTerm, $this.h53(result));
2047
+ tmp = Companion_getInstance_7().p2t($receiver, resultTerm, $this.m56(result));
2047
2048
  } else {
2048
2049
  tmp = Companion_getInstance_6().failed();
2049
2050
  }
@@ -2052,9 +2053,9 @@
2052
2053
  function AbstractInvoke(suffix) {
2053
2054
  Functional.call(this, 'invoke_' + suffix);
2054
2055
  }
2055
- protoOf(AbstractInvoke).m2v = function (_this__u8e3s4, first, second, third) {
2056
- Companion_getInstance_7().a2m(_this__u8e3s4, 0);
2057
- Companion_getInstance_7().a2m(_this__u8e3s4, 1);
2056
+ protoOf(AbstractInvoke).r33 = function (_this__u8e3s4, first, second, third) {
2057
+ Companion_getInstance_7().a2u(_this__u8e3s4, 0);
2058
+ Companion_getInstance_7().a2u(_this__u8e3s4, 1);
2058
2059
  var method = isInterface(second, Struct) ? second : THROW_CCE();
2059
2060
  var tmp$ret$0;
2060
2061
  $l$block: {
@@ -2076,7 +2077,7 @@
2076
2077
  } catch ($p) {
2077
2078
  if ($p instanceof OopException) {
2078
2079
  var e = $p;
2079
- throw e.u52(_this__u8e3s4.context, _this__u8e3s4.signature);
2080
+ throw e.z55(_this__u8e3s4.context, _this__u8e3s4.signature);
2080
2081
  } else {
2081
2082
  if ($p instanceof ResolutionException) {
2082
2083
  var e_0 = $p;
@@ -2094,21 +2095,21 @@
2094
2095
  }
2095
2096
  return tmp$ret$0;
2096
2097
  };
2097
- protoOf(AbstractInvoke).b2o = function (_this__u8e3s4, first, second, third) {
2098
- return this.m2v(_this__u8e3s4, first, second, third);
2098
+ protoOf(AbstractInvoke).b2w = function (_this__u8e3s4, first, second, third) {
2099
+ return this.r33(_this__u8e3s4, first, second, third);
2099
2100
  };
2100
2101
  function AbstractIterableItems$computeOneSubstitution$lambda($converter) {
2101
2102
  return function (it) {
2102
- return $converter.k52(it);
2103
+ return $converter.p55(it);
2103
2104
  };
2104
2105
  }
2105
2106
  function AbstractIterableItems$computeOneSubstitution$lambda_0(it) {
2106
- return Companion_getInstance_11().w51_1.b52(it);
2107
+ return Companion_getInstance_11().b55_1.g55(it);
2107
2108
  }
2108
2109
  function AbstractIterableItems(iterable) {
2109
2110
  Functional_0.call(this, iterable + '_items');
2110
2111
  }
2111
- protoOf(AbstractIterableItems).o2w = function (_this__u8e3s4, first, second) {
2112
+ protoOf(AbstractIterableItems).t34 = function (_this__u8e3s4, first, second) {
2112
2113
  var tmp;
2113
2114
  var tmp_0;
2114
2115
  if (isInterface(first, Var)) {
@@ -2118,58 +2119,58 @@
2118
2119
  }
2119
2120
  if (tmp_0) {
2120
2121
  // Inline function 'kotlin.let' call
2121
- Companion_getInstance_7().t2k(_this__u8e3s4);
2122
+ Companion_getInstance_7().r2s(_this__u8e3s4);
2122
2123
  tmp = Companion_getInstance_6().failed();
2123
2124
  } else {
2124
2125
  if (isInterface(second, List)) {
2125
2126
  var converter = get_termToObjectConverter(_this__u8e3s4);
2126
- var tmp_1 = second.bv();
2127
- var items = this.j53(map(tmp_1, AbstractIterableItems$computeOneSubstitution$lambda(converter)));
2128
- var objectRef = Companion_getInstance_10().v51(items);
2129
- tmp = Companion_getInstance_7().q2l(_this__u8e3s4, first, objectRef);
2127
+ var tmp_1 = second.a10();
2128
+ var items = this.o56(map(tmp_1, AbstractIterableItems$computeOneSubstitution$lambda(converter)));
2129
+ var objectRef = Companion_getInstance_10().a55(items);
2130
+ tmp = Companion_getInstance_7().p2t(_this__u8e3s4, first, objectRef);
2130
2131
  } else {
2131
2132
  if (isInterface(first, ObjectRef)) {
2132
- var obj = first.m51();
2133
+ var obj = first.r54();
2133
2134
  var tmp_2;
2134
- if (this.k53(obj)) {
2135
- var tmp_3 = this.l53(!(obj == null) ? obj : THROW_CCE());
2135
+ if (this.p56(obj)) {
2136
+ var tmp_3 = this.q56(!(obj == null) ? obj : THROW_CCE());
2136
2137
  var items_0 = map(tmp_3, AbstractIterableItems$computeOneSubstitution$lambda_0);
2137
- tmp_2 = Companion_getInstance_7().q2l(_this__u8e3s4, second, Companion_instance_5.ofSequence(items_0));
2138
+ tmp_2 = Companion_getInstance_7().p2t(_this__u8e3s4, second, Companion_instance_5.ofSequence(items_0));
2138
2139
  } else {
2139
2140
  tmp_2 = Companion_getInstance_6().failed();
2140
2141
  }
2141
2142
  tmp = tmp_2;
2142
2143
  } else {
2143
- throw Companion_instance_1.j2b(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_OBJECT_REFERENCE_getInstance(), first, 0);
2144
+ throw Companion_instance_1.q2h(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_OBJECT_REFERENCE_getInstance(), first, 0);
2144
2145
  }
2145
2146
  }
2146
2147
  }
2147
2148
  return tmp;
2148
2149
  };
2149
- protoOf(AbstractIterableItems).e2l = function (_this__u8e3s4, first, second) {
2150
- return this.o2w(_this__u8e3s4, first, second);
2150
+ protoOf(AbstractIterableItems).d2t = function (_this__u8e3s4, first, second) {
2151
+ return this.t34(_this__u8e3s4, first, second);
2151
2152
  };
2152
2153
  function ArrayItems() {
2153
2154
  ArrayItems_instance = this;
2154
2155
  AbstractIterableItems.call(this, 'array');
2155
- this.n53_1 = "`array_items(?ArrayRef, ?Items)`\n\nConverts between a Prolog list `Items` and an object reference `ArrayRef` wrapping a JVM/Kotlin array (`Object[]`) with the same elements. If `Items` is a list, each item is converted to an object (respecting `as` casts and `$Alias` references) and `ArrayRef` is unified with a reference to a fresh array; otherwise, if `ArrayRef` references an array, `Items` is unified with the list of its elements converted back to terms: strings become atoms, numbers become Prolog numbers, and other objects stay object references. Deterministic. Raises an instantiation error if both arguments are unbound, and a type error if `ArrayRef` is neither unbound nor an object reference; fails if it references something that is not an array.\n\n**Examples**\n\n```prolog\n?- array_items(A, [a, b, c]), array_items(A, L).\nL = [a, b, c].\n\n?- array_items(A, [1, 2.5]), array_items(A, L).\nL = [1, 2.5].\n\n?- new_object('java.util.ArrayList', [], L), array_items(L, Items).\nno.\n\n?- array_items(A, L).\nthrows error(instantiation_error, _).\n```";
2156
+ this.s56_1 = "`array_items(?ArrayRef, ?Items)`\n\nConverts between a Prolog list `Items` and an object reference `ArrayRef` wrapping a JVM/Kotlin array (`Object[]`) with the same elements. If `Items` is a list, each item is converted to an object (respecting `as` casts and `$Alias` references) and `ArrayRef` is unified with a reference to a fresh array; otherwise, if `ArrayRef` references an array, `Items` is unified with the list of its elements converted back to terms: strings become atoms, numbers become Prolog numbers, and other objects stay object references. Deterministic. Raises an instantiation error if both arguments are unbound, and a type error if `ArrayRef` is neither unbound nor an object reference; fails if it references something that is not an array.\n\n**Examples**\n\n```prolog\n?- array_items(A, [a, b, c]), array_items(A, L).\nL = [a, b, c].\n\n?- array_items(A, [1, 2.5]), array_items(A, L).\nL = [1, 2.5].\n\n?- new_object('java.util.ArrayList', [], L), array_items(L, Items).\nno.\n\n?- array_items(A, L).\nthrows error(instantiation_error, _).\n```";
2156
2157
  }
2157
- protoOf(ArrayItems).i1x = function () {
2158
- return this.n53_1;
2158
+ protoOf(ArrayItems).a23 = function () {
2159
+ return this.s56_1;
2159
2160
  };
2160
- protoOf(ArrayItems).j53 = function (_this__u8e3s4) {
2161
+ protoOf(ArrayItems).o56 = function (_this__u8e3s4) {
2161
2162
  // Inline function 'kotlin.collections.toTypedArray' call
2162
2163
  var this_0 = toList(_this__u8e3s4);
2163
2164
  return copyToArray(this_0);
2164
2165
  };
2165
- protoOf(ArrayItems).k53 = function (_this__u8e3s4) {
2166
+ protoOf(ArrayItems).p56 = function (_this__u8e3s4) {
2166
2167
  return !(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false;
2167
2168
  };
2168
- protoOf(ArrayItems).o53 = function (_this__u8e3s4) {
2169
+ protoOf(ArrayItems).t56 = function (_this__u8e3s4) {
2169
2170
  return asSequence_0(_this__u8e3s4);
2170
2171
  };
2171
- protoOf(ArrayItems).l53 = function (_this__u8e3s4) {
2172
- return this.o53(isArray(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE());
2172
+ protoOf(ArrayItems).q56 = function (_this__u8e3s4) {
2173
+ return this.t56(isArray(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE());
2173
2174
  };
2174
2175
  var ArrayItems_instance;
2175
2176
  function ArrayItems_getInstance() {
@@ -2180,14 +2181,14 @@
2180
2181
  function Assign() {
2181
2182
  Assign_instance = this;
2182
2183
  Predicative.call(this, 'assign');
2183
- this.q53_1 = "`assign(+Ref, +Property, +Value)`\n\nWrites `Value` into the public mutable property named `Property` of the object (or, for a type reference, the static/companion member) referenced by `Ref`. `Ref` must be an object or type reference (not a `$Alias` term); `Value` is converted to the property's type (it may use `as` casts or be a `$Alias` reference). If several properties share the name, the one whose type best fits `Value` is chosen. Succeeds once. Raises a type error if `Ref` is not a reference or `Property` is not an atom, an existence error if no suitable mutable property exists, and a representation error if `Value` cannot be converted. This is what `Obj.prop := Value` (see `:=/2`) lowers to.\n\n**Examples**\n\n```prolog\n?- new_object('java.awt.Point', [1, 2], P), assign(P, x, 5), X := P.x.\nX = 5.\n\n?- new_object('java.awt.Point', [1, 2], P), assign(P, nope, 5).\nthrows error(existence_error(_, _), _).\n\n?- assign(foo, x, 5).\nthrows error(type_error(_, foo), _).\n```";
2184
+ this.v56_1 = "`assign(+Ref, +Property, +Value)`\n\nWrites `Value` into the public mutable property named `Property` of the object (or, for a type reference, the static/companion member) referenced by `Ref`. `Ref` must be an object or type reference (not a `$Alias` term); `Value` is converted to the property's type (it may use `as` casts or be a `$Alias` reference). If several properties share the name, the one whose type best fits `Value` is chosen. Succeeds once. Raises a type error if `Ref` is not a reference or `Property` is not an atom, an existence error if no suitable mutable property exists, and a representation error if `Value` cannot be converted. This is what `Obj.prop := Value` (see `:=/2`) lowers to.\n\n**Examples**\n\n```prolog\n?- new_object('java.awt.Point', [1, 2], P), assign(P, x, 5), X := P.x.\nX = 5.\n\n?- new_object('java.awt.Point', [1, 2], P), assign(P, nope, 5).\nthrows error(existence_error(_, _), _).\n\n?- assign(foo, x, 5).\nthrows error(type_error(_, foo), _).\n```";
2184
2185
  }
2185
- protoOf(Assign).i1x = function () {
2186
- return this.q53_1;
2186
+ protoOf(Assign).a23 = function () {
2187
+ return this.v56_1;
2187
2188
  };
2188
- protoOf(Assign).r53 = function (_this__u8e3s4, first, second, third) {
2189
- Companion_getInstance_7().f2m(_this__u8e3s4, 0);
2190
- Companion_getInstance_7().f2m(_this__u8e3s4, 1);
2189
+ protoOf(Assign).w56 = function (_this__u8e3s4, first, second, third) {
2190
+ Companion_getInstance_7().f2u(_this__u8e3s4, 0);
2191
+ Companion_getInstance_7().f2u(_this__u8e3s4, 1);
2191
2192
  var tmp$ret$0;
2192
2193
  $l$block: {
2193
2194
  // Inline function 'it.unibo.tuprolog.solve.libs.oop.primitives.catchingOopExceptions' call
@@ -2200,19 +2201,19 @@
2200
2201
  }
2201
2202
  var ref = tmp;
2202
2203
  var tmp_0;
2203
- if (Companion_getInstance_7().r2l(_this__u8e3s4, third, get_DEALIASING_TEMPLATE())) {
2204
+ if (Companion_getInstance_7().r2t(_this__u8e3s4, third, get_DEALIASING_TEMPLATE())) {
2204
2205
  tmp_0 = findRefFromAlias(_this__u8e3s4, isInterface(third, Struct) ? third : THROW_CCE());
2205
2206
  } else {
2206
2207
  tmp_0 = third;
2207
2208
  }
2208
2209
  var value = tmp_0;
2209
2210
  var tmp_1 = get_termToObjectConverter(_this__u8e3s4);
2210
- tmp$ret$0 = ref.o51(tmp_1, (isInterface(second, Atom) ? second : THROW_CCE()).f1(), value);
2211
+ tmp$ret$0 = ref.t54(tmp_1, (isInterface(second, Atom) ? second : THROW_CCE()).f1(), value);
2211
2212
  break $l$block;
2212
2213
  } catch ($p) {
2213
2214
  if ($p instanceof OopException) {
2214
2215
  var e = $p;
2215
- throw e.u52(_this__u8e3s4.context, _this__u8e3s4.signature);
2216
+ throw e.z55(_this__u8e3s4.context, _this__u8e3s4.signature);
2216
2217
  } else {
2217
2218
  if ($p instanceof ResolutionException) {
2218
2219
  var e_0 = $p;
@@ -2230,8 +2231,8 @@
2230
2231
  }
2231
2232
  return tmp$ret$0;
2232
2233
  };
2233
- protoOf(Assign).d2o = function (_this__u8e3s4, first, second, third) {
2234
- return this.r53(_this__u8e3s4, first, second, third);
2234
+ protoOf(Assign).d2w = function (_this__u8e3s4, first, second, third) {
2235
+ return this.w56(_this__u8e3s4, first, second, third);
2235
2236
  };
2236
2237
  var Assign_instance;
2237
2238
  function Assign_getInstance() {
@@ -2244,8 +2245,8 @@
2244
2245
  if (type == null) {
2245
2246
  tmp = Companion_getInstance_6().failed();
2246
2247
  } else {
2247
- var casted = get_termToObjectConverter($receiver).h52(type, term);
2248
- tmp = Companion_getInstance_7().q2l($receiver, result, Companion_getInstance_10().v51(casted));
2248
+ var casted = get_termToObjectConverter($receiver).m55(type, term);
2249
+ tmp = Companion_getInstance_7().p2t($receiver, result, Companion_getInstance_10().a55(casted));
2249
2250
  }
2250
2251
  return tmp;
2251
2252
  }
@@ -2254,7 +2255,7 @@
2254
2255
  }
2255
2256
  function Cast$computeAll$lambda_0($$this$catchingOopExceptions, $first, $third, $second) {
2256
2257
  return function (it) {
2257
- return cast(Cast_getInstance(), $$this$catchingOopExceptions, $first, it, $third).plus(Companion_getInstance_7().q2l($$this$catchingOopExceptions, $second, Companion_instance_12.l52(it)));
2258
+ return Companion_getInstance_7().q2t($$this$catchingOopExceptions, cast(Cast_getInstance(), $$this$catchingOopExceptions, $first, it, $third), Companion_getInstance_7().p2t($$this$catchingOopExceptions, $second, Companion_instance_12.q55(it)));
2258
2259
  };
2259
2260
  }
2260
2261
  function Cast$computeAll$lambda_1($$this$catchingOopExceptions) {
@@ -2265,12 +2266,15 @@
2265
2266
  function Cast() {
2266
2267
  Cast_instance = this;
2267
2268
  TernaryRelation.call(this, 'cast');
2268
- this.t53_1 = "`cast(+Term, ?Type, ?ObjectRef)`\n\nConverts `Term` into an instance of `Type` and unifies `ObjectRef` with a reference to the resulting object. `Type` must be a type reference, an atom holding a fully qualified type name (e.g. `'java.lang.Long'`), or a `$Alias` reference to a type (e.g. `$long`); any other bound value raises a type error, and an unregistered alias raises an existence error. Fails if the type name names no type, or if `Term` cannot be converted into `Type`. If `Type` is unbound, it enumerates on backtracking every type `Term` can be converted into (and all their supertypes), binding `Type` to a type reference each time. Use it to force a specific representation, e.g. `cast(1, $long, L)` yields a reference to a `Long` rather than an `Int`; inside method or constructor arguments, the `X as Type` notation (`as/2`) forces a conversion inline.\n\n**Examples**\n\n```prolog\n?- cast(1, $long, R), object_ref(R).\nyes.\n\n?- cast(1, 'java.lang.Long', R), object_ref(R).\nyes.\n\n?- cast(abc, $int, R).\nno.\n```";
2269
+ this.y56_1 = "`cast(+Term, ?Type, ?ObjectRef)`\n\nConverts `Term` into an instance of `Type` and unifies `ObjectRef` with a reference to the resulting object. `Type` must be a type reference, an atom holding a fully qualified type name (e.g. `'java.lang.Long'`), or a `$Alias` reference to a type (e.g. `$long`); any other bound value raises a type error, and an unregistered alias raises an existence error. Fails if the type name names no type, or if `Term` cannot be converted into `Type`. If `Type` is unbound, it enumerates on backtracking every type `Term` can be converted into (and all their supertypes), binding `Type` to a type reference each time. Use it to force a specific representation, e.g. `cast(1, $long, L)` yields a reference to a `Long` rather than an `Int`; inside method or constructor arguments, the `X as Type` notation (`as/2`) forces a conversion inline.\n\n**Examples**\n\n```prolog\n?- cast(1, $long, R), object_ref(R).\nyes.\n\n?- cast(1, 'java.lang.Long', R), object_ref(R).\nyes.\n\n?- cast(abc, $int, R).\nno.\n```";
2269
2270
  }
2270
- protoOf(Cast).i1x = function () {
2271
- return this.t53_1;
2271
+ protoOf(Cast).v2s = function () {
2272
+ return Alternatives_LOOKAHEAD_SAFE_getInstance();
2272
2273
  };
2273
- protoOf(Cast).u53 = function (_this__u8e3s4, first, second, third) {
2274
+ protoOf(Cast).a23 = function () {
2275
+ return this.y56_1;
2276
+ };
2277
+ protoOf(Cast).z56 = function (_this__u8e3s4, first, second, third) {
2274
2278
  var tmp$ret$0;
2275
2279
  $l$block: {
2276
2280
  // Inline function 'it.unibo.tuprolog.solve.libs.oop.primitives.catchingOopExceptions' call
@@ -2281,7 +2285,7 @@
2281
2285
  var tmp_0;
2282
2286
  try {
2283
2287
  var tmp_1 = Cast_getInstance();
2284
- tmp_0 = sequenceOf(_this__u8e3s4.replyWith(cast(tmp_1, _this__u8e3s4, first, type == null ? null : type.w27(), third), VOID, []));
2288
+ tmp_0 = sequenceOf(_this__u8e3s4.replyWith(cast(tmp_1, _this__u8e3s4, first, type == null ? null : type.b2e(), third), VOID, []));
2285
2289
  } catch ($p) {
2286
2290
  var tmp_2;
2287
2291
  if ($p instanceof TermToObjectConversionException) {
@@ -2295,7 +2299,7 @@
2295
2299
  tmp = tmp_0;
2296
2300
  } else {
2297
2301
  if (isInterface(second, Var)) {
2298
- var tmp_3 = asSequence(get_termToObjectConverter(_this__u8e3s4).i52(first));
2302
+ var tmp_3 = asSequence(get_termToObjectConverter(_this__u8e3s4).n55(first));
2299
2303
  var tmp_4 = distinct(flatMap(tmp_3, Cast$computeAll$lambda));
2300
2304
  var tmp_5 = map(tmp_4, Cast$computeAll$lambda_0(_this__u8e3s4, first, third, second));
2301
2305
  tmp = map(tmp_5, Cast$computeAll$lambda_1(_this__u8e3s4));
@@ -2309,7 +2313,7 @@
2309
2313
  } catch ($p_0) {
2310
2314
  if ($p_0 instanceof OopException) {
2311
2315
  var e = $p_0;
2312
- throw e.u52(_this__u8e3s4.context, _this__u8e3s4.signature);
2316
+ throw e.z55(_this__u8e3s4.context, _this__u8e3s4.signature);
2313
2317
  } else {
2314
2318
  if ($p_0 instanceof ResolutionException) {
2315
2319
  var e_0 = $p_0;
@@ -2327,8 +2331,8 @@
2327
2331
  }
2328
2332
  return tmp$ret$0;
2329
2333
  };
2330
- protoOf(Cast).w2n = function (_this__u8e3s4, first, second, third) {
2331
- return this.u53(_this__u8e3s4, first, second, third);
2334
+ protoOf(Cast).w2v = function (_this__u8e3s4, first, second, third) {
2335
+ return this.z56(_this__u8e3s4, first, second, third);
2332
2336
  };
2333
2337
  var Cast_instance;
2334
2338
  function Cast_getInstance() {
@@ -2339,13 +2343,13 @@
2339
2343
  function InvokeMethod() {
2340
2344
  InvokeMethod_instance = this;
2341
2345
  AbstractInvoke.call(this, 'method');
2342
- this.w53_1 = "`invoke_method(+Ref, +Method, ?Result)`\n\nInvokes a public member of the object referenced by `Ref` and unifies `Result` with the returned value, converted to a plain term when possible: strings and characters become atoms, numbers become numbers, booleans become `true`/`false`, `null` becomes the null reference, and any other object stays an object reference. `Ref` may be an object reference, a type reference (to call static or companion-object members) or a `$Alias` reference; `Method` is an atom (no arguments; also reads a property) or a compound `name(Arg1, ..., ArgN)`. Arguments are converted to objects and the best-matching overload is selected; use `as` casts to steer the choice. Succeeds once. Raises a type error if `Ref` is neither a reference nor a `$Alias` term, an existence error if the alias is not registered or no suitable method exists, a representation error if an argument cannot be converted, and a system error if the method itself throws. This is what `Obj.method(...)` (see `./2`) lowers to.\n\n**Examples**\n\n```prolog\n?- invoke_method($math, max(1, 2), M).\nM = 2.\n\n?- new_object('java.lang.StringBuilder', [abc], B), invoke_method(B, reverse, R), invoke_method(R, toString, S).\nS = cba.\n\n?- invoke_method($math, nope, M).\nthrows error(existence_error(_, _), _).\n\n?- invoke_method(foo, toString, R).\nthrows error(type_error(_, foo), _).\n```";
2346
+ this.b57_1 = "`invoke_method(+Ref, +Method, ?Result)`\n\nInvokes a public member of the object referenced by `Ref` and unifies `Result` with the returned value, converted to a plain term when possible: strings and characters become atoms, numbers become numbers, booleans become `true`/`false`, `null` becomes the null reference, and any other object stays an object reference. `Ref` may be an object reference, a type reference (to call static or companion-object members) or a `$Alias` reference; `Method` is an atom (no arguments; also reads a property) or a compound `name(Arg1, ..., ArgN)`. Arguments are converted to objects and the best-matching overload is selected; use `as` casts to steer the choice. Succeeds once. Raises a type error if `Ref` is neither a reference nor a `$Alias` term, an existence error if the alias is not registered or no suitable method exists, a representation error if an argument cannot be converted, and a system error if the method itself throws. This is what `Obj.method(...)` (see `./2`) lowers to.\n\n**Examples**\n\n```prolog\n?- invoke_method($math, max(1, 2), M).\nM = 2.\n\n?- new_object('java.lang.StringBuilder', [abc], B), invoke_method(B, reverse, R), invoke_method(R, toString, S).\nS = cba.\n\n?- invoke_method($math, nope, M).\nthrows error(existence_error(_, _), _).\n\n?- invoke_method(foo, toString, R).\nthrows error(type_error(_, foo), _).\n```";
2343
2347
  }
2344
- protoOf(InvokeMethod).i1x = function () {
2345
- return this.w53_1;
2348
+ protoOf(InvokeMethod).a23 = function () {
2349
+ return this.b57_1;
2346
2350
  };
2347
- protoOf(InvokeMethod).h53 = function (_this__u8e3s4) {
2348
- return _this__u8e3s4.t1j();
2351
+ protoOf(InvokeMethod).m56 = function (_this__u8e3s4) {
2352
+ return _this__u8e3s4.l1r();
2349
2353
  };
2350
2354
  var InvokeMethod_instance;
2351
2355
  function InvokeMethod_getInstance() {
@@ -2356,13 +2360,13 @@
2356
2360
  function InvokeStrict() {
2357
2361
  InvokeStrict_instance = this;
2358
2362
  AbstractInvoke.call(this, 'strict');
2359
- this.y53_1 = "`invoke_strict(+Ref, +Method, ?Result)`\n\nLike `invoke_method/3`, but `Result` is always unified with an object reference wrapping the returned value, even when it could be converted to a plain term (e.g. a string or number stays a reference). Useful to keep calling methods on the result with its exact runtime type preserved, e.g. a `String` you want to keep manipulating as a JVM object. Accepts the same `Ref` and `Method` shapes, and raises the same errors, as `invoke_method/3`.\n\n**Examples**\n\n```prolog\n?- new_object('java.lang.StringBuilder', [abc], B), invoke_strict(B, toString, S), object_ref(S), N := S.length.\nN = 3.\n\n?- new_object('java.lang.StringBuilder', [abc], B), invoke_method(B, toString, S).\nS = abc.\n\n?- invoke_strict($math, nope, R).\nthrows error(existence_error(_, _), _).\n```";
2363
+ this.d57_1 = "`invoke_strict(+Ref, +Method, ?Result)`\n\nLike `invoke_method/3`, but `Result` is always unified with an object reference wrapping the returned value, even when it could be converted to a plain term (e.g. a string or number stays a reference). Useful to keep calling methods on the result with its exact runtime type preserved, e.g. a `String` you want to keep manipulating as a JVM object. Accepts the same `Ref` and `Method` shapes, and raises the same errors, as `invoke_method/3`.\n\n**Examples**\n\n```prolog\n?- new_object('java.lang.StringBuilder', [abc], B), invoke_strict(B, toString, S), object_ref(S), N := S.length.\nN = 3.\n\n?- new_object('java.lang.StringBuilder', [abc], B), invoke_method(B, toString, S).\nS = abc.\n\n?- invoke_strict($math, nope, R).\nthrows error(existence_error(_, _), _).\n```";
2360
2364
  }
2361
- protoOf(InvokeStrict).i1x = function () {
2362
- return this.y53_1;
2365
+ protoOf(InvokeStrict).a23 = function () {
2366
+ return this.d57_1;
2363
2367
  };
2364
- protoOf(InvokeStrict).h53 = function (_this__u8e3s4) {
2365
- return _this__u8e3s4.c52();
2368
+ protoOf(InvokeStrict).m56 = function (_this__u8e3s4) {
2369
+ return _this__u8e3s4.h55();
2366
2370
  };
2367
2371
  var InvokeStrict_instance;
2368
2372
  function InvokeStrict_getInstance() {
@@ -2373,22 +2377,22 @@
2373
2377
  function ListItems() {
2374
2378
  ListItems_instance = this;
2375
2379
  AbstractIterableItems.call(this, 'list');
2376
- this.a54_1 = "`list_items(?ListRef, ?Items)`\n\nConverts between a Prolog list `Items` and an object reference `ListRef` wrapping a JVM/Kotlin `List` with the same elements. If `Items` is a list, each item is converted to an object (respecting `as` casts and `$Alias` references) and `ListRef` is unified with a reference to a fresh list; otherwise, if `ListRef` references a `List`, `Items` is unified with its elements converted back to terms. Deterministic. Raises an instantiation error if both arguments are unbound, and a type error if `ListRef` is neither unbound nor an object reference; fails if it references something that is not a `List`.\n\n**Examples**\n\n```prolog\n?- list_items(L, [a, b]), N := L.size.\nN = 2.\n\n?- list_items(L, [1, 2.5]), list_items(L, Items).\nItems = [1, 2.5].\n\n?- new_object('java.util.ArrayList', [], L), L.add(x), L.add(y), list_items(L, Items).\nItems = [x, y].\n\n?- list_items(L, Items).\nthrows error(instantiation_error, _).\n```";
2380
+ this.f57_1 = "`list_items(?ListRef, ?Items)`\n\nConverts between a Prolog list `Items` and an object reference `ListRef` wrapping a JVM/Kotlin `List` with the same elements. If `Items` is a list, each item is converted to an object (respecting `as` casts and `$Alias` references) and `ListRef` is unified with a reference to a fresh list; otherwise, if `ListRef` references a `List`, `Items` is unified with its elements converted back to terms. Deterministic. Raises an instantiation error if both arguments are unbound, and a type error if `ListRef` is neither unbound nor an object reference; fails if it references something that is not a `List`.\n\n**Examples**\n\n```prolog\n?- list_items(L, [a, b]), N := L.size.\nN = 2.\n\n?- list_items(L, [1, 2.5]), list_items(L, Items).\nItems = [1, 2.5].\n\n?- new_object('java.util.ArrayList', [], L), L.add(x), L.add(y), list_items(L, Items).\nItems = [x, y].\n\n?- list_items(L, Items).\nthrows error(instantiation_error, _).\n```";
2377
2381
  }
2378
- protoOf(ListItems).i1x = function () {
2379
- return this.a54_1;
2382
+ protoOf(ListItems).a23 = function () {
2383
+ return this.f57_1;
2380
2384
  };
2381
- protoOf(ListItems).j53 = function (_this__u8e3s4) {
2385
+ protoOf(ListItems).o56 = function (_this__u8e3s4) {
2382
2386
  return toList(_this__u8e3s4);
2383
2387
  };
2384
- protoOf(ListItems).k53 = function (_this__u8e3s4) {
2388
+ protoOf(ListItems).p56 = function (_this__u8e3s4) {
2385
2389
  return !(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtList) : false;
2386
2390
  };
2387
- protoOf(ListItems).b54 = function (_this__u8e3s4) {
2391
+ protoOf(ListItems).g57 = function (_this__u8e3s4) {
2388
2392
  return asSequence(_this__u8e3s4);
2389
2393
  };
2390
- protoOf(ListItems).l53 = function (_this__u8e3s4) {
2391
- return this.b54(isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4 : THROW_CCE());
2394
+ protoOf(ListItems).q56 = function (_this__u8e3s4) {
2395
+ return this.g57(isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4 : THROW_CCE());
2392
2396
  };
2393
2397
  var ListItems_instance;
2394
2398
  function ListItems_getInstance() {
@@ -2399,28 +2403,28 @@
2399
2403
  function NewObject3() {
2400
2404
  NewObject3_instance = this;
2401
2405
  Functional.call(this, 'new_object');
2402
- this.d54_1 = "`new_object(+Type, +Arguments, -ObjectRef)`\n\nInstantiates `Type` by calling its public constructor that best matches the list `Arguments`, and unifies `ObjectRef` with a reference to the new object. `Type` may be an atom holding a fully qualified type name (e.g. `'java.util.ArrayList'`), a type reference, or a `$Alias` reference to a type (e.g. `$arraylist`). Arguments are converted to objects as in `invoke_method/3`; use `as` casts to disambiguate overloaded constructors. Fails if the type name cannot be resolved. Raises a type error if `Type` is not callable or `Arguments` is not a list, an existence error if no constructor accepts the arguments, and a system error if the constructor throws.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), L.add(a), N := L.size.\nN = 1.\n\n?- new_object($arraylist, [], L), list_items(L, Items).\nItems = [].\n\n?- new_object('no.such.Type', [], L).\nno.\n\n?- new_object('java.util.ArrayList', [a], L).\nthrows error(representation_error(_), _).\n\n?- new_object('java.util.ArrayList', [a, b, c], L).\nthrows error(existence_error(oop_constructor, _), _).\n```";
2406
+ this.i57_1 = "`new_object(+Type, +Arguments, -ObjectRef)`\n\nInstantiates `Type` by calling its public constructor that best matches the list `Arguments`, and unifies `ObjectRef` with a reference to the new object. `Type` may be an atom holding a fully qualified type name (e.g. `'java.util.ArrayList'`), a type reference, or a `$Alias` reference to a type (e.g. `$arraylist`). Arguments are converted to objects as in `invoke_method/3`; use `as` casts to disambiguate overloaded constructors. Fails if the type name cannot be resolved. Raises a type error if `Type` is not callable or `Arguments` is not a list, an existence error if no constructor accepts the arguments, and a system error if the constructor throws.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), L.add(a), N := L.size.\nN = 1.\n\n?- new_object($arraylist, [], L), list_items(L, Items).\nItems = [].\n\n?- new_object('no.such.Type', [], L).\nno.\n\n?- new_object('java.util.ArrayList', [a], L).\nthrows error(representation_error(_), _).\n\n?- new_object('java.util.ArrayList', [a, b, c], L).\nthrows error(existence_error(oop_constructor, _), _).\n```";
2403
2407
  }
2404
- protoOf(NewObject3).i1x = function () {
2405
- return this.d54_1;
2408
+ protoOf(NewObject3).a23 = function () {
2409
+ return this.i57_1;
2406
2410
  };
2407
- protoOf(NewObject3).m2v = function (_this__u8e3s4, first, second, third) {
2408
- Companion_getInstance_7().a2m(_this__u8e3s4, 0);
2409
- Companion_getInstance_7().k2m(_this__u8e3s4, 1);
2411
+ protoOf(NewObject3).r33 = function (_this__u8e3s4, first, second, third) {
2412
+ Companion_getInstance_7().a2u(_this__u8e3s4, 0);
2413
+ Companion_getInstance_7().k2u(_this__u8e3s4, 1);
2410
2414
  var tmp$ret$0;
2411
2415
  $l$block: {
2412
2416
  // Inline function 'it.unibo.tuprolog.solve.libs.oop.primitives.catchingOopExceptions' call
2413
2417
  try {
2414
2418
  var type = getArgumentAsTypeRef(_this__u8e3s4, 0);
2415
2419
  var arguments_0 = (isInterface(second, List) ? second : THROW_CCE()).toArray();
2416
- var tmp1_safe_receiver = type == null ? null : type.o52(get_termToObjectConverter(_this__u8e3s4), arguments_0.slice());
2417
- var objectReference = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.c52();
2420
+ var tmp1_safe_receiver = type == null ? null : type.t55(get_termToObjectConverter(_this__u8e3s4), arguments_0.slice());
2421
+ var objectReference = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.h55();
2418
2422
  var tmp;
2419
2423
  if (objectReference == null) {
2420
2424
  tmp = null;
2421
2425
  } else {
2422
2426
  // Inline function 'kotlin.let' call
2423
- tmp = Companion_getInstance_7().q2l(_this__u8e3s4, third, objectReference);
2427
+ tmp = Companion_getInstance_7().p2t(_this__u8e3s4, third, objectReference);
2424
2428
  }
2425
2429
  var tmp3_elvis_lhs = tmp;
2426
2430
  tmp$ret$0 = tmp3_elvis_lhs == null ? Companion_getInstance_6().failed() : tmp3_elvis_lhs;
@@ -2428,7 +2432,7 @@
2428
2432
  } catch ($p) {
2429
2433
  if ($p instanceof OopException) {
2430
2434
  var e = $p;
2431
- throw e.u52(_this__u8e3s4.context, _this__u8e3s4.signature);
2435
+ throw e.z55(_this__u8e3s4.context, _this__u8e3s4.signature);
2432
2436
  } else {
2433
2437
  if ($p instanceof ResolutionException) {
2434
2438
  var e_0 = $p;
@@ -2446,8 +2450,8 @@
2446
2450
  }
2447
2451
  return tmp$ret$0;
2448
2452
  };
2449
- protoOf(NewObject3).b2o = function (_this__u8e3s4, first, second, third) {
2450
- return this.m2v(_this__u8e3s4, first, second, third);
2453
+ protoOf(NewObject3).b2w = function (_this__u8e3s4, first, second, third) {
2454
+ return this.r33(_this__u8e3s4, first, second, third);
2451
2455
  };
2452
2456
  var NewObject3_instance;
2453
2457
  function NewObject3_getInstance() {
@@ -2458,12 +2462,12 @@
2458
2462
  function NullRef_0() {
2459
2463
  NullRef_instance = this;
2460
2464
  TypeTester.call(this, 'null_ref');
2461
- this.f54_1 = "`null_ref(@Term)`\n\nSucceeds if `Term` is the null reference, i.e. the term representing a JVM/Kotlin `null` value (as returned, for instance, by a method returning `null`). Fails otherwise, including when `Term` is unbound.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.HashMap', [], M), invoke_method(M, get(k), V), null_ref(V).\nyes.\n\n?- null_ref(foo).\nno.\n\n?- null_ref(X).\nno.\n```";
2465
+ this.k57_1 = "`null_ref(@Term)`\n\nSucceeds if `Term` is the null reference, i.e. the term representing a JVM/Kotlin `null` value (as returned, for instance, by a method returning `null`). Fails otherwise, including when `Term` is unbound.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.HashMap', [], M), invoke_method(M, get(k), V), null_ref(V).\nyes.\n\n?- null_ref(foo).\nno.\n\n?- null_ref(X).\nno.\n```";
2462
2466
  }
2463
- protoOf(NullRef_0).i1x = function () {
2464
- return this.f54_1;
2467
+ protoOf(NullRef_0).a23 = function () {
2468
+ return this.k57_1;
2465
2469
  };
2466
- protoOf(NullRef_0).n2o = function (term) {
2470
+ protoOf(NullRef_0).n2w = function (term) {
2467
2471
  return isInterface(term, NullRef);
2468
2472
  };
2469
2473
  var NullRef_instance;
@@ -2475,12 +2479,12 @@
2475
2479
  function ObjectRef_0() {
2476
2480
  ObjectRef_instance = this;
2477
2481
  TypeTester.call(this, 'object_ref');
2478
- this.h54_1 = "`object_ref(@Term)`\n\nSucceeds if `Term` is an object reference, i.e. a term wrapping a JVM/Kotlin object (rendered like `<object:java.util.ArrayList#123>`), as produced by `new_object/3`, `cast/3`, `invoke_strict/3` and friends. The null reference counts as an object reference. Fails otherwise, including when `Term` is unbound.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), object_ref(L).\nyes.\n\n?- type('java.lang.String', T), object_ref(T).\nno.\n\n?- object_ref(X).\nno.\n```";
2482
+ this.m57_1 = "`object_ref(@Term)`\n\nSucceeds if `Term` is an object reference, i.e. a term wrapping a JVM/Kotlin object (rendered like `<object:java.util.ArrayList#123>`), as produced by `new_object/3`, `cast/3`, `invoke_strict/3` and friends. The null reference counts as an object reference. Fails otherwise, including when `Term` is unbound.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), object_ref(L).\nyes.\n\n?- type('java.lang.String', T), object_ref(T).\nno.\n\n?- object_ref(X).\nno.\n```";
2479
2483
  }
2480
- protoOf(ObjectRef_0).i1x = function () {
2481
- return this.h54_1;
2484
+ protoOf(ObjectRef_0).a23 = function () {
2485
+ return this.m57_1;
2482
2486
  };
2483
- protoOf(ObjectRef_0).n2o = function (term) {
2487
+ protoOf(ObjectRef_0).n2w = function (term) {
2484
2488
  return isInterface(term, ObjectRef);
2485
2489
  };
2486
2490
  var ObjectRef_instance;
@@ -2513,18 +2517,18 @@
2513
2517
  function get_termToObjectConverter(_this__u8e3s4) {
2514
2518
  _init_properties_PrimitiveExtensions_kt__hfa11z();
2515
2519
  var tmp = Companion_getInstance_13();
2516
- return tmp.e52(VOID, _get_termToObjectConverter_$lambda_4bacq4(_this__u8e3s4));
2520
+ return tmp.j55(VOID, _get_termToObjectConverter_$lambda_4bacq4(_this__u8e3s4));
2517
2521
  }
2518
2522
  function getArgumentAsTypeRef(_this__u8e3s4, index) {
2519
2523
  _init_properties_PrimitiveExtensions_kt__hfa11z();
2520
- Companion_getInstance_7().a2m(_this__u8e3s4, index);
2524
+ Companion_getInstance_7().a2u(_this__u8e3s4, index);
2521
2525
  var arg = _this__u8e3s4.arguments.t(index);
2522
2526
  var tmp;
2523
2527
  if (isInterface(arg, TypeRef)) {
2524
2528
  tmp = arg;
2525
2529
  } else {
2526
2530
  if (isInterface(arg, Atom)) {
2527
- tmp = Companion_getInstance_14().g52_1.n52(arg.f1());
2531
+ tmp = Companion_getInstance_14().l55_1.s55(arg.f1());
2528
2532
  } else {
2529
2533
  if (isDealiasingExpression(_this__u8e3s4, arg)) {
2530
2534
  var tmp_0 = findRefFromAlias(_this__u8e3s4, arg.castToStruct());
@@ -2552,7 +2556,7 @@
2552
2556
  tmp = _this__u8e3s4;
2553
2557
  } else {
2554
2558
  if (!isInterface(arg, TypeRef)) {
2555
- throw Companion_instance_1.j2b(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_TYPE_REFERENCE_getInstance(), arg, index);
2559
+ throw Companion_instance_1.q2h(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_TYPE_REFERENCE_getInstance(), arg, index);
2556
2560
  } else {
2557
2561
  tmp = _this__u8e3s4;
2558
2562
  }
@@ -2567,7 +2571,7 @@
2567
2571
  tmp = _this__u8e3s4;
2568
2572
  } else {
2569
2573
  if (!isInterface(arg, Ref)) {
2570
- throw Companion_instance_1.j2b(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_REFERENCE_getInstance(), arg, index);
2574
+ throw Companion_instance_1.q2h(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_REFERENCE_getInstance(), arg, index);
2571
2575
  } else {
2572
2576
  tmp = _this__u8e3s4;
2573
2577
  }
@@ -2590,21 +2594,21 @@
2590
2594
  var tmp_1 = filter(this_0, findRefFromAliasOrNull$lambda);
2591
2595
  var tmp$ret$0 = isInterface(tmp_1, Sequence) ? tmp_1 : THROW_CCE();
2592
2596
  var tmp0_safe_receiver = firstOrNull(tmp$ret$0);
2593
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y1y();
2597
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q24();
2594
2598
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.get(1);
2595
- return tmp2_safe_receiver == null ? null : tmp2_safe_receiver.rx();
2599
+ return tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r14();
2596
2600
  }
2597
2601
  function isDealiasingExpression(_this__u8e3s4, term) {
2598
2602
  _init_properties_PrimitiveExtensions_kt__hfa11z();
2599
2603
  var tmp;
2600
2604
  var tmp_0;
2601
2605
  if (isInterface(term, Struct)) {
2602
- tmp_0 = Companion_getInstance_7().r2l(_this__u8e3s4, term, get_DEALIASING_TEMPLATE());
2606
+ tmp_0 = Companion_getInstance_7().r2t(_this__u8e3s4, term, get_DEALIASING_TEMPLATE());
2603
2607
  } else {
2604
2608
  tmp_0 = false;
2605
2609
  }
2606
2610
  if (tmp_0) {
2607
- var tmp_1 = term.yw().t(0);
2611
+ var tmp_1 = term.y13().t(0);
2608
2612
  tmp = isInterface(tmp_1, Atom);
2609
2613
  } else {
2610
2614
  tmp = false;
@@ -2615,7 +2619,7 @@
2615
2619
  _init_properties_PrimitiveExtensions_kt__hfa11z();
2616
2620
  var tmp;
2617
2621
  if (isInterface(term, Struct)) {
2618
- tmp = Companion_getInstance_7().r2l(_this__u8e3s4, term, get_DEALIASING_TEMPLATE());
2622
+ tmp = Companion_getInstance_7().r2t(_this__u8e3s4, term, get_DEALIASING_TEMPLATE());
2619
2623
  } else {
2620
2624
  tmp = false;
2621
2625
  }
@@ -2655,12 +2659,12 @@
2655
2659
  function Ref_0() {
2656
2660
  Ref_instance = this;
2657
2661
  TypeTester.call(this, 'ref');
2658
- this.j54_1 = "`ref(@Term)`\n\nSucceeds if `Term` is a reference of any kind: either an object reference (see `object_ref/1`, including the null reference) or a type reference (see `type_ref/1`). Fails otherwise, including when `Term` is unbound. References are opaque atomic terms that can be passed around, unified, and used as receivers of method calls.\n\n**Examples**\n\n```prolog\n?- type('java.lang.String', T), ref(T).\nyes.\n\n?- new_object('java.util.ArrayList', [], L), ref(L).\nyes.\n\n?- ref(hello).\nno.\n```";
2662
+ this.o57_1 = "`ref(@Term)`\n\nSucceeds if `Term` is a reference of any kind: either an object reference (see `object_ref/1`, including the null reference) or a type reference (see `type_ref/1`). Fails otherwise, including when `Term` is unbound. References are opaque atomic terms that can be passed around, unified, and used as receivers of method calls.\n\n**Examples**\n\n```prolog\n?- type('java.lang.String', T), ref(T).\nyes.\n\n?- new_object('java.util.ArrayList', [], L), ref(L).\nyes.\n\n?- ref(hello).\nno.\n```";
2659
2663
  }
2660
- protoOf(Ref_0).i1x = function () {
2661
- return this.j54_1;
2664
+ protoOf(Ref_0).a23 = function () {
2665
+ return this.o57_1;
2662
2666
  };
2663
- protoOf(Ref_0).n2o = function (term) {
2667
+ protoOf(Ref_0).n2w = function (term) {
2664
2668
  return isInterface(term, Ref);
2665
2669
  };
2666
2670
  var Ref_instance;
@@ -2673,29 +2677,29 @@
2673
2677
  return function ($this$replySuccess) {
2674
2678
  var tmp = Companion_instance_15;
2675
2679
  var tmp_0 = isInterface($second, Struct) ? $second : THROW_CCE();
2676
- $this$replySuccess.d2r([tmp.k54(tmp_0, isInterface($first, Ref) ? $first : THROW_CCE()).g1x()]);
2680
+ $this$replySuccess.i2z([tmp.p57(tmp_0, isInterface($first, Ref) ? $first : THROW_CCE()).y22()]);
2677
2681
  return Unit_instance;
2678
2682
  };
2679
2683
  }
2680
2684
  function Register() {
2681
2685
  Register_instance = this;
2682
2686
  NonBacktrackable.call(this, 'register');
2683
- this.m54_1 = "`register(+Ref, +Alias)`\n\nRegisters the object or type reference `Ref` under the ground term `Alias`, by adding an `alias(Alias, Ref)` fact to the static knowledge base. Afterwards `$Alias` can be used wherever a reference is expected, e.g. as the receiver of a method call. Registering an already-used alias adds another fact, so the earliest registration keeps taking precedence until removed with `unregister/1`. Raises an instantiation error if an argument is unbound or `Alias` is not ground, and a type error if `Ref` is not a reference or `Alias` is not callable.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), register(L, my_list).\nyes.\n\n?- $my_list.add(a), N := $my_list.size.\nN = 1.\n\n?- register(X, my_alias).\nthrows error(instantiation_error, _).\n```";
2687
+ this.r57_1 = "`register(+Ref, +Alias)`\n\nRegisters the object or type reference `Ref` under the ground term `Alias`, by adding an `alias(Alias, Ref)` fact to the static knowledge base. Afterwards `$Alias` can be used wherever a reference is expected, e.g. as the receiver of a method call. Registering an already-used alias adds another fact, so the earliest registration keeps taking precedence until removed with `unregister/1`. Raises an instantiation error if an argument is unbound or `Alias` is not ground, and a type error if `Ref` is not a reference or `Alias` is not callable.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), register(L, my_list).\nyes.\n\n?- $my_list.add(a), N := $my_list.size.\nN = 1.\n\n?- register(X, my_alias).\nthrows error(instantiation_error, _).\n```";
2684
2688
  }
2685
- protoOf(Register).i1x = function () {
2686
- return this.m54_1;
2689
+ protoOf(Register).a23 = function () {
2690
+ return this.r57_1;
2687
2691
  };
2688
- protoOf(Register).j2v = function (_this__u8e3s4, first_0, second) {
2689
- Companion_getInstance_7().t2k(_this__u8e3s4);
2692
+ protoOf(Register).o33 = function (_this__u8e3s4, first_0, second) {
2693
+ Companion_getInstance_7().r2s(_this__u8e3s4);
2690
2694
  ensuringArgumentIsRef(_this__u8e3s4, 0);
2691
- Companion_getInstance_7().a2m(_this__u8e3s4, 1);
2692
- if (!second.by()) {
2693
- throw Companion_instance_6.m29(_this__u8e3s4.context, _this__u8e3s4.signature, first(second.zw()), 0);
2695
+ Companion_getInstance_7().a2u(_this__u8e3s4, 1);
2696
+ if (!second.a15()) {
2697
+ throw Companion_instance_6.t2f(_this__u8e3s4.context, _this__u8e3s4.signature, first(second.z13()), 0);
2694
2698
  }
2695
2699
  return _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, Register$computeOne$lambda(second, first_0));
2696
2700
  };
2697
- protoOf(Register).v2k = function (_this__u8e3s4, first, second) {
2698
- return this.j2v(_this__u8e3s4, first, second);
2701
+ protoOf(Register).t2s = function (_this__u8e3s4, first, second) {
2702
+ return this.o33(_this__u8e3s4, first, second);
2699
2703
  };
2700
2704
  var Register_instance;
2701
2705
  function Register_getInstance() {
@@ -2706,22 +2710,22 @@
2706
2710
  function SetItems() {
2707
2711
  SetItems_instance = this;
2708
2712
  AbstractIterableItems.call(this, 'set');
2709
- this.o54_1 = '`set_items(?SetRef, ?Items)`\n\nConverts between a Prolog list `Items` and an object reference `SetRef` wrapping a JVM/Kotlin `Set` with the same elements (duplicates are dropped, insertion order is kept). If `Items` is a list, each item is converted to an object (respecting `as` casts and `$Alias` references) and `SetRef` is unified with a reference to a fresh set; otherwise, if `SetRef` references a `Set`, `Items` is unified with its elements converted back to terms: strings become atoms, numbers become Prolog numbers, and other objects stay object references. Deterministic. Raises an instantiation error if both arguments are unbound, and a type error if `SetRef` is neither unbound nor an object reference; fails if it references something that is not a `Set`.\n\n**Examples**\n\n```prolog\n?- set_items(S, [a, b, b]), set_items(S, L).\nL = [a, b].\n\n?- set_items(S, [1, 1, 2.5]), set_items(S, L).\nL = [1, 2.5].\n\n?- set_items(S, [a, b]), N := S.size.\nN = 2.\n\n?- list_items(L, [a]), set_items(L, Items).\nno.\n```';
2713
+ this.t57_1 = '`set_items(?SetRef, ?Items)`\n\nConverts between a Prolog list `Items` and an object reference `SetRef` wrapping a JVM/Kotlin `Set` with the same elements (duplicates are dropped, insertion order is kept). If `Items` is a list, each item is converted to an object (respecting `as` casts and `$Alias` references) and `SetRef` is unified with a reference to a fresh set; otherwise, if `SetRef` references a `Set`, `Items` is unified with its elements converted back to terms: strings become atoms, numbers become Prolog numbers, and other objects stay object references. Deterministic. Raises an instantiation error if both arguments are unbound, and a type error if `SetRef` is neither unbound nor an object reference; fails if it references something that is not a `Set`.\n\n**Examples**\n\n```prolog\n?- set_items(S, [a, b, b]), set_items(S, L).\nL = [a, b].\n\n?- set_items(S, [1, 1, 2.5]), set_items(S, L).\nL = [1, 2.5].\n\n?- set_items(S, [a, b]), N := S.size.\nN = 2.\n\n?- list_items(L, [a]), set_items(L, Items).\nno.\n```';
2710
2714
  }
2711
- protoOf(SetItems).i1x = function () {
2712
- return this.o54_1;
2715
+ protoOf(SetItems).a23 = function () {
2716
+ return this.t57_1;
2713
2717
  };
2714
- protoOf(SetItems).j53 = function (_this__u8e3s4) {
2718
+ protoOf(SetItems).o56 = function (_this__u8e3s4) {
2715
2719
  return toSet(_this__u8e3s4);
2716
2720
  };
2717
- protoOf(SetItems).k53 = function (_this__u8e3s4) {
2721
+ protoOf(SetItems).p56 = function (_this__u8e3s4) {
2718
2722
  return !(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtSet) : false;
2719
2723
  };
2720
- protoOf(SetItems).p54 = function (_this__u8e3s4) {
2724
+ protoOf(SetItems).u57 = function (_this__u8e3s4) {
2721
2725
  return asSequence(_this__u8e3s4);
2722
2726
  };
2723
- protoOf(SetItems).l53 = function (_this__u8e3s4) {
2724
- return this.p54(isInterface(_this__u8e3s4, KtSet) ? _this__u8e3s4 : THROW_CCE());
2727
+ protoOf(SetItems).q56 = function (_this__u8e3s4) {
2728
+ return this.u57(isInterface(_this__u8e3s4, KtSet) ? _this__u8e3s4 : THROW_CCE());
2725
2729
  };
2726
2730
  var SetItems_instance;
2727
2731
  function SetItems_getInstance() {
@@ -2732,13 +2736,13 @@
2732
2736
  function Type() {
2733
2737
  Type_instance = this;
2734
2738
  Functional_0.call(this, 'type');
2735
- this.r54_1 = "`type(?TypeName, ?TypeRef)`\n\nConverts between an atom `TypeName` and a type reference `TypeRef` to the class it names. Given an atom holding a fully qualified type name (e.g. `'java.lang.String'`), unifies `TypeRef` with a reference to that class, failing if no such class exists; given a type reference, unifies `TypeName` with the fully qualified name of its class, so that the two directions round-trip. Deterministic. Raises an instantiation error if both arguments are unbound and a type error if the bound argument has the wrong shape.\n\n**Examples**\n\n```prolog\n?- type('java.util.ArrayList', T), new_object(T, [], L), N := L.size.\nN = 0.\n\n?- type('java.util.ArrayList', T), type(Name, T).\nName = 'java.util.ArrayList'.\n\n?- type('no.such.Type', T).\nno.\n\n?- type(Name, 'java.lang.String').\nthrows error(type_error(type_reference, 'java.lang.String'), _).\n```";
2736
- this.s54_1 = Companion_getInstance_14().g52_1;
2739
+ this.w57_1 = "`type(?TypeName, ?TypeRef)`\n\nConverts between an atom `TypeName` and a type reference `TypeRef` to the class it names. Given an atom holding a fully qualified type name (e.g. `'java.lang.String'`), unifies `TypeRef` with a reference to that class, failing if no such class exists; given a type reference, unifies `TypeName` with the fully qualified name of its class, so that the two directions round-trip. Deterministic. Raises an instantiation error if both arguments are unbound and a type error if the bound argument has the wrong shape.\n\n**Examples**\n\n```prolog\n?- type('java.util.ArrayList', T), new_object(T, [], L), N := L.size.\nN = 0.\n\n?- type('java.util.ArrayList', T), type(Name, T).\nName = 'java.util.ArrayList'.\n\n?- type('no.such.Type', T).\nno.\n\n?- type(Name, 'java.lang.String').\nthrows error(type_error(type_reference, 'java.lang.String'), _).\n```";
2740
+ this.x57_1 = Companion_getInstance_14().l55_1;
2737
2741
  }
2738
- protoOf(Type).i1x = function () {
2739
- return this.r54_1;
2742
+ protoOf(Type).a23 = function () {
2743
+ return this.w57_1;
2740
2744
  };
2741
- protoOf(Type).o2w = function (_this__u8e3s4, first, second) {
2745
+ protoOf(Type).t34 = function (_this__u8e3s4, first, second) {
2742
2746
  var tmp$ret$0;
2743
2747
  $l$block: {
2744
2748
  // Inline function 'it.unibo.tuprolog.solve.libs.oop.primitives.catchingOopExceptions' call
@@ -2751,31 +2755,31 @@
2751
2755
  tmp_0 = false;
2752
2756
  }
2753
2757
  if (tmp_0) {
2754
- Companion_getInstance_7().w2l(_this__u8e3s4, 0);
2758
+ Companion_getInstance_7().w2t(_this__u8e3s4, 0);
2755
2759
  tmp = Companion_getInstance_6().failed();
2756
2760
  } else {
2757
2761
  if (isInterface(first, Var)) {
2758
- Companion_getInstance_7().f2m(_this__u8e3s4, 1);
2762
+ Companion_getInstance_7().f2u(_this__u8e3s4, 1);
2759
2763
  ensuringArgumentIsTypeRef(_this__u8e3s4, 1);
2760
2764
  var tmp_1 = Companion_getInstance_7();
2761
2765
  var tmp_2 = Companion_getInstance_0();
2762
- tmp = tmp_1.q2l(_this__u8e3s4, first, tmp_2.of(get_fullName((isInterface(second, TypeRef) ? second : THROW_CCE()).w27())));
2766
+ tmp = tmp_1.p2t(_this__u8e3s4, first, tmp_2.of(get_fullName((isInterface(second, TypeRef) ? second : THROW_CCE()).b2e())));
2763
2767
  } else {
2764
2768
  if (isInterface(second, Var)) {
2765
- Companion_getInstance_7().f2m(_this__u8e3s4, 0);
2766
- var tmp_3 = Type_getInstance().s54_1;
2767
- var tmp0_safe_receiver = tmp_3.n52((isInterface(first, Atom) ? first : THROW_CCE()).f1());
2769
+ Companion_getInstance_7().f2u(_this__u8e3s4, 0);
2770
+ var tmp_3 = Type_getInstance().x57_1;
2771
+ var tmp0_safe_receiver = tmp_3.s55((isInterface(first, Atom) ? first : THROW_CCE()).f1());
2768
2772
  var tmp_4;
2769
2773
  if (tmp0_safe_receiver == null) {
2770
2774
  tmp_4 = null;
2771
2775
  } else {
2772
2776
  // Inline function 'kotlin.let' call
2773
- tmp_4 = Companion_getInstance_7().q2l(_this__u8e3s4, second, tmp0_safe_receiver);
2777
+ tmp_4 = Companion_getInstance_7().p2t(_this__u8e3s4, second, tmp0_safe_receiver);
2774
2778
  }
2775
2779
  var tmp1_elvis_lhs = tmp_4;
2776
2780
  tmp = tmp1_elvis_lhs == null ? Companion_getInstance_6().failed() : tmp1_elvis_lhs;
2777
2781
  } else {
2778
- Companion_getInstance_7().f2m(_this__u8e3s4, 0);
2782
+ Companion_getInstance_7().f2u(_this__u8e3s4, 0);
2779
2783
  tmp = Companion_getInstance_6().failed();
2780
2784
  }
2781
2785
  }
@@ -2785,7 +2789,7 @@
2785
2789
  } catch ($p) {
2786
2790
  if ($p instanceof OopException) {
2787
2791
  var e = $p;
2788
- throw e.u52(_this__u8e3s4.context, _this__u8e3s4.signature);
2792
+ throw e.z55(_this__u8e3s4.context, _this__u8e3s4.signature);
2789
2793
  } else {
2790
2794
  if ($p instanceof ResolutionException) {
2791
2795
  var e_0 = $p;
@@ -2803,8 +2807,8 @@
2803
2807
  }
2804
2808
  return tmp$ret$0;
2805
2809
  };
2806
- protoOf(Type).e2l = function (_this__u8e3s4, first, second) {
2807
- return this.o2w(_this__u8e3s4, first, second);
2810
+ protoOf(Type).d2t = function (_this__u8e3s4, first, second) {
2811
+ return this.t34(_this__u8e3s4, first, second);
2808
2812
  };
2809
2813
  var Type_instance;
2810
2814
  function Type_getInstance() {
@@ -2815,12 +2819,12 @@
2815
2819
  function TypeRef_0() {
2816
2820
  TypeRef_instance = this;
2817
2821
  TypeTester.call(this, 'type_ref');
2818
- this.u54_1 = "`type_ref(@Term)`\n\nSucceeds if `Term` is a type reference, i.e. a term wrapping a JVM/Kotlin class (rendered like `<type:java.lang.String>`), as produced by `type/2` or by `$Alias` references to types such as `$string`. Type references can be used to instantiate a class (`new_object/3`) or to invoke its static members. Fails otherwise, including when `Term` is unbound.\n\n**Examples**\n\n```prolog\n?- alias(string, T), type_ref(T).\nyes.\n\n?- type_ref('java.lang.String').\nno.\n\n?- new_object('java.util.ArrayList', [], L), type_ref(L).\nno.\n```";
2822
+ this.z57_1 = "`type_ref(@Term)`\n\nSucceeds if `Term` is a type reference, i.e. a term wrapping a JVM/Kotlin class (rendered like `<type:java.lang.String>`), as produced by `type/2` or by `$Alias` references to types such as `$string`. Type references can be used to instantiate a class (`new_object/3`) or to invoke its static members. Fails otherwise, including when `Term` is unbound.\n\n**Examples**\n\n```prolog\n?- alias(string, T), type_ref(T).\nyes.\n\n?- type_ref('java.lang.String').\nno.\n\n?- new_object('java.util.ArrayList', [], L), type_ref(L).\nno.\n```";
2819
2823
  }
2820
- protoOf(TypeRef_0).i1x = function () {
2821
- return this.u54_1;
2824
+ protoOf(TypeRef_0).a23 = function () {
2825
+ return this.z57_1;
2822
2826
  };
2823
- protoOf(TypeRef_0).n2o = function (term) {
2827
+ protoOf(TypeRef_0).n2w = function (term) {
2824
2828
  return isInterface(term, TypeRef);
2825
2829
  };
2826
2830
  var TypeRef_instance;
@@ -2831,30 +2835,30 @@
2831
2835
  }
2832
2836
  function Unregister$computeOne$lambda($first) {
2833
2837
  return function (it) {
2834
- return it.dz().get(0).equals($first);
2838
+ return it.s15().get(0).equals($first);
2835
2839
  };
2836
2840
  }
2837
2841
  function Unregister$computeOne$lambda_0($toBeRemoved) {
2838
2842
  return function ($this$replySuccess) {
2839
- $this$replySuccess.e2r($toBeRemoved);
2843
+ $this$replySuccess.j2z($toBeRemoved);
2840
2844
  return Unit_instance;
2841
2845
  };
2842
2846
  }
2843
2847
  function Unregister() {
2844
2848
  Unregister_instance = this;
2845
2849
  NonBacktrackable_0.call(this, 'unregister');
2846
- this.w54_1 = "`unregister(+Alias)`\n\nRemoves every `alias(Alias, _)` fact for the ground term `Alias` from the static knowledge base, undoing `register/2` (it can also remove the library's default aliases, such as `string` or `stdout`). Fails if no such alias is registered. Raises a type error if `Alias` is unbound or not callable, and an instantiation error if it is not ground.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), register(L, my_list).\nyes.\n\n?- unregister(my_list).\nyes.\n\n?- alias(my_list, R).\nno.\n\n?- unregister(my_list).\nno.\n```";
2850
+ this.b58_1 = "`unregister(+Alias)`\n\nRemoves every `alias(Alias, _)` fact for the ground term `Alias` from the static knowledge base, undoing `register/2` (it can also remove the library's default aliases, such as `string` or `stdout`). Fails if no such alias is registered. Raises a type error if `Alias` is unbound or not callable, and an instantiation error if it is not ground.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), register(L, my_list).\nyes.\n\n?- unregister(my_list).\nyes.\n\n?- alias(my_list, R).\nno.\n\n?- unregister(my_list).\nno.\n```";
2847
2851
  }
2848
- protoOf(Unregister).i1x = function () {
2849
- return this.w54_1;
2852
+ protoOf(Unregister).a23 = function () {
2853
+ return this.b58_1;
2850
2854
  };
2851
- protoOf(Unregister).v2u = function (_this__u8e3s4, first_0) {
2852
- Companion_getInstance_7().a2m(_this__u8e3s4, 0);
2853
- if (!first_0.by()) {
2854
- throw Companion_instance_6.m29(_this__u8e3s4.context, _this__u8e3s4.signature, first(first_0.zw()), 0);
2855
+ protoOf(Unregister).a33 = function (_this__u8e3s4, first_0) {
2856
+ Companion_getInstance_7().a2u(_this__u8e3s4, 0);
2857
+ if (!first_0.a15()) {
2858
+ throw Companion_instance_6.t2f(_this__u8e3s4.context, _this__u8e3s4.signature, first(first_0.z13()), 0);
2855
2859
  }
2856
2860
  var pattern = Companion_getInstance_9().of('alias', [first_0, Companion_getInstance_8().anonymous()]);
2857
- var tmp = _this__u8e3s4.context.v1x().getByHead(pattern);
2861
+ var tmp = _this__u8e3s4.context.n23().getByHead(pattern);
2858
2862
  var toBeRemoved = toList(filter(tmp, Unregister$computeOne$lambda(first_0)));
2859
2863
  var tmp_0;
2860
2864
  if (toBeRemoved.i()) {
@@ -2864,8 +2868,8 @@
2864
2868
  }
2865
2869
  return tmp_0;
2866
2870
  };
2867
- protoOf(Unregister).i2o = function (_this__u8e3s4, first) {
2868
- return this.v2u(_this__u8e3s4, first);
2871
+ protoOf(Unregister).i2w = function (_this__u8e3s4, first) {
2872
+ return this.a33(_this__u8e3s4, first);
2869
2873
  };
2870
2874
  var Unregister_instance;
2871
2875
  function Unregister_getInstance() {
@@ -2874,12 +2878,12 @@
2874
2878
  return Unregister_instance;
2875
2879
  }
2876
2880
  function Companion_7() {
2877
- this.p51_1 = 'alias';
2881
+ this.u54_1 = 'alias';
2878
2882
  }
2879
- protoOf(Companion_7).q51 = function (alias, type) {
2880
- return new Alias(Companion_getInstance_0().of(alias), Companion_instance_12.l52(type));
2883
+ protoOf(Companion_7).v54 = function (alias, type) {
2884
+ return new Alias(Companion_getInstance_0().of(alias), Companion_instance_12.q55(type));
2881
2885
  };
2882
- protoOf(Companion_7).k54 = function (alias, ref) {
2886
+ protoOf(Companion_7).p57 = function (alias, ref) {
2883
2887
  return new Alias(alias, ref);
2884
2888
  };
2885
2889
  var Companion_instance_15;
@@ -2888,123 +2892,123 @@
2888
2892
  }
2889
2893
  function Alias(alias, ref) {
2890
2894
  RuleWrapper_init_$Init$('alias', 2, VOID, this);
2891
- this.a55_1 = alias;
2892
- this.b55_1 = ref;
2893
- this.c55_1 = "`alias(?Alias, ?Ref)`\n\nAssociates a ground term `Alias` with an object or type reference `Ref`, so that `$Alias` can stand for `Ref` wherever a reference is expected (as a method receiver, as a constructor or method argument, or as the type in `as` casts and `cast/3`). The library ships facts for common types (`string`, `array`, `list`, `arraylist`, `map`, `hashmap`, `int`, `integer`, `double`, `float`, `long`, `short`, `byte`, `char`, `bool`, `boolean`, `any`, `nothing`, `big_integer`, `big_decimal`) and, on the JVM, `system` and `math` (types) plus `stdout`, `stderr` and `stdin` (objects). Querying it enumerates the registered aliases on backtracking; add or remove aliases with `register/2` and `unregister/1`.\n\n**Examples**\n\n```prolog\n?- alias(A, _).\nA = string ; A = array ; A = list.\n\n?- alias(string, T), type(Name, T).\nName = 'kotlin.String'.\n\n?- alias(nope, R).\nno.\n```";
2895
+ this.f58_1 = alias;
2896
+ this.g58_1 = ref;
2897
+ this.h58_1 = "`alias(?Alias, ?Ref)`\n\nAssociates a ground term `Alias` with an object or type reference `Ref`, so that `$Alias` can stand for `Ref` wherever a reference is expected (as a method receiver, as a constructor or method argument, or as the type in `as` casts and `cast/3`). The library ships facts for common types (`string`, `array`, `list`, `arraylist`, `map`, `hashmap`, `int`, `integer`, `double`, `float`, `long`, `short`, `byte`, `char`, `bool`, `boolean`, `any`, `nothing`, `big_integer`, `big_decimal`) and, on the JVM, `system` and `math` (types) plus `stdout`, `stderr` and `stdin` (objects). Querying it enumerates the registered aliases on backtracking; add or remove aliases with `register/2` and `unregister/1`.\n\n**Examples**\n\n```prolog\n?- alias(A, _).\nA = string ; A = array ; A = list.\n\n?- alias(string, T), type(Name, T).\nName = 'kotlin.String'.\n\n?- alias(nope, R).\nno.\n```";
2894
2898
  // Inline function 'kotlin.require' call
2895
- if (!this.a55_1.by()) {
2896
- var message = 'Alias must be a ground term, got: ' + this.a55_1.toString();
2899
+ if (!this.f58_1.a15()) {
2900
+ var message = 'Alias must be a ground term, got: ' + this.f58_1.toString();
2897
2901
  throw IllegalArgumentException_init_$Create$(toString_0(message));
2898
2902
  }
2899
2903
  }
2900
- protoOf(Alias).i1x = function () {
2901
- return this.c55_1;
2904
+ protoOf(Alias).a23 = function () {
2905
+ return this.h58_1;
2902
2906
  };
2903
- protoOf(Alias).o2o = function (_this__u8e3s4) {
2904
- return toList(sequenceOf_0([this.a55_1, this.b55_1]));
2907
+ protoOf(Alias).o2w = function (_this__u8e3s4) {
2908
+ return toList(sequenceOf_0([this.f58_1, this.g58_1]));
2905
2909
  };
2906
2910
  function _get_R__7mlo3j($this) {
2907
2911
  var tmp = KProperty1;
2908
- return $this.h55_1.getValue($this, getPropertyCallableRef('R', 1, tmp, ColonEquals$Cast$_get_R_$ref_879xch(), null));
2912
+ return $this.m58_1.getValue($this, getPropertyCallableRef('R', 1, tmp, ColonEquals$Cast$_get_R_$ref_879xch(), null));
2909
2913
  }
2910
2914
  function _get_X__7mlo8p($this) {
2911
2915
  var tmp = KProperty1;
2912
- return $this.i55_1.getValue($this, getPropertyCallableRef('X', 1, tmp, ColonEquals$Cast$_get_X_$ref_5d06zb(), null));
2916
+ return $this.n58_1.getValue($this, getPropertyCallableRef('X', 1, tmp, ColonEquals$Cast$_get_X_$ref_5d06zb(), null));
2913
2917
  }
2914
2918
  function _get_Y__7mlo9k($this) {
2915
2919
  var tmp = KProperty1;
2916
- return $this.j55_1.getValue($this, getPropertyCallableRef('Y', 1, tmp, ColonEquals$Cast$_get_Y_$ref_4vykl4(), null));
2920
+ return $this.o58_1.getValue($this, getPropertyCallableRef('Y', 1, tmp, ColonEquals$Cast$_get_Y_$ref_4vykl4(), null));
2917
2921
  }
2918
2922
  function _get_T__7mlo59($this) {
2919
2923
  var tmp = KProperty1;
2920
- return $this.k55_1.getValue($this, getPropertyCallableRef('T', 1, tmp, ColonEquals$Cast$_get_T_$ref_796ok3(), null));
2924
+ return $this.p58_1.getValue($this, getPropertyCallableRef('T', 1, tmp, ColonEquals$Cast$_get_T_$ref_796ok3(), null));
2921
2925
  }
2922
2926
  function ColonEquals$Cast$_get_R_$ref_879xch() {
2923
2927
  return constructCallableReference(function (p0) {
2924
2928
  return _get_R__7mlo3j(p0);
2925
- }, 1, 0, 133);
2929
+ }, 1, 0, 84);
2926
2930
  }
2927
2931
  function ColonEquals$Cast$_get_X_$ref_5d06zb() {
2928
2932
  return constructCallableReference(function (p0) {
2929
2933
  return _get_X__7mlo8p(p0);
2930
- }, 1, 0, 134);
2934
+ }, 1, 0, 85);
2931
2935
  }
2932
2936
  function ColonEquals$Cast$_get_Y_$ref_4vykl4() {
2933
2937
  return constructCallableReference(function (p0) {
2934
2938
  return _get_Y__7mlo9k(p0);
2935
- }, 1, 0, 135);
2939
+ }, 1, 0, 86);
2936
2940
  }
2937
2941
  function ColonEquals$Cast$_get_T_$ref_796ok3() {
2938
2942
  return constructCallableReference(function (p0) {
2939
2943
  return _get_T__7mlo59(p0);
2940
- }, 1, 0, 136);
2944
+ }, 1, 0, 87);
2941
2945
  }
2942
2946
  function _get_R__7mlo3j_0($this) {
2943
2947
  var tmp = KProperty1;
2944
- return $this.p55_1.getValue($this, getPropertyCallableRef('R', 1, tmp, ColonEquals$Invocation$_get_R_$ref_tlu5kw(), null));
2948
+ return $this.u58_1.getValue($this, getPropertyCallableRef('R', 1, tmp, ColonEquals$Invocation$_get_R_$ref_tlu5kw(), null));
2945
2949
  }
2946
2950
  function _get_M__7mlnz8($this) {
2947
2951
  var tmp = KProperty1;
2948
- return $this.q55_1.getValue($this, getPropertyCallableRef('M', 1, tmp, ColonEquals$Invocation$_get_M_$ref_vz29jv(), null));
2952
+ return $this.v58_1.getValue($this, getPropertyCallableRef('M', 1, tmp, ColonEquals$Invocation$_get_M_$ref_vz29jv(), null));
2949
2953
  }
2950
2954
  function ColonEquals$Invocation$_get_R_$ref_tlu5kw() {
2951
2955
  return constructCallableReference(function (p0) {
2952
2956
  return _get_R__7mlo3j_0(p0);
2953
- }, 1, 0, 137);
2957
+ }, 1, 0, 88);
2954
2958
  }
2955
2959
  function ColonEquals$Invocation$_get_M_$ref_vz29jv() {
2956
2960
  return constructCallableReference(function (p0) {
2957
2961
  return _get_M__7mlnz8(p0);
2958
- }, 1, 0, 138);
2962
+ }, 1, 0, 89);
2959
2963
  }
2960
2964
  function _get_C__7mlnqm($this) {
2961
2965
  var tmp = KProperty1;
2962
- return $this.v55_1.getValue($this, getPropertyCallableRef('C', 1, tmp, ColonEquals$Assignment$_get_C_$ref_kw9fvw(), null));
2966
+ return $this.a59_1.getValue($this, getPropertyCallableRef('C', 1, tmp, ColonEquals$Assignment$_get_C_$ref_kw9fvw(), null));
2963
2967
  }
2964
2968
  function _get_P__7mlo1t($this) {
2965
2969
  var tmp = KProperty1;
2966
- return $this.w55_1.getValue($this, getPropertyCallableRef('P', 1, tmp, ColonEquals$Assignment$_get_P_$ref_r1uj0f(), null));
2970
+ return $this.b59_1.getValue($this, getPropertyCallableRef('P', 1, tmp, ColonEquals$Assignment$_get_P_$ref_r1uj0f(), null));
2967
2971
  }
2968
2972
  function _get_R__7mlo3j_1($this) {
2969
2973
  var tmp = KProperty1;
2970
- return $this.x55_1.getValue($this, getPropertyCallableRef('R', 1, tmp, ColonEquals$Assignment$_get_R_$ref_rzxrst(), null));
2974
+ return $this.c59_1.getValue($this, getPropertyCallableRef('R', 1, tmp, ColonEquals$Assignment$_get_R_$ref_rzxrst(), null));
2971
2975
  }
2972
2976
  function _get_V__7mlo6z($this) {
2973
2977
  var tmp = KProperty1;
2974
- return $this.y55_1.getValue($this, getPropertyCallableRef('V', 1, tmp, ColonEquals$Assignment$_get_V_$ref_tw49dl(), null));
2978
+ return $this.d59_1.getValue($this, getPropertyCallableRef('V', 1, tmp, ColonEquals$Assignment$_get_V_$ref_tw49dl(), null));
2975
2979
  }
2976
2980
  function ColonEquals$Assignment$_get_C_$ref_kw9fvw() {
2977
2981
  return constructCallableReference(function (p0) {
2978
2982
  return _get_C__7mlnqm(p0);
2979
- }, 1, 0, 139);
2983
+ }, 1, 0, 90);
2980
2984
  }
2981
2985
  function ColonEquals$Assignment$_get_P_$ref_r1uj0f() {
2982
2986
  return constructCallableReference(function (p0) {
2983
2987
  return _get_P__7mlo1t(p0);
2984
- }, 1, 0, 140);
2988
+ }, 1, 0, 91);
2985
2989
  }
2986
2990
  function ColonEquals$Assignment$_get_R_$ref_rzxrst() {
2987
2991
  return constructCallableReference(function (p0) {
2988
2992
  return _get_R__7mlo3j_1(p0);
2989
- }, 1, 0, 141);
2993
+ }, 1, 0, 92);
2990
2994
  }
2991
2995
  function ColonEquals$Assignment$_get_V_$ref_tw49dl() {
2992
2996
  return constructCallableReference(function (p0) {
2993
2997
  return _get_V__7mlo6z(p0);
2994
- }, 1, 0, 142);
2998
+ }, 1, 0, 93);
2995
2999
  }
2996
3000
  function Cast_0() {
2997
3001
  Cast_instance_0 = this;
2998
3002
  ColonEquals.call(this);
2999
- this.h55_1 = this.z21_1;
3000
- this.i55_1 = this.z21_1;
3001
- this.j55_1 = this.z21_1;
3002
- this.k55_1 = this.z21_1;
3003
+ this.m58_1 = this.f28_1;
3004
+ this.n58_1 = this.f28_1;
3005
+ this.o58_1 = this.f28_1;
3006
+ this.p58_1 = this.f28_1;
3003
3007
  }
3004
- protoOf(Cast_0).o2o = function (_this__u8e3s4) {
3008
+ protoOf(Cast_0).o2w = function (_this__u8e3s4) {
3005
3009
  return listOf([_get_R__7mlo3j(this), _this__u8e3s4.structOf('as', [_get_X__7mlo8p(this), _get_T__7mlo59(this)])]);
3006
3010
  };
3007
- protoOf(Cast_0).p2o = function (_this__u8e3s4) {
3011
+ protoOf(Cast_0).p2w = function (_this__u8e3s4) {
3008
3012
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3009
3013
  var tmp$ret$0 = Var_getInstance().signature.name;
3010
3014
  var tmp = _this__u8e3s4.structOf(tmp$ret$0, [_get_R__7mlo3j(this)]);
@@ -3023,13 +3027,13 @@
3023
3027
  function Invocation() {
3024
3028
  Invocation_instance = this;
3025
3029
  ColonEquals.call(this);
3026
- this.p55_1 = this.z21_1;
3027
- this.q55_1 = this.z21_1;
3030
+ this.u58_1 = this.f28_1;
3031
+ this.v58_1 = this.f28_1;
3028
3032
  }
3029
- protoOf(Invocation).o2o = function (_this__u8e3s4) {
3033
+ protoOf(Invocation).o2w = function (_this__u8e3s4) {
3030
3034
  return listOf([_get_R__7mlo3j_0(this), _get_M__7mlnz8(this)]);
3031
3035
  };
3032
- protoOf(Invocation).p2o = function (_this__u8e3s4) {
3036
+ protoOf(Invocation).p2w = function (_this__u8e3s4) {
3033
3037
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3034
3038
  var tmp$ret$0 = Var_getInstance().signature.name;
3035
3039
  return _this__u8e3s4.tupleOf([_this__u8e3s4.structOf(tmp$ret$0, [_get_R__7mlo3j_0(this)]), _this__u8e3s4.atomOf('!'), _this__u8e3s4.structOf('fluent_reduce', [_get_M__7mlnz8(this), _get_R__7mlo3j_0(this)])]);
@@ -3043,15 +3047,15 @@
3043
3047
  function Assignment() {
3044
3048
  Assignment_instance = this;
3045
3049
  ColonEquals.call(this);
3046
- this.v55_1 = this.z21_1;
3047
- this.w55_1 = this.z21_1;
3048
- this.x55_1 = this.z21_1;
3049
- this.y55_1 = this.z21_1;
3050
+ this.a59_1 = this.f28_1;
3051
+ this.b59_1 = this.f28_1;
3052
+ this.c59_1 = this.f28_1;
3053
+ this.d59_1 = this.f28_1;
3050
3054
  }
3051
- protoOf(Assignment).o2o = function (_this__u8e3s4) {
3055
+ protoOf(Assignment).o2w = function (_this__u8e3s4) {
3052
3056
  return listOf([_get_C__7mlnqm(this), _get_V__7mlo6z(this)]);
3053
3057
  };
3054
- protoOf(Assignment).p2o = function (_this__u8e3s4) {
3058
+ protoOf(Assignment).p2w = function (_this__u8e3s4) {
3055
3059
  var tmp = _this__u8e3s4.structOf('property_reduce', [_get_C__7mlnqm(this), _get_R__7mlo3j_1(this), _get_P__7mlo1t(this)]);
3056
3060
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3057
3061
  var tmp$ret$0 = Assign_getInstance().signature.name;
@@ -3065,44 +3069,44 @@
3065
3069
  }
3066
3070
  function ColonEquals() {
3067
3071
  RuleWrapper_init_$Init$(':=', 2, VOID, this);
3068
- this.c56_1 = "`?Target := +Expression`\n\nFluent evaluation and assignment. If `Target` is unbound, `Target := Receiver.m1(...).m2` evaluates the method/property chain on the right (see `./2`) and binds `Target` to the converted result of the last access; a right-hand side that is not a chain is just unified with `Target` (e.g. `X := 5`). `Target := Term as Type` additionally converts the (evaluated) `Term` via `cast/3`, binding `Target` to an object reference; here `Type` must be a type reference, a fully qualified type name such as `'java.lang.Long'`, or a `$Alias` such as `$long`, and since `as` binds tighter than `.`, a chain must be parenthesised: `R := (Obj.size) as $long`. If `Target` is bound, it must be a chain `Receiver.Property` (possibly longer), and `:=` evaluates everything but the last access and then assigns `Expression` to `Property` via `assign/3`.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), L.add(a), N := L.size.\nN = 1.\n\n?- X := 5.\nX = 5.\n\n?- new_object('java.util.ArrayList', [], L), R := (L.size) as $long, object_ref(R).\nyes.\n\n?- new_object('java.awt.Point', [1, 2], P), P.x := 7, X := P.x.\nX = 7.\n```";
3072
+ this.h59_1 = "`?Target := +Expression`\n\nFluent evaluation and assignment. If `Target` is unbound, `Target := Receiver.m1(...).m2` evaluates the method/property chain on the right (see `./2`) and binds `Target` to the converted result of the last access; a right-hand side that is not a chain is just unified with `Target` (e.g. `X := 5`). `Target := Term as Type` additionally converts the (evaluated) `Term` via `cast/3`, binding `Target` to an object reference; here `Type` must be a type reference, a fully qualified type name such as `'java.lang.Long'`, or a `$Alias` such as `$long`, and since `as` binds tighter than `.`, a chain must be parenthesised: `R := (Obj.size) as $long`. If `Target` is bound, it must be a chain `Receiver.Property` (possibly longer), and `:=` evaluates everything but the last access and then assigns `Expression` to `Property` via `assign/3`.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', [], L), L.add(a), N := L.size.\nN = 1.\n\n?- X := 5.\nX = 5.\n\n?- new_object('java.util.ArrayList', [], L), R := (L.size) as $long, object_ref(R).\nyes.\n\n?- new_object('java.awt.Point', [1, 2], P), P.x := 7, X := P.x.\nX = 7.\n```";
3069
3073
  }
3070
- protoOf(ColonEquals).i1x = function () {
3071
- return this.c56_1;
3074
+ protoOf(ColonEquals).a23 = function () {
3075
+ return this.h59_1;
3072
3076
  };
3073
3077
  function _get_Method__a3idyi($this) {
3074
3078
  var tmp = KProperty1;
3075
- return $this.h56_1.getValue($this, getPropertyCallableRef('Method', 1, tmp, Dot$_get_Method_$ref_b7a4zw(), null));
3079
+ return $this.m59_1.getValue($this, getPropertyCallableRef('Method', 1, tmp, Dot$_get_Method_$ref_b7a4zw(), null));
3076
3080
  }
3077
3081
  function _get_Ref__e5vi4e($this) {
3078
3082
  var tmp = KProperty1;
3079
- return $this.i56_1.getValue($this, getPropertyCallableRef('Ref', 1, tmp, Dot$_get_Ref_$ref_33uzaq(), null));
3083
+ return $this.n59_1.getValue($this, getPropertyCallableRef('Ref', 1, tmp, Dot$_get_Ref_$ref_33uzaq(), null));
3080
3084
  }
3081
3085
  function Dot$_get_Method_$ref_b7a4zw() {
3082
3086
  return constructCallableReference(function (p0) {
3083
3087
  return _get_Method__a3idyi(p0);
3084
- }, 1, 0, 143);
3088
+ }, 1, 0, 94);
3085
3089
  }
3086
3090
  function Dot$_get_Ref_$ref_33uzaq() {
3087
3091
  return constructCallableReference(function (p0) {
3088
3092
  return _get_Ref__e5vi4e(p0);
3089
- }, 1, 0, 144);
3093
+ }, 1, 0, 95);
3090
3094
  }
3091
3095
  function Dot() {
3092
3096
  Dot_instance = this;
3093
3097
  RuleWrapper_init_$Init$('.', 2, VOID, this);
3094
- this.g56_1 = "`+Receiver.+Message`\n\nFluent member access: invokes `Message` on the object, type, or `$Alias` referenced by `Receiver`, discarding the result. `Message` is an atom (a no-argument method, or a property to read) or a compound `name(Arg1, ..., ArgN)`; arguments are converted to objects, with `as` casts to steer overload selection. Since `.` is right-associative, accesses can be chained: `Obj.foo(1).bar` calls `foo(1)` on `Obj`, then `bar` on its result, each step via `invoke_method/3`. Used as a goal, it runs the chain for its side effects; to capture the final result write `Result := Obj.foo(1).bar` (see `:=/2`). Errors are those of `invoke_method/3`.\n\n**Examples**\n\n```prolog\n?- $stdout.println(hello).\n% prints: hello\nyes.\n\n?- new_object('java.util.ArrayList', [], L), L.add(a), L.add(b), list_items(L, Items).\nItems = [a, b].\n\n?- new_object('java.util.ArrayList', [], L), L.nope.\nthrows error(existence_error(_, _), _).\n```";
3095
- this.h56_1 = this.z21_1;
3096
- this.i56_1 = this.z21_1;
3098
+ this.l59_1 = "`+Receiver.+Message`\n\nFluent member access: invokes `Message` on the object, type, or `$Alias` referenced by `Receiver`, discarding the result. `Message` is an atom (a no-argument method, or a property to read) or a compound `name(Arg1, ..., ArgN)`; arguments are converted to objects, with `as` casts to steer overload selection. Since `.` is right-associative, accesses can be chained: `Obj.foo(1).bar` calls `foo(1)` on `Obj`, then `bar` on its result, each step via `invoke_method/3`. Used as a goal, it runs the chain for its side effects; to capture the final result write `Result := Obj.foo(1).bar` (see `:=/2`). Errors are those of `invoke_method/3`.\n\n**Examples**\n\n```prolog\n?- $stdout.println(hello).\n% prints: hello\nyes.\n\n?- new_object('java.util.ArrayList', [], L), L.add(a), L.add(b), list_items(L, Items).\nItems = [a, b].\n\n?- new_object('java.util.ArrayList', [], L), L.nope.\nthrows error(existence_error(_, _), _).\n```";
3099
+ this.m59_1 = this.f28_1;
3100
+ this.n59_1 = this.f28_1;
3097
3101
  }
3098
- protoOf(Dot).i1x = function () {
3099
- return this.g56_1;
3102
+ protoOf(Dot).a23 = function () {
3103
+ return this.l59_1;
3100
3104
  };
3101
- protoOf(Dot).o2o = function (_this__u8e3s4) {
3105
+ protoOf(Dot).o2w = function (_this__u8e3s4) {
3102
3106
  return listOf([_get_Ref__e5vi4e(this), _get_Method__a3idyi(this)]);
3103
3107
  };
3104
- protoOf(Dot).p2o = function (_this__u8e3s4) {
3105
- return _this__u8e3s4.structOf('fluent_reduce', [_this__u8e3s4.consOf(_get_Ref__e5vi4e(this), _get_Method__a3idyi(this)), _this__u8e3s4.m12()]);
3108
+ protoOf(Dot).p2w = function (_this__u8e3s4) {
3109
+ return _this__u8e3s4.structOf('fluent_reduce', [_this__u8e3s4.consOf(_get_Ref__e5vi4e(this), _get_Method__a3idyi(this)), _this__u8e3s4.e19()]);
3106
3110
  };
3107
3111
  var Dot_instance;
3108
3112
  function Dot_getInstance() {
@@ -3112,61 +3116,61 @@
3112
3116
  }
3113
3117
  function _get_P__7mlo1t_0($this) {
3114
3118
  var tmp = KProperty1;
3115
- return $this.o56_1.getValue($this, getPropertyCallableRef('P', 1, tmp, FluentReduce$Recursive$_get_P_$ref_qmyw78(), null));
3119
+ return $this.t59_1.getValue($this, getPropertyCallableRef('P', 1, tmp, FluentReduce$Recursive$_get_P_$ref_qmyw78(), null));
3116
3120
  }
3117
3121
  function _get_M__7mlnz8_0($this) {
3118
3122
  var tmp = KProperty1;
3119
- return $this.p56_1.getValue($this, getPropertyCallableRef('M', 1, tmp, FluentReduce$Recursive$_get_M_$ref_s23rdt(), null));
3123
+ return $this.u59_1.getValue($this, getPropertyCallableRef('M', 1, tmp, FluentReduce$Recursive$_get_M_$ref_s23rdt(), null));
3120
3124
  }
3121
3125
  function _get_P1__ndbjd6($this) {
3122
3126
  var tmp = KProperty1;
3123
- return $this.q56_1.getValue($this, getPropertyCallableRef('P1', 1, tmp, FluentReduce$Recursive$_get_P1_$ref_ksmyi5(), null));
3127
+ return $this.v59_1.getValue($this, getPropertyCallableRef('P1', 1, tmp, FluentReduce$Recursive$_get_P1_$ref_ksmyi5(), null));
3124
3128
  }
3125
3129
  function _get_X__7mlo8p_0($this) {
3126
3130
  var tmp = KProperty1;
3127
- return $this.r56_1.getValue($this, getPropertyCallableRef('X', 1, tmp, FluentReduce$Recursive$_get_X_$ref_mulx1o(), null));
3131
+ return $this.w59_1.getValue($this, getPropertyCallableRef('X', 1, tmp, FluentReduce$Recursive$_get_X_$ref_mulx1o(), null));
3128
3132
  }
3129
3133
  function FluentReduce$Recursive$_get_P_$ref_qmyw78() {
3130
3134
  return constructCallableReference(function (p0) {
3131
3135
  return _get_P__7mlo1t_0(p0);
3132
- }, 1, 0, 145);
3136
+ }, 1, 0, 96);
3133
3137
  }
3134
3138
  function FluentReduce$Recursive$_get_M_$ref_s23rdt() {
3135
3139
  return constructCallableReference(function (p0) {
3136
3140
  return _get_M__7mlnz8_0(p0);
3137
- }, 1, 0, 146);
3141
+ }, 1, 0, 97);
3138
3142
  }
3139
3143
  function FluentReduce$Recursive$_get_P1_$ref_ksmyi5() {
3140
3144
  return constructCallableReference(function (p0) {
3141
3145
  return _get_P1__ndbjd6(p0);
3142
- }, 1, 0, 147);
3146
+ }, 1, 0, 98);
3143
3147
  }
3144
3148
  function FluentReduce$Recursive$_get_X_$ref_mulx1o() {
3145
3149
  return constructCallableReference(function (p0) {
3146
3150
  return _get_X__7mlo8p_0(p0);
3147
- }, 1, 0, 148);
3151
+ }, 1, 0, 99);
3148
3152
  }
3149
3153
  function _get_P__7mlo1t_1($this) {
3150
3154
  var tmp = KProperty1;
3151
- return $this.x56_1.getValue($this, getPropertyCallableRef('P', 1, tmp, FluentReduce$Couple$_get_P_$ref_o7vzn6(), null));
3155
+ return $this.c5a_1.getValue($this, getPropertyCallableRef('P', 1, tmp, FluentReduce$Couple$_get_P_$ref_o7vzn6(), null));
3152
3156
  }
3153
3157
  function _get_M__7mlnz8_1($this) {
3154
3158
  var tmp = KProperty1;
3155
- return $this.y56_1.getValue($this, getPropertyCallableRef('M', 1, tmp, FluentReduce$Couple$_get_M_$ref_pn0utr(), null));
3159
+ return $this.d5a_1.getValue($this, getPropertyCallableRef('M', 1, tmp, FluentReduce$Couple$_get_M_$ref_pn0utr(), null));
3156
3160
  }
3157
3161
  function FluentReduce$Couple$_get_P_$ref_o7vzn6() {
3158
3162
  return constructCallableReference(function (p0) {
3159
3163
  return _get_P__7mlo1t_1(p0);
3160
- }, 1, 0, 149);
3164
+ }, 1, 0, 100);
3161
3165
  }
3162
3166
  function FluentReduce$Couple$_get_M_$ref_pn0utr() {
3163
3167
  return constructCallableReference(function (p0) {
3164
3168
  return _get_M__7mlnz8_1(p0);
3165
- }, 1, 0, 150);
3169
+ }, 1, 0, 101);
3166
3170
  }
3167
3171
  function Companion_8() {
3168
- this.z56_1 = 'fluent_reduce';
3169
- this.a57_1 = 2;
3172
+ this.e5a_1 = 'fluent_reduce';
3173
+ this.f5a_1 = 2;
3170
3174
  }
3171
3175
  var Companion_instance_16;
3172
3176
  function Companion_getInstance_19() {
@@ -3175,19 +3179,19 @@
3175
3179
  function Recursive() {
3176
3180
  Recursive_instance = this;
3177
3181
  FluentReduce.call(this);
3178
- this.o56_1 = this.z21_1;
3179
- this.p56_1 = this.z21_1;
3180
- this.q56_1 = this.z21_1;
3181
- this.r56_1 = this.z21_1;
3182
+ this.t59_1 = this.f28_1;
3183
+ this.u59_1 = this.f28_1;
3184
+ this.v59_1 = this.f28_1;
3185
+ this.w59_1 = this.f28_1;
3182
3186
  }
3183
- protoOf(Recursive).o2o = function (_this__u8e3s4) {
3184
- return listOf([_this__u8e3s4.n12([_get_P__7mlo1t_0(this), _get_M__7mlnz8_0(this)], _get_X__7mlo8p_0(this)), this.g57()]);
3187
+ protoOf(Recursive).o2w = function (_this__u8e3s4) {
3188
+ return listOf([_this__u8e3s4.f19([_get_P__7mlo1t_0(this), _get_M__7mlnz8_0(this)], _get_X__7mlo8p_0(this)), this.l5a()]);
3185
3189
  };
3186
- protoOf(Recursive).p2o = function (_this__u8e3s4) {
3190
+ protoOf(Recursive).p2w = function (_this__u8e3s4) {
3187
3191
  var tmp = _this__u8e3s4.atomOf('!');
3188
3192
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3189
3193
  var tmp$ret$0 = InvokeMethod_getInstance().signature.name;
3190
- return _this__u8e3s4.tupleOf([tmp, _this__u8e3s4.structOf(tmp$ret$0, [_get_P__7mlo1t_0(this), _get_M__7mlnz8_0(this), _get_P1__ndbjd6(this)]), _this__u8e3s4.structOf('fluent_reduce', [_this__u8e3s4.consOf(_get_P1__ndbjd6(this), _get_X__7mlo8p_0(this)), this.g57()])]);
3194
+ return _this__u8e3s4.tupleOf([tmp, _this__u8e3s4.structOf(tmp$ret$0, [_get_P__7mlo1t_0(this), _get_M__7mlnz8_0(this), _get_P1__ndbjd6(this)]), _this__u8e3s4.structOf('fluent_reduce', [_this__u8e3s4.consOf(_get_P1__ndbjd6(this), _get_X__7mlo8p_0(this)), this.l5a()])]);
3191
3195
  };
3192
3196
  var Recursive_instance;
3193
3197
  function Recursive_getInstance() {
@@ -3198,17 +3202,17 @@
3198
3202
  function Couple() {
3199
3203
  Couple_instance = this;
3200
3204
  FluentReduce.call(this);
3201
- this.x56_1 = this.z21_1;
3202
- this.y56_1 = this.z21_1;
3205
+ this.c5a_1 = this.f28_1;
3206
+ this.d5a_1 = this.f28_1;
3203
3207
  }
3204
- protoOf(Couple).o2o = function (_this__u8e3s4) {
3205
- return listOf([_this__u8e3s4.consOf(_get_P__7mlo1t_1(this), _get_M__7mlnz8_1(this)), this.g57()]);
3208
+ protoOf(Couple).o2w = function (_this__u8e3s4) {
3209
+ return listOf([_this__u8e3s4.consOf(_get_P__7mlo1t_1(this), _get_M__7mlnz8_1(this)), this.l5a()]);
3206
3210
  };
3207
- protoOf(Couple).p2o = function (_this__u8e3s4) {
3211
+ protoOf(Couple).p2w = function (_this__u8e3s4) {
3208
3212
  var tmp = _this__u8e3s4.atomOf('!');
3209
3213
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3210
3214
  var tmp$ret$0 = InvokeMethod_getInstance().signature.name;
3211
- return _this__u8e3s4.tupleOf([tmp, _this__u8e3s4.structOf(tmp$ret$0, [_get_P__7mlo1t_1(this), _get_M__7mlnz8_1(this), this.g57()])]);
3215
+ return _this__u8e3s4.tupleOf([tmp, _this__u8e3s4.structOf(tmp$ret$0, [_get_P__7mlo1t_1(this), _get_M__7mlnz8_1(this), this.l5a()])]);
3212
3216
  };
3213
3217
  var Couple_instance;
3214
3218
  function Couple_getInstance() {
@@ -3220,8 +3224,8 @@
3220
3224
  Trivial_instance = this;
3221
3225
  FluentReduce.call(this);
3222
3226
  }
3223
- protoOf(Trivial).o2o = function (_this__u8e3s4) {
3224
- return listOf([this.g57(), this.g57()]);
3227
+ protoOf(Trivial).o2w = function (_this__u8e3s4) {
3228
+ return listOf([this.l5a(), this.l5a()]);
3225
3229
  };
3226
3230
  var Trivial_instance;
3227
3231
  function Trivial_getInstance() {
@@ -3231,61 +3235,61 @@
3231
3235
  }
3232
3236
  function FluentReduce$_get_R_$ref_ypb4y4() {
3233
3237
  return constructCallableReference(function (p0) {
3234
- return p0.g57();
3235
- }, 1, 0, 151);
3238
+ return p0.l5a();
3239
+ }, 1, 0, 102);
3236
3240
  }
3237
3241
  function FluentReduce() {
3238
3242
  RuleWrapper_init_$Init$('fluent_reduce', 2, VOID, this);
3239
- this.e57_1 = "`fluent_reduce(+Expression, ?Result)`\n\nHelper behind `./2` and `:=/2`: evaluates a chain of member accesses `Receiver.M1.M2...` (which, as `.` is the list constructor, is the same term as the improper list `[Receiver, M1 | M2]`) by invoking `M1` on `Receiver` via `invoke_method/3`, then `M2` on that result, and so on, unifying `Result` with the last result. A term that is not a chain is unified with `Result` unchanged. Deterministic (each clause cuts). Errors are those of `invoke_method/3`.\n\n**Examples**\n\n```prolog\n?- fluent_reduce($math.max(1, 2), M).\nM = 2.\n\n?- new_object('java.lang.StringBuilder', [abc], B), fluent_reduce(B.reverse.toString, S).\nS = cba.\n\n?- fluent_reduce(foo, R).\nR = foo.\n```";
3240
- this.f57_1 = this.z21_1;
3243
+ this.j5a_1 = "`fluent_reduce(+Expression, ?Result)`\n\nHelper behind `./2` and `:=/2`: evaluates a chain of member accesses `Receiver.M1.M2...` (which, as `.` is the list constructor, is the same term as the improper list `[Receiver, M1 | M2]`) by invoking `M1` on `Receiver` via `invoke_method/3`, then `M2` on that result, and so on, unifying `Result` with the last result. A term that is not a chain is unified with `Result` unchanged. Deterministic (each clause cuts). Errors are those of `invoke_method/3`.\n\n**Examples**\n\n```prolog\n?- fluent_reduce($math.max(1, 2), M).\nM = 2.\n\n?- new_object('java.lang.StringBuilder', [abc], B), fluent_reduce(B.reverse.toString, S).\nS = cba.\n\n?- fluent_reduce(foo, R).\nR = foo.\n```";
3244
+ this.k5a_1 = this.f28_1;
3241
3245
  }
3242
- protoOf(FluentReduce).i1x = function () {
3243
- return this.e57_1;
3246
+ protoOf(FluentReduce).a23 = function () {
3247
+ return this.j5a_1;
3244
3248
  };
3245
- protoOf(FluentReduce).g57 = function () {
3249
+ protoOf(FluentReduce).l5a = function () {
3246
3250
  var tmp = KProperty1;
3247
- return this.f57_1.getValue(this, getPropertyCallableRef('R', 1, tmp, FluentReduce$_get_R_$ref_ypb4y4(), null));
3251
+ return this.k5a_1.getValue(this, getPropertyCallableRef('R', 1, tmp, FluentReduce$_get_R_$ref_ypb4y4(), null));
3248
3252
  };
3249
- protoOf(FluentReduce).p2o = function (_this__u8e3s4) {
3253
+ protoOf(FluentReduce).p2w = function (_this__u8e3s4) {
3250
3254
  return _this__u8e3s4.atomOf('!');
3251
3255
  };
3252
3256
  function _get_Type__cwwv8x($this) {
3253
3257
  var tmp = KProperty1;
3254
- return $this.q57_1.getValue($this, getPropertyCallableRef('Type', 1, tmp, NewObject2$_get_Type_$ref_gxw6of(), null));
3258
+ return $this.v5a_1.getValue($this, getPropertyCallableRef('Type', 1, tmp, NewObject2$_get_Type_$ref_gxw6of(), null));
3255
3259
  }
3256
3260
  function _get_Instance__cwfjuy($this) {
3257
3261
  var tmp = KProperty1;
3258
- return $this.r57_1.getValue($this, getPropertyCallableRef('Instance', 1, tmp, NewObject2$_get_Instance_$ref_jt2xca(), null));
3262
+ return $this.w5a_1.getValue($this, getPropertyCallableRef('Instance', 1, tmp, NewObject2$_get_Instance_$ref_jt2xca(), null));
3259
3263
  }
3260
3264
  function NewObject2$_get_Type_$ref_gxw6of() {
3261
3265
  return constructCallableReference(function (p0) {
3262
3266
  return _get_Type__cwwv8x(p0);
3263
- }, 1, 0, 152);
3267
+ }, 1, 0, 103);
3264
3268
  }
3265
3269
  function NewObject2$_get_Instance_$ref_jt2xca() {
3266
3270
  return constructCallableReference(function (p0) {
3267
3271
  return _get_Instance__cwfjuy(p0);
3268
- }, 1, 0, 153);
3272
+ }, 1, 0, 104);
3269
3273
  }
3270
3274
  function NewObject2() {
3271
3275
  NewObject2_instance = this;
3272
3276
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3273
3277
  var tmp$ret$0 = NewObject3_getInstance().signature.name;
3274
3278
  RuleWrapper_init_$Init$(tmp$ret$0, 2, VOID, this);
3275
- this.p57_1 = "`new_object(+Type, -ObjectRef)`\n\nInstantiates `Type` through its public no-argument constructor and unifies `ObjectRef` with a reference to the new object; shorthand for `new_object(Type, [], ObjectRef)`. `Type` may be an atom holding a fully qualified type name, a type reference, or a `$Alias` reference to a type. Errors are those of `new_object/3`.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', L), N := L.size.\nN = 0.\n\n?- new_object($hashmap, M), M.put(k, v), V := M.get(k).\nV = v.\n\n?- new_object('java.lang.Integer', I).\nthrows error(existence_error(_, _), _).\n```";
3276
- this.q57_1 = this.z21_1;
3277
- this.r57_1 = this.z21_1;
3279
+ this.u5a_1 = "`new_object(+Type, -ObjectRef)`\n\nInstantiates `Type` through its public no-argument constructor and unifies `ObjectRef` with a reference to the new object; shorthand for `new_object(Type, [], ObjectRef)`. `Type` may be an atom holding a fully qualified type name, a type reference, or a `$Alias` reference to a type. Errors are those of `new_object/3`.\n\n**Examples**\n\n```prolog\n?- new_object('java.util.ArrayList', L), N := L.size.\nN = 0.\n\n?- new_object($hashmap, M), M.put(k, v), V := M.get(k).\nV = v.\n\n?- new_object('java.lang.Integer', I).\nthrows error(existence_error(_, _), _).\n```";
3280
+ this.v5a_1 = this.f28_1;
3281
+ this.w5a_1 = this.f28_1;
3278
3282
  }
3279
- protoOf(NewObject2).i1x = function () {
3280
- return this.p57_1;
3283
+ protoOf(NewObject2).a23 = function () {
3284
+ return this.u5a_1;
3281
3285
  };
3282
- protoOf(NewObject2).o2o = function (_this__u8e3s4) {
3286
+ protoOf(NewObject2).o2w = function (_this__u8e3s4) {
3283
3287
  return listOf([_get_Type__cwwv8x(this), _get_Instance__cwfjuy(this)]);
3284
3288
  };
3285
- protoOf(NewObject2).p2o = function (_this__u8e3s4) {
3289
+ protoOf(NewObject2).p2w = function (_this__u8e3s4) {
3286
3290
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3287
3291
  var tmp$ret$0 = NewObject3_getInstance().signature.name;
3288
- return _this__u8e3s4.structOf(tmp$ret$0, [_get_Type__cwwv8x(this), _this__u8e3s4.l12(), _get_Instance__cwfjuy(this)]);
3292
+ return _this__u8e3s4.structOf(tmp$ret$0, [_get_Type__cwwv8x(this), _this__u8e3s4.d19(), _get_Instance__cwfjuy(this)]);
3289
3293
  };
3290
3294
  var NewObject2_instance;
3291
3295
  function NewObject2_getInstance() {
@@ -3295,43 +3299,43 @@
3295
3299
  }
3296
3300
  function _get_B1__ndb8zg($this) {
3297
3301
  var tmp = KProperty1;
3298
- return $this.y57_1.getValue($this, getPropertyCallableRef('B1', 1, tmp, PropertyReduce$Recursive$_get_B1_$ref_kiryiu(), null));
3302
+ return $this.d5b_1.getValue($this, getPropertyCallableRef('B1', 1, tmp, PropertyReduce$Recursive$_get_B1_$ref_kiryiu(), null));
3299
3303
  }
3300
3304
  function _get_C__7mlnqm_0($this) {
3301
3305
  var tmp = KProperty1;
3302
- return $this.z57_1.getValue($this, getPropertyCallableRef('C', 1, tmp, PropertyReduce$Recursive$_get_C_$ref_epsz1a(), null));
3306
+ return $this.e5b_1.getValue($this, getPropertyCallableRef('C', 1, tmp, PropertyReduce$Recursive$_get_C_$ref_epsz1a(), null));
3303
3307
  }
3304
3308
  function _get_O__7mlo0y($this) {
3305
3309
  var tmp = KProperty1;
3306
- return $this.a58_1.getValue($this, getPropertyCallableRef('O', 1, tmp, PropertyReduce$Recursive$_get_O_$ref_919iay(), null));
3310
+ return $this.f5b_1.getValue($this, getPropertyCallableRef('O', 1, tmp, PropertyReduce$Recursive$_get_O_$ref_919iay(), null));
3307
3311
  }
3308
3312
  function _get_P__7mlo1t_2($this) {
3309
3313
  var tmp = KProperty1;
3310
- return $this.b58_1.getValue($this, getPropertyCallableRef('P', 1, tmp, PropertyReduce$Recursive$_get_P_$ref_8k7vwr(), null));
3314
+ return $this.g5b_1.getValue($this, getPropertyCallableRef('P', 1, tmp, PropertyReduce$Recursive$_get_P_$ref_8k7vwr(), null));
3311
3315
  }
3312
3316
  function PropertyReduce$Recursive$_get_B1_$ref_kiryiu() {
3313
3317
  return constructCallableReference(function (p0) {
3314
3318
  return _get_B1__ndb8zg(p0);
3315
- }, 1, 0, 154);
3319
+ }, 1, 0, 105);
3316
3320
  }
3317
3321
  function PropertyReduce$Recursive$_get_C_$ref_epsz1a() {
3318
3322
  return constructCallableReference(function (p0) {
3319
3323
  return _get_C__7mlnqm_0(p0);
3320
- }, 1, 0, 155);
3324
+ }, 1, 0, 106);
3321
3325
  }
3322
3326
  function PropertyReduce$Recursive$_get_O_$ref_919iay() {
3323
3327
  return constructCallableReference(function (p0) {
3324
3328
  return _get_O__7mlo0y(p0);
3325
- }, 1, 0, 156);
3329
+ }, 1, 0, 107);
3326
3330
  }
3327
3331
  function PropertyReduce$Recursive$_get_P_$ref_8k7vwr() {
3328
3332
  return constructCallableReference(function (p0) {
3329
3333
  return _get_P__7mlo1t_2(p0);
3330
- }, 1, 0, 157);
3334
+ }, 1, 0, 108);
3331
3335
  }
3332
3336
  function Companion_9() {
3333
- this.c58_1 = 'property_reduce';
3334
- this.d58_1 = 3;
3337
+ this.h5b_1 = 'property_reduce';
3338
+ this.i5b_1 = 3;
3335
3339
  }
3336
3340
  var Companion_instance_17;
3337
3341
  function Companion_getInstance_20() {
@@ -3340,19 +3344,19 @@
3340
3344
  function Recursive_0() {
3341
3345
  Recursive_instance_0 = this;
3342
3346
  PropertyReduce.call(this);
3343
- this.y57_1 = this.z21_1;
3344
- this.z57_1 = this.z21_1;
3345
- this.a58_1 = this.z21_1;
3346
- this.b58_1 = this.z21_1;
3347
+ this.d5b_1 = this.f28_1;
3348
+ this.e5b_1 = this.f28_1;
3349
+ this.f5b_1 = this.f28_1;
3350
+ this.g5b_1 = this.f28_1;
3347
3351
  }
3348
- protoOf(Recursive_0).o2o = function (_this__u8e3s4) {
3349
- return listOf([_this__u8e3s4.n12([this.k58(), this.l58()], _get_C__7mlnqm_0(this)), _get_O__7mlo0y(this), _get_P__7mlo1t_2(this)]);
3352
+ protoOf(Recursive_0).o2w = function (_this__u8e3s4) {
3353
+ return listOf([_this__u8e3s4.f19([this.p5b(), this.q5b()], _get_C__7mlnqm_0(this)), _get_O__7mlo0y(this), _get_P__7mlo1t_2(this)]);
3350
3354
  };
3351
- protoOf(Recursive_0).p2o = function (_this__u8e3s4) {
3355
+ protoOf(Recursive_0).p2w = function (_this__u8e3s4) {
3352
3356
  var tmp = _this__u8e3s4.atomOf('!');
3353
3357
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
3354
3358
  var tmp$ret$0 = InvokeMethod_getInstance().signature.name;
3355
- return _this__u8e3s4.tupleOf([tmp, _this__u8e3s4.structOf(tmp$ret$0, [this.k58(), this.l58(), _get_B1__ndb8zg(this)]), _this__u8e3s4.structOf('property_reduce', [_this__u8e3s4.consOf(_get_B1__ndb8zg(this), _get_C__7mlnqm_0(this)), _get_O__7mlo0y(this), _get_P__7mlo1t_2(this)])]);
3359
+ return _this__u8e3s4.tupleOf([tmp, _this__u8e3s4.structOf(tmp$ret$0, [this.p5b(), this.q5b(), _get_B1__ndb8zg(this)]), _this__u8e3s4.structOf('property_reduce', [_this__u8e3s4.consOf(_get_B1__ndb8zg(this), _get_C__7mlnqm_0(this)), _get_O__7mlo0y(this), _get_P__7mlo1t_2(this)])]);
3356
3360
  };
3357
3361
  var Recursive_instance_0;
3358
3362
  function Recursive_getInstance_0() {
@@ -3364,8 +3368,8 @@
3364
3368
  Base_instance = this;
3365
3369
  PropertyReduce.call(this);
3366
3370
  }
3367
- protoOf(Base).o2o = function (_this__u8e3s4) {
3368
- return listOf([_this__u8e3s4.consOf(this.k58(), this.l58()), this.k58(), this.l58()]);
3371
+ protoOf(Base).o2w = function (_this__u8e3s4) {
3372
+ return listOf([_this__u8e3s4.consOf(this.p5b(), this.q5b()), this.p5b(), this.q5b()]);
3369
3373
  };
3370
3374
  var Base_instance;
3371
3375
  function Base_getInstance() {
@@ -3375,32 +3379,32 @@
3375
3379
  }
3376
3380
  function PropertyReduce$_get_A_$ref_14cvqu() {
3377
3381
  return constructCallableReference(function (p0) {
3378
- return p0.k58();
3379
- }, 1, 0, 158);
3382
+ return p0.p5b();
3383
+ }, 1, 0, 109);
3380
3384
  }
3381
3385
  function PropertyReduce$_get_B_$ref_1lei51() {
3382
3386
  return constructCallableReference(function (p0) {
3383
- return p0.l58();
3384
- }, 1, 0, 159);
3387
+ return p0.q5b();
3388
+ }, 1, 0, 110);
3385
3389
  }
3386
3390
  function PropertyReduce() {
3387
3391
  RuleWrapper_init_$Init$('property_reduce', 3, VOID, this);
3388
- this.h58_1 = "`property_reduce(+Expression, ?Ref, ?Property)`\n\nHelper behind the assignment form of `:=/2`: given a chain of member accesses `Receiver.M1....Mn.Property`, evaluates every access but the last one (as `fluent_reduce/2` does, via `invoke_method/3`), unifying `Ref` with the reference reached that way and `Property` with the final access. Deterministic (each clause cuts); fails if `Expression` is not a chain.\n\n**Examples**\n\n```prolog\n?- new_object('java.lang.StringBuilder', [abc], B), property_reduce(B.reverse.length, R, P), S := R.toString.\nP = length, S = cba.\n\n?- property_reduce(foo, R, P).\nno.\n```";
3389
- this.i58_1 = this.z21_1;
3390
- this.j58_1 = this.z21_1;
3392
+ this.m5b_1 = "`property_reduce(+Expression, ?Ref, ?Property)`\n\nHelper behind the assignment form of `:=/2`: given a chain of member accesses `Receiver.M1....Mn.Property`, evaluates every access but the last one (as `fluent_reduce/2` does, via `invoke_method/3`), unifying `Ref` with the reference reached that way and `Property` with the final access. Deterministic (each clause cuts); fails if `Expression` is not a chain.\n\n**Examples**\n\n```prolog\n?- new_object('java.lang.StringBuilder', [abc], B), property_reduce(B.reverse.length, R, P), S := R.toString.\nP = length, S = cba.\n\n?- property_reduce(foo, R, P).\nno.\n```";
3393
+ this.n5b_1 = this.f28_1;
3394
+ this.o5b_1 = this.f28_1;
3391
3395
  }
3392
- protoOf(PropertyReduce).i1x = function () {
3393
- return this.h58_1;
3396
+ protoOf(PropertyReduce).a23 = function () {
3397
+ return this.m5b_1;
3394
3398
  };
3395
- protoOf(PropertyReduce).k58 = function () {
3399
+ protoOf(PropertyReduce).p5b = function () {
3396
3400
  var tmp = KProperty1;
3397
- return this.i58_1.getValue(this, getPropertyCallableRef('A', 1, tmp, PropertyReduce$_get_A_$ref_14cvqu(), null));
3401
+ return this.n5b_1.getValue(this, getPropertyCallableRef('A', 1, tmp, PropertyReduce$_get_A_$ref_14cvqu(), null));
3398
3402
  };
3399
- protoOf(PropertyReduce).l58 = function () {
3403
+ protoOf(PropertyReduce).q5b = function () {
3400
3404
  var tmp = KProperty1;
3401
- return this.j58_1.getValue(this, getPropertyCallableRef('B', 1, tmp, PropertyReduce$_get_B_$ref_1lei51(), null));
3405
+ return this.o5b_1.getValue(this, getPropertyCallableRef('B', 1, tmp, PropertyReduce$_get_B_$ref_1lei51(), null));
3402
3406
  };
3403
- protoOf(PropertyReduce).p2o = function (_this__u8e3s4) {
3407
+ protoOf(PropertyReduce).p2w = function (_this__u8e3s4) {
3404
3408
  return _this__u8e3s4.atomOf('!');
3405
3409
  };
3406
3410
  function get_platformSpecificAliases() {
@@ -3435,18 +3439,18 @@
3435
3439
  }
3436
3440
  function get_companionObjectRef(_this__u8e3s4) {
3437
3441
  _init_properties_TypeUtilsJs_kt__53l6dq();
3438
- return Companion_instance.kr();
3442
+ return Companion_instance.dz();
3439
3443
  }
3440
3444
  function kClassFromName(qualifiedName) {
3441
3445
  _init_properties_TypeUtilsJs_kt__53l6dq();
3442
- var match = get_CLASS_NAME_PATTERN().sb(qualifiedName);
3446
+ var match = get_CLASS_NAME_PATTERN().zb(qualifiedName);
3443
3447
  // Inline function 'kotlin.require' call
3444
3448
  if (!!(match == null)) {
3445
- var message = '`' + qualifiedName + '` should match ' + get_CLASS_NAME_PATTERN().cb_1 + ", while is doesn't";
3449
+ var message = '`' + qualifiedName + '` should match ' + get_CLASS_NAME_PATTERN().jb_1 + ", while is doesn't";
3446
3450
  throw IllegalArgumentException_init_$Create$(toString_0(message));
3447
3451
  }
3448
- var module_0 = ensureNotNull(match.yb().t(1)).xb_1;
3449
- var packageSteps = split(ensureNotNull(match.yb().t(2)).xb_1, charArrayOf([_Char___init__impl__6a9atx(46)]));
3452
+ var module_0 = ensureNotNull(match.fc().t(1)).ec_1;
3453
+ var packageSteps = split(ensureNotNull(match.fc().t(2)).ec_1, charArrayOf([_Char___init__impl__6a9atx(46)]));
3450
3454
  var kClass = require(module_0);
3451
3455
  // Inline function 'kotlin.let' call
3452
3456
  var it = packageSteps.n();
@@ -3458,9 +3462,9 @@
3458
3462
  var tmp_0 = Companion_instance;
3459
3463
  // Inline function 'kotlin.js.unsafeCast' call
3460
3464
  var tmp$ret$4 = kClass;
3461
- tmp = tmp_0.xt(get_kotlin(tmp$ret$4));
3465
+ tmp = tmp_0.bz(get_kotlin(tmp$ret$4));
3462
3466
  } else {
3463
- tmp = Companion_instance.kr();
3467
+ tmp = Companion_instance.dz();
3464
3468
  }
3465
3469
  return tmp;
3466
3470
  }
@@ -3499,12 +3503,12 @@
3499
3503
  }
3500
3504
  }
3501
3505
  //region block: post-declaration
3502
- protoOf(NullRefImpl).m51 = get_object;
3503
- protoOf(NullRefImpl).n51 = invoke;
3504
- protoOf(NullRefImpl).o51 = assign;
3505
- protoOf(TermToObjectConverterImpl).k52 = convert;
3506
- protoOf(TypeFactoryImpl).n52 = typeRefFromName;
3507
- protoOf(TypeRefImpl).o52 = create;
3506
+ protoOf(NullRefImpl).r54 = get_object;
3507
+ protoOf(NullRefImpl).s54 = invoke;
3508
+ protoOf(NullRefImpl).t54 = assign;
3509
+ protoOf(TermToObjectConverterImpl).p55 = convert;
3510
+ protoOf(TypeFactoryImpl).s55 = typeRefFromName;
3511
+ protoOf(TypeRefImpl).t55 = create;
3508
3512
  //endregion
3509
3513
  //region block: init
3510
3514
  Companion_instance_9 = new Companion_1();