@tuprolog/2p-full 1.3.1 → 1.4.1
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-bdd.js +136 -136
- package/2p-bdd.js.map +1 -1
- package/2p-core.js +1017 -863
- package/2p-core.js.map +1 -1
- package/2p-solve-classic.js +792 -792
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve-plp.js +1 -1
- package/2p-solve-plp.js.map +1 -1
- package/2p-solve-problog.js +894 -894
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-streams.js +619 -619
- package/2p-solve-streams.js.map +1 -1
- package/2p-solve.js +2657 -2657
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1204 -1204
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +520 -194
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +9 -8
- package/2p-utils.js.map +1 -1
- package/README.md +3 -3
- package/kotlin-kotlin-stdlib.js +7 -7
- package/package.json +1 -1
package/2p-core.js
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
var initMetadataForObject = kotlin_kotlin.$_$.f6;
|
|
111
111
|
var compareTo = kotlin_kotlin.$_$.q5;
|
|
112
112
|
var Enum = kotlin_kotlin.$_$.ea;
|
|
113
|
+
var joinToString = kotlin_kotlin.$_$.t2;
|
|
114
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.v5;
|
|
115
|
+
var getStringHashCode = kotlin_kotlin.$_$.y5;
|
|
113
116
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ua;
|
|
114
117
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
115
118
|
var toString_1 = kotlin_kotlin.$_$.g;
|
|
@@ -130,17 +133,16 @@
|
|
|
130
133
|
var asSequence_1 = kotlin_kotlin.$_$.m7;
|
|
131
134
|
var last_0 = kotlin_kotlin.$_$.f8;
|
|
132
135
|
var take = kotlin_kotlin.$_$.s8;
|
|
133
|
-
var
|
|
136
|
+
var joinToString_0 = kotlin_kotlin.$_$.d8;
|
|
134
137
|
var setTags = kotlin_it_unibo_tuprolog_utils.$_$.i1;
|
|
135
|
-
var getStringHashCode = kotlin_kotlin.$_$.y5;
|
|
136
138
|
var forceCast = kotlin_it_unibo_tuprolog_utils.$_$.z;
|
|
137
139
|
var itemWiseHashCode = kotlin_it_unibo_tuprolog_utils.$_$.d1;
|
|
138
|
-
var joinToString_0 = kotlin_kotlin.$_$.t2;
|
|
139
140
|
var plus_1 = kotlin_kotlin.$_$.u3;
|
|
140
141
|
var get_indices = kotlin_kotlin.$_$.s2;
|
|
141
142
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
142
143
|
var copyToArray = kotlin_kotlin.$_$.i2;
|
|
143
144
|
var numberToChar = kotlin_kotlin.$_$.m6;
|
|
145
|
+
var charSequenceLength = kotlin_kotlin.$_$.p5;
|
|
144
146
|
var mutableMapOf = kotlin_kotlin.$_$.n3;
|
|
145
147
|
var drop = kotlin_kotlin.$_$.q7;
|
|
146
148
|
var first_0 = kotlin_kotlin.$_$.x7;
|
|
@@ -1402,6 +1404,7 @@
|
|
|
1402
1404
|
initMetadataForClass(VarFormat, 'VarFormat', VOID, Enum);
|
|
1403
1405
|
initMetadataForClass(OpFormat, 'OpFormat', VOID, Enum);
|
|
1404
1406
|
initMetadataForClass(FuncFormat, 'FuncFormat', VOID, Enum);
|
|
1407
|
+
initMetadataForClass(TagsFormattingOptions, 'TagsFormattingOptions', TagsFormattingOptions);
|
|
1405
1408
|
initMetadataForCompanion(Companion_20);
|
|
1406
1409
|
function format(value) {
|
|
1407
1410
|
return value.accept(this);
|
|
@@ -1419,7 +1422,7 @@
|
|
|
1419
1422
|
return this;
|
|
1420
1423
|
}
|
|
1421
1424
|
function asTruth_1() {
|
|
1422
|
-
return this.
|
|
1425
|
+
return this.j12();
|
|
1423
1426
|
}
|
|
1424
1427
|
function asAtom_4() {
|
|
1425
1428
|
return this.cu();
|
|
@@ -1451,7 +1454,7 @@
|
|
|
1451
1454
|
return this;
|
|
1452
1455
|
}
|
|
1453
1456
|
function asTuple_1() {
|
|
1454
|
-
return this.
|
|
1457
|
+
return this.o12();
|
|
1455
1458
|
}
|
|
1456
1459
|
function toArray_4() {
|
|
1457
1460
|
return this.ev();
|
|
@@ -1497,7 +1500,7 @@
|
|
|
1497
1500
|
return this;
|
|
1498
1501
|
}
|
|
1499
1502
|
function asVar_1() {
|
|
1500
|
-
return this.
|
|
1503
|
+
return this.x12();
|
|
1501
1504
|
}
|
|
1502
1505
|
function castTo_20() {
|
|
1503
1506
|
return this.ru();
|
|
@@ -3566,6 +3569,21 @@
|
|
|
3566
3569
|
FuncFormat_QUOTED_IF_NECESSARY_instance = new FuncFormat('QUOTED_IF_NECESSARY', 0);
|
|
3567
3570
|
FuncFormat_LITERAL_instance = new FuncFormat('LITERAL', 1);
|
|
3568
3571
|
}
|
|
3572
|
+
function TermFormatter$TagsFormattingOptions$_init_$lambda_rws01d(it) {
|
|
3573
|
+
return true;
|
|
3574
|
+
}
|
|
3575
|
+
function TermFormatter$TagsFormattingOptions$formatTags$lambda(this$0) {
|
|
3576
|
+
return function (_destruct__k2r9zo) {
|
|
3577
|
+
// Inline function 'kotlin.collections.component1' call
|
|
3578
|
+
var key = _destruct__k2r9zo.d2();
|
|
3579
|
+
// Inline function 'kotlin.collections.component2' call
|
|
3580
|
+
var value = _destruct__k2r9zo.e2();
|
|
3581
|
+
var tmp0_safe_receiver = this$0.y11_1;
|
|
3582
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.format(value);
|
|
3583
|
+
var formattedValue = tmp1_elvis_lhs == null ? toString(value) : tmp1_elvis_lhs;
|
|
3584
|
+
return this$0.v11_1 ? key + '=' + formattedValue : formattedValue;
|
|
3585
|
+
};
|
|
3586
|
+
}
|
|
3569
3587
|
function VarFormat(name, ordinal) {
|
|
3570
3588
|
Enum.call(this, name, ordinal);
|
|
3571
3589
|
}
|
|
@@ -3575,66 +3593,167 @@
|
|
|
3575
3593
|
function FuncFormat(name, ordinal) {
|
|
3576
3594
|
Enum.call(this, name, ordinal);
|
|
3577
3595
|
}
|
|
3596
|
+
function TagsFormattingOptions(showTags, delimiters, separator, showKeys, showDelimitersIfEmpty, keyFilter, tagFormatter) {
|
|
3597
|
+
showTags = showTags === VOID ? false : showTags;
|
|
3598
|
+
delimiters = delimiters === VOID ? to('<', '>') : delimiters;
|
|
3599
|
+
separator = separator === VOID ? ', ' : separator;
|
|
3600
|
+
showKeys = showKeys === VOID ? true : showKeys;
|
|
3601
|
+
showDelimitersIfEmpty = showDelimitersIfEmpty === VOID ? false : showDelimitersIfEmpty;
|
|
3602
|
+
var tmp;
|
|
3603
|
+
if (keyFilter === VOID) {
|
|
3604
|
+
tmp = TermFormatter$TagsFormattingOptions$_init_$lambda_rws01d;
|
|
3605
|
+
} else {
|
|
3606
|
+
tmp = keyFilter;
|
|
3607
|
+
}
|
|
3608
|
+
keyFilter = tmp;
|
|
3609
|
+
tagFormatter = tagFormatter === VOID ? null : tagFormatter;
|
|
3610
|
+
this.s11_1 = showTags;
|
|
3611
|
+
this.t11_1 = delimiters;
|
|
3612
|
+
this.u11_1 = separator;
|
|
3613
|
+
this.v11_1 = showKeys;
|
|
3614
|
+
this.w11_1 = showDelimitersIfEmpty;
|
|
3615
|
+
this.x11_1 = keyFilter;
|
|
3616
|
+
this.y11_1 = tagFormatter;
|
|
3617
|
+
}
|
|
3618
|
+
protoOf(TagsFormattingOptions).z11 = function (tags) {
|
|
3619
|
+
if (!this.s11_1)
|
|
3620
|
+
return '';
|
|
3621
|
+
// Inline function 'kotlin.collections.filterKeys' call
|
|
3622
|
+
var predicate = this.x11_1;
|
|
3623
|
+
var result = LinkedHashMap_init_$Create$();
|
|
3624
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
3625
|
+
var _iterator__ex2g4s = tags.d1().n();
|
|
3626
|
+
while (_iterator__ex2g4s.q()) {
|
|
3627
|
+
var entry = _iterator__ex2g4s.r();
|
|
3628
|
+
if (predicate(entry.d2())) {
|
|
3629
|
+
result.k4(entry.d2(), entry.e2());
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
var filteredTags = result;
|
|
3633
|
+
if (filteredTags.h()) {
|
|
3634
|
+
return this.w11_1 ? this.t11_1.first + this.t11_1.second : '';
|
|
3635
|
+
}
|
|
3636
|
+
var tmp = filteredTags.d1();
|
|
3637
|
+
var formattedTags = joinToString(tmp, this.u11_1, VOID, VOID, VOID, VOID, TermFormatter$TagsFormattingOptions$formatTags$lambda(this));
|
|
3638
|
+
return this.t11_1.first + formattedTags + this.t11_1.second;
|
|
3639
|
+
};
|
|
3640
|
+
protoOf(TagsFormattingOptions).toString = function () {
|
|
3641
|
+
return 'TagsFormattingOptions(showTags=' + this.s11_1 + ', delimiters=' + this.t11_1.toString() + ', separator=' + this.u11_1 + ', showKeys=' + this.v11_1 + ', showDelimitersIfEmpty=' + this.w11_1 + ', keyFilter=' + toString(this.x11_1) + ', tagFormatter=' + toString_0(this.y11_1) + ')';
|
|
3642
|
+
};
|
|
3643
|
+
protoOf(TagsFormattingOptions).hashCode = function () {
|
|
3644
|
+
var result = getBooleanHashCode(this.s11_1);
|
|
3645
|
+
result = imul(result, 31) + this.t11_1.hashCode() | 0;
|
|
3646
|
+
result = imul(result, 31) + getStringHashCode(this.u11_1) | 0;
|
|
3647
|
+
result = imul(result, 31) + getBooleanHashCode(this.v11_1) | 0;
|
|
3648
|
+
result = imul(result, 31) + getBooleanHashCode(this.w11_1) | 0;
|
|
3649
|
+
result = imul(result, 31) + hashCode(this.x11_1) | 0;
|
|
3650
|
+
result = imul(result, 31) + (this.y11_1 == null ? 0 : hashCode(this.y11_1)) | 0;
|
|
3651
|
+
return result;
|
|
3652
|
+
};
|
|
3653
|
+
protoOf(TagsFormattingOptions).equals = function (other) {
|
|
3654
|
+
if (this === other)
|
|
3655
|
+
return true;
|
|
3656
|
+
if (!(other instanceof TagsFormattingOptions))
|
|
3657
|
+
return false;
|
|
3658
|
+
if (!(this.s11_1 === other.s11_1))
|
|
3659
|
+
return false;
|
|
3660
|
+
if (!this.t11_1.equals(other.t11_1))
|
|
3661
|
+
return false;
|
|
3662
|
+
if (!(this.u11_1 === other.u11_1))
|
|
3663
|
+
return false;
|
|
3664
|
+
if (!(this.v11_1 === other.v11_1))
|
|
3665
|
+
return false;
|
|
3666
|
+
if (!(this.w11_1 === other.w11_1))
|
|
3667
|
+
return false;
|
|
3668
|
+
if (!equals(this.x11_1, other.x11_1))
|
|
3669
|
+
return false;
|
|
3670
|
+
if (!equals(this.y11_1, other.y11_1))
|
|
3671
|
+
return false;
|
|
3672
|
+
return true;
|
|
3673
|
+
};
|
|
3578
3674
|
function Companion_20() {
|
|
3579
3675
|
}
|
|
3580
|
-
protoOf(Companion_20).
|
|
3676
|
+
protoOf(Companion_20).a12 = function (varFormat, opFormat, funcFormat, numberVars, operators, tagsOptions) {
|
|
3581
3677
|
var quoted = funcFormat.equals(FuncFormat_QUOTED_IF_NECESSARY_getInstance());
|
|
3582
3678
|
var ignoreOps = opFormat.equals(OpFormat_IGNORE_OPERATORS_getInstance());
|
|
3583
3679
|
var tmp;
|
|
3584
3680
|
switch (varFormat.l2_1) {
|
|
3585
3681
|
case 0:
|
|
3586
|
-
tmp = new SimpleTermFormatter(quoted, numberVars, ignoreOps);
|
|
3682
|
+
tmp = new SimpleTermFormatter(quoted, numberVars, ignoreOps, tagsOptions);
|
|
3587
3683
|
break;
|
|
3588
3684
|
case 1:
|
|
3589
|
-
tmp = new TermFormatterWithAnonymousVariables(quoted, numberVars, ignoreOps);
|
|
3685
|
+
tmp = new TermFormatterWithAnonymousVariables(quoted, numberVars, ignoreOps, tagsOptions);
|
|
3590
3686
|
break;
|
|
3591
3687
|
case 2:
|
|
3592
|
-
tmp = new TermFormatterWithPrettyVariables(quoted, numberVars, ignoreOps);
|
|
3688
|
+
tmp = new TermFormatterWithPrettyVariables(quoted, numberVars, ignoreOps, tagsOptions);
|
|
3593
3689
|
break;
|
|
3594
3690
|
default:
|
|
3595
3691
|
noWhenBranchMatchedException();
|
|
3596
3692
|
break;
|
|
3597
3693
|
}
|
|
3598
3694
|
var inner = tmp;
|
|
3599
|
-
return opFormat.l2_1 === 2 ? TermFormatterWithPrettyExpressions_init_$Create$(inner, operators, quoted, numberVars, ignoreOps) : inner;
|
|
3695
|
+
return opFormat.l2_1 === 2 ? TermFormatterWithPrettyExpressions_init_$Create$(inner, operators, quoted, numberVars, ignoreOps, tagsOptions) : inner;
|
|
3600
3696
|
};
|
|
3601
|
-
protoOf(Companion_20).of = function (varFormat, opFormat, funcFormat, numberVars, operators, $super) {
|
|
3697
|
+
protoOf(Companion_20).of = function (varFormat, opFormat, funcFormat, numberVars, operators, tagsOptions, $super) {
|
|
3602
3698
|
funcFormat = funcFormat === VOID ? FuncFormat_QUOTED_IF_NECESSARY_getInstance() : funcFormat;
|
|
3603
3699
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
3604
3700
|
operators = operators === VOID ? Companion_getInstance_33().DEFAULT : operators;
|
|
3605
|
-
|
|
3701
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
3702
|
+
return $super === VOID ? this.a12(varFormat, opFormat, funcFormat, numberVars, operators, tagsOptions) : $super.a12.call(this, varFormat, opFormat, funcFormat, numberVars, operators, tagsOptions);
|
|
3606
3703
|
};
|
|
3607
|
-
protoOf(Companion_20).
|
|
3608
|
-
return this.
|
|
3704
|
+
protoOf(Companion_20).b12 = function (operators, tagsOptions) {
|
|
3705
|
+
return this.a12(VarFormat_UNDERSCORE_getInstance(), OpFormat_EXPRESSIONS_getInstance(), FuncFormat_LITERAL_getInstance(), true, operators, tagsOptions);
|
|
3609
3706
|
};
|
|
3610
|
-
protoOf(Companion_20).default = function (operators, $super) {
|
|
3707
|
+
protoOf(Companion_20).default = function (operators, tagsOptions, $super) {
|
|
3611
3708
|
operators = operators === VOID ? Companion_getInstance_33().DEFAULT : operators;
|
|
3612
|
-
|
|
3709
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions(true) : tagsOptions;
|
|
3710
|
+
return $super === VOID ? this.b12(operators, tagsOptions) : $super.b12.call(this, operators, tagsOptions);
|
|
3613
3711
|
};
|
|
3614
3712
|
protoOf(Companion_20).canonical = function () {
|
|
3615
3713
|
return this.of(VarFormat_UNDERSCORE_getInstance(), OpFormat_IGNORE_OPERATORS_getInstance(), FuncFormat_QUOTED_IF_NECESSARY_getInstance(), false);
|
|
3616
3714
|
};
|
|
3617
|
-
protoOf(Companion_20).
|
|
3618
|
-
return this.
|
|
3715
|
+
protoOf(Companion_20).c12 = function (operators, tagsOptions) {
|
|
3716
|
+
return this.a12(VarFormat_PRETTY_getInstance(), OpFormat_EXPRESSIONS_getInstance(), FuncFormat_QUOTED_IF_NECESSARY_getInstance(), true, operators, tagsOptions);
|
|
3619
3717
|
};
|
|
3620
|
-
protoOf(Companion_20).readable = function (operators, $super) {
|
|
3718
|
+
protoOf(Companion_20).readable = function (operators, tagsOptions, $super) {
|
|
3621
3719
|
operators = operators === VOID ? Companion_getInstance_33().DEFAULT : operators;
|
|
3622
|
-
|
|
3720
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
3721
|
+
return $super === VOID ? this.c12(operators, tagsOptions) : $super.c12.call(this, operators, tagsOptions);
|
|
3722
|
+
};
|
|
3723
|
+
protoOf(Companion_20).d12 = function (tagsOptions) {
|
|
3724
|
+
return this.of(VarFormat_PRETTY_getInstance(), OpFormat_COLLECTIONS_getInstance(), VOID, VOID, VOID, tagsOptions);
|
|
3725
|
+
};
|
|
3726
|
+
protoOf(Companion_20).prettyVariables = function (tagsOptions, $super) {
|
|
3727
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
3728
|
+
return $super === VOID ? this.d12(tagsOptions) : $super.d12.call(this, tagsOptions);
|
|
3729
|
+
};
|
|
3730
|
+
protoOf(Companion_20).e12 = function (prettyVariables, operatorSet, tagsOptions) {
|
|
3731
|
+
return this.of(prettyVariables ? VarFormat_PRETTY_getInstance() : VarFormat_COMPLETE_NAME_getInstance(), OpFormat_EXPRESSIONS_getInstance(), VOID, VOID, operatorSet, tagsOptions);
|
|
3732
|
+
};
|
|
3733
|
+
protoOf(Companion_20).prettyExpressions = function (prettyVariables, operatorSet, tagsOptions, $super) {
|
|
3734
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
3735
|
+
return $super === VOID ? this.e12(prettyVariables, operatorSet, tagsOptions) : $super.e12.call(this, prettyVariables, operatorSet, tagsOptions);
|
|
3623
3736
|
};
|
|
3624
|
-
protoOf(Companion_20).
|
|
3625
|
-
return this.
|
|
3737
|
+
protoOf(Companion_20).f12 = function (operatorSet, tagsOptions) {
|
|
3738
|
+
return this.e12(true, operatorSet, tagsOptions);
|
|
3626
3739
|
};
|
|
3627
|
-
protoOf(Companion_20).
|
|
3628
|
-
|
|
3740
|
+
protoOf(Companion_20).prettyExpressionsPrettyVariables = function (operatorSet, tagsOptions, $super) {
|
|
3741
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
3742
|
+
return $super === VOID ? this.f12(operatorSet, tagsOptions) : $super.f12.call(this, operatorSet, tagsOptions);
|
|
3629
3743
|
};
|
|
3630
|
-
protoOf(Companion_20).
|
|
3631
|
-
return this.
|
|
3744
|
+
protoOf(Companion_20).g12 = function (prettyVariables, tagsOptions) {
|
|
3745
|
+
return this.e12(prettyVariables, Companion_getInstance_33().DEFAULT, tagsOptions);
|
|
3632
3746
|
};
|
|
3633
|
-
protoOf(Companion_20).prettyExpressionsDefaultOperators = function (prettyVariables) {
|
|
3634
|
-
|
|
3747
|
+
protoOf(Companion_20).prettyExpressionsDefaultOperators = function (prettyVariables, tagsOptions, $super) {
|
|
3748
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
3749
|
+
return $super === VOID ? this.g12(prettyVariables, tagsOptions) : $super.g12.call(this, prettyVariables, tagsOptions);
|
|
3635
3750
|
};
|
|
3636
|
-
protoOf(Companion_20).
|
|
3637
|
-
return this.
|
|
3751
|
+
protoOf(Companion_20).h12 = function (tagsOptions) {
|
|
3752
|
+
return this.e12(true, Companion_getInstance_33().DEFAULT, tagsOptions);
|
|
3753
|
+
};
|
|
3754
|
+
protoOf(Companion_20).prettyExpressionsPrettyVariablesDefaultOperators = function (tagsOptions, $super) {
|
|
3755
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
3756
|
+
return $super === VOID ? this.h12(tagsOptions) : $super.h12.call(this, tagsOptions);
|
|
3638
3757
|
};
|
|
3639
3758
|
var Companion_instance_21;
|
|
3640
3759
|
function Companion_getInstance_22() {
|
|
@@ -3770,10 +3889,10 @@
|
|
|
3770
3889
|
return Companion_getInstance_23().ot_1;
|
|
3771
3890
|
}
|
|
3772
3891
|
function Companion_22() {
|
|
3773
|
-
this.
|
|
3892
|
+
this.k12_1 = ',';
|
|
3774
3893
|
}
|
|
3775
|
-
protoOf(Companion_22).
|
|
3776
|
-
return this.
|
|
3894
|
+
protoOf(Companion_22).l12 = function (terms, ifEmpty) {
|
|
3895
|
+
return this.m12(asIterable(terms), ifEmpty);
|
|
3777
3896
|
};
|
|
3778
3897
|
protoOf(Companion_22).wrapIfNeeded = function (terms, ifEmpty, $super) {
|
|
3779
3898
|
var tmp;
|
|
@@ -3783,9 +3902,9 @@
|
|
|
3783
3902
|
tmp = ifEmpty;
|
|
3784
3903
|
}
|
|
3785
3904
|
ifEmpty = tmp;
|
|
3786
|
-
return $super === VOID ? this.
|
|
3905
|
+
return $super === VOID ? this.l12(terms, ifEmpty) : $super.l12.call(this, terms, ifEmpty);
|
|
3787
3906
|
};
|
|
3788
|
-
protoOf(Companion_22).
|
|
3907
|
+
protoOf(Companion_22).m12 = function (terms, ifEmpty) {
|
|
3789
3908
|
var i = terms.n();
|
|
3790
3909
|
if (!i.q())
|
|
3791
3910
|
return ifEmpty();
|
|
@@ -3806,10 +3925,10 @@
|
|
|
3806
3925
|
tmp = ifEmpty;
|
|
3807
3926
|
}
|
|
3808
3927
|
ifEmpty = tmp;
|
|
3809
|
-
return $super === VOID ? this.
|
|
3928
|
+
return $super === VOID ? this.m12(terms, ifEmpty) : $super.m12.call(this, terms, ifEmpty);
|
|
3810
3929
|
};
|
|
3811
|
-
protoOf(Companion_22).
|
|
3812
|
-
return this.
|
|
3930
|
+
protoOf(Companion_22).n12 = function (terms, ifEmpty) {
|
|
3931
|
+
return this.m12(asIterable_0(terms), ifEmpty);
|
|
3813
3932
|
};
|
|
3814
3933
|
protoOf(Companion_22).wrapSequenceIfNeeded = function (terms, ifEmpty, $super) {
|
|
3815
3934
|
var tmp;
|
|
@@ -3819,7 +3938,7 @@
|
|
|
3819
3938
|
tmp = ifEmpty;
|
|
3820
3939
|
}
|
|
3821
3940
|
ifEmpty = tmp;
|
|
3822
|
-
return $super === VOID ? this.
|
|
3941
|
+
return $super === VOID ? this.n12(terms, ifEmpty) : $super.n12.call(this, terms, ifEmpty);
|
|
3823
3942
|
};
|
|
3824
3943
|
protoOf(Companion_22).of = function (left, right) {
|
|
3825
3944
|
return new TupleImpl(left, right);
|
|
@@ -3856,17 +3975,17 @@
|
|
|
3856
3975
|
function Tuple() {
|
|
3857
3976
|
}
|
|
3858
3977
|
function TupleIterator$tupleIteratorVisitor$1(this$0) {
|
|
3859
|
-
this.
|
|
3978
|
+
this.p12_1 = this$0;
|
|
3860
3979
|
}
|
|
3861
3980
|
protoOf(TupleIterator$tupleIteratorVisitor$1).mv = function (term) {
|
|
3862
|
-
this.
|
|
3981
|
+
this.p12_1.r12_1 = term.qv();
|
|
3863
3982
|
return term.rv();
|
|
3864
3983
|
};
|
|
3865
3984
|
protoOf(TupleIterator$tupleIteratorVisitor$1).visitTuple = function (term) {
|
|
3866
3985
|
return this.mv(term);
|
|
3867
3986
|
};
|
|
3868
3987
|
protoOf(TupleIterator$tupleIteratorVisitor$1).sv = function (term) {
|
|
3869
|
-
this.
|
|
3988
|
+
this.p12_1.r12_1 = null;
|
|
3870
3989
|
return term;
|
|
3871
3990
|
};
|
|
3872
3991
|
protoOf(TupleIterator$tupleIteratorVisitor$1).defaultValue = function (term) {
|
|
@@ -3874,15 +3993,15 @@
|
|
|
3874
3993
|
};
|
|
3875
3994
|
function TupleIterator(tuple) {
|
|
3876
3995
|
var tmp = this;
|
|
3877
|
-
tmp.
|
|
3878
|
-
this.
|
|
3996
|
+
tmp.q12_1 = new TupleIterator$tupleIteratorVisitor$1(this);
|
|
3997
|
+
this.r12_1 = tuple;
|
|
3879
3998
|
}
|
|
3880
3999
|
protoOf(TupleIterator).q = function () {
|
|
3881
|
-
return !(this.
|
|
4000
|
+
return !(this.r12_1 == null);
|
|
3882
4001
|
};
|
|
3883
4002
|
protoOf(TupleIterator).r = function () {
|
|
3884
|
-
var tmp0_safe_receiver = this.
|
|
3885
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.
|
|
4003
|
+
var tmp0_safe_receiver = this.r12_1;
|
|
4004
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.q12_1);
|
|
3886
4005
|
var tmp;
|
|
3887
4006
|
if (tmp1_elvis_lhs == null) {
|
|
3888
4007
|
throw NoSuchElementException_init_$Create$();
|
|
@@ -3893,8 +4012,8 @@
|
|
|
3893
4012
|
};
|
|
3894
4013
|
function Companion_23() {
|
|
3895
4014
|
Companion_instance_24 = this;
|
|
3896
|
-
this.
|
|
3897
|
-
this.
|
|
4015
|
+
this.s12_1 = '_';
|
|
4016
|
+
this.t12_1 = Terms_getInstance().us_1;
|
|
3898
4017
|
}
|
|
3899
4018
|
protoOf(Companion_23).of = function (name) {
|
|
3900
4019
|
return new VarImpl(name);
|
|
@@ -3926,12 +4045,12 @@
|
|
|
3926
4045
|
}
|
|
3927
4046
|
function Companion_24() {
|
|
3928
4047
|
}
|
|
3929
|
-
protoOf(Companion_24).
|
|
4048
|
+
protoOf(Companion_24).y12 = function (scope) {
|
|
3930
4049
|
return new VariablesProviderImpl(scope);
|
|
3931
4050
|
};
|
|
3932
4051
|
protoOf(Companion_24).of = function (scope, $super) {
|
|
3933
4052
|
scope = scope === VOID ? Companion_instance_16.empty() : scope;
|
|
3934
|
-
return $super === VOID ? this.
|
|
4053
|
+
return $super === VOID ? this.y12(scope) : $super.y12.call(this, scope);
|
|
3935
4054
|
};
|
|
3936
4055
|
var Companion_instance_25;
|
|
3937
4056
|
function Companion_getInstance_26() {
|
|
@@ -3941,7 +4060,7 @@
|
|
|
3941
4060
|
cause = cause === VOID ? null : cause;
|
|
3942
4061
|
SubstitutionException_init_$Init$(substitution, message, cause, $this);
|
|
3943
4062
|
SubstitutionApplicationException.call($this);
|
|
3944
|
-
$this.
|
|
4063
|
+
$this.a13_1 = term;
|
|
3945
4064
|
return $this;
|
|
3946
4065
|
}
|
|
3947
4066
|
function SubstitutionApplicationException_init_$Init$_0(term, substitution, cause, $this) {
|
|
@@ -3964,7 +4083,7 @@
|
|
|
3964
4083
|
cause = cause === VOID ? null : cause;
|
|
3965
4084
|
TuPrologException_init_$Init$(message, cause, $this);
|
|
3966
4085
|
SubstitutionException.call($this);
|
|
3967
|
-
$this.
|
|
4086
|
+
$this.b13_1 = substitution;
|
|
3968
4087
|
return $this;
|
|
3969
4088
|
}
|
|
3970
4089
|
function SubstitutionException_init_$Init$_0(substitution, cause, $this) {
|
|
@@ -4029,17 +4148,17 @@
|
|
|
4029
4148
|
captureStack(this, TuPrologException);
|
|
4030
4149
|
}
|
|
4031
4150
|
function Companion_26() {
|
|
4032
|
-
this.
|
|
4151
|
+
this.c13_1 = 100;
|
|
4033
4152
|
}
|
|
4034
4153
|
var Companion_instance_27;
|
|
4035
4154
|
function Companion_getInstance_28() {
|
|
4036
4155
|
return Companion_instance_27;
|
|
4037
4156
|
}
|
|
4038
4157
|
function AbstractCons$unfoldedSequence$$inlined$Iterable$1(this$0) {
|
|
4039
|
-
this.
|
|
4158
|
+
this.d13_1 = this$0;
|
|
4040
4159
|
}
|
|
4041
4160
|
protoOf(AbstractCons$unfoldedSequence$$inlined$Iterable$1).n = function () {
|
|
4042
|
-
return new All(this.
|
|
4161
|
+
return new All(this.d13_1);
|
|
4043
4162
|
};
|
|
4044
4163
|
function AbstractCons$isWellFormed$delegate$lambda(this$0) {
|
|
4045
4164
|
return function () {
|
|
@@ -4052,17 +4171,17 @@
|
|
|
4052
4171
|
}, 1, 0, 5);
|
|
4053
4172
|
}
|
|
4054
4173
|
function AbstractCons$unfold$$inlined$Iterable$1(this$0) {
|
|
4055
|
-
this.
|
|
4174
|
+
this.l13_1 = this$0;
|
|
4056
4175
|
}
|
|
4057
4176
|
protoOf(AbstractCons$unfold$$inlined$Iterable$1).n = function () {
|
|
4058
|
-
return new ListUnfolder(this.
|
|
4177
|
+
return new ListUnfolder(this.l13_1);
|
|
4059
4178
|
};
|
|
4060
4179
|
function AbstractCons(args, tags) {
|
|
4061
4180
|
tags = tags === VOID ? emptyMap() : tags;
|
|
4062
4181
|
RecursiveImpl.call(this, '.', args, tags);
|
|
4063
|
-
this.
|
|
4182
|
+
this.j13_1 = '.';
|
|
4064
4183
|
var tmp = this;
|
|
4065
|
-
tmp.
|
|
4184
|
+
tmp.k13_1 = lazy(AbstractCons$isWellFormed$delegate$lambda(this));
|
|
4066
4185
|
}
|
|
4067
4186
|
protoOf(AbstractCons).ww = function () {
|
|
4068
4187
|
return 1;
|
|
@@ -4073,22 +4192,22 @@
|
|
|
4073
4192
|
return asSequence_0(tmp$ret$0);
|
|
4074
4193
|
};
|
|
4075
4194
|
protoOf(AbstractCons).xt = function () {
|
|
4076
|
-
return this.
|
|
4195
|
+
return this.j13_1;
|
|
4077
4196
|
};
|
|
4078
4197
|
protoOf(AbstractCons).nw = function () {
|
|
4079
|
-
var tmp0 = this.
|
|
4198
|
+
var tmp0 = this.k13_1;
|
|
4080
4199
|
var tmp = KProperty1;
|
|
4081
4200
|
// Inline function 'kotlin.getValue' call
|
|
4082
4201
|
getPropertyCallableRef('isWellFormed', 1, tmp, AbstractCons$_get_isWellFormed_$ref_h49uq8(), null);
|
|
4083
4202
|
return tmp0.e2();
|
|
4084
4203
|
};
|
|
4085
|
-
protoOf(AbstractCons).
|
|
4204
|
+
protoOf(AbstractCons).m13 = function () {
|
|
4086
4205
|
// Inline function 'kotlin.collections.Iterable' call
|
|
4087
4206
|
var tmp$ret$0 = new AbstractCons$unfold$$inlined$Iterable$1(this);
|
|
4088
4207
|
return asSequence_0(tmp$ret$0);
|
|
4089
4208
|
};
|
|
4090
4209
|
protoOf(AbstractCons).unfold = function () {
|
|
4091
|
-
return this.
|
|
4210
|
+
return this.m13();
|
|
4092
4211
|
};
|
|
4093
4212
|
protoOf(AbstractCons).t4 = function () {
|
|
4094
4213
|
return this.nw() ? sliceArray(this.ev(), until(0, get_lastIndex_0(this.ev()))) : this.ev();
|
|
@@ -4118,7 +4237,7 @@
|
|
|
4118
4237
|
var _destruct__k2r9zo = tmp;
|
|
4119
4238
|
var ending = _destruct__k2r9zo.oc();
|
|
4120
4239
|
var take_0 = _destruct__k2r9zo.pc();
|
|
4121
|
-
return
|
|
4240
|
+
return joinToString_0(take(this.hv(), take_0), ', ', '[', ending);
|
|
4122
4241
|
};
|
|
4123
4242
|
protoOf(AbstractCons).au = function () {
|
|
4124
4243
|
return protoOf(RecursiveImpl).au.call(this).castToCons();
|
|
@@ -4132,11 +4251,11 @@
|
|
|
4132
4251
|
protoOf(AbstractCons).freshCopyFromScope = function (scope) {
|
|
4133
4252
|
return this.bu(scope);
|
|
4134
4253
|
};
|
|
4135
|
-
protoOf(AbstractCons).
|
|
4254
|
+
protoOf(AbstractCons).v13 = function (visitor) {
|
|
4136
4255
|
return visitor.visitCons(this);
|
|
4137
4256
|
};
|
|
4138
4257
|
protoOf(AbstractCons).accept = function (visitor) {
|
|
4139
|
-
return this.
|
|
4258
|
+
return this.v13(visitor);
|
|
4140
4259
|
};
|
|
4141
4260
|
protoOf(AbstractCons).ep = function () {
|
|
4142
4261
|
return this.ru();
|
|
@@ -4163,7 +4282,7 @@
|
|
|
4163
4282
|
return false;
|
|
4164
4283
|
if (!($this.rt() === other.rt()))
|
|
4165
4284
|
return false;
|
|
4166
|
-
if (!$this.
|
|
4285
|
+
if (!$this.z13(other, useVarCompleteName))
|
|
4167
4286
|
return false;
|
|
4168
4287
|
return true;
|
|
4169
4288
|
}
|
|
@@ -4176,33 +4295,33 @@
|
|
|
4176
4295
|
return function () {
|
|
4177
4296
|
var result = getStringHashCode(this$0.xt());
|
|
4178
4297
|
result = imul(31, result) + this$0.rt() | 0;
|
|
4179
|
-
result = imul(31, result) + this$0.
|
|
4298
|
+
result = imul(31, result) + this$0.x13() | 0;
|
|
4180
4299
|
return result;
|
|
4181
4300
|
};
|
|
4182
4301
|
}
|
|
4183
4302
|
function AbstractStruct$_get_hashCodeCache_$ref_897o98() {
|
|
4184
4303
|
return constructCallableReference(function (p0) {
|
|
4185
|
-
return p0.
|
|
4304
|
+
return p0.g14();
|
|
4186
4305
|
}, 1, 0, 6);
|
|
4187
4306
|
}
|
|
4188
4307
|
function AbstractStruct(functor, args, tags) {
|
|
4189
4308
|
tags = tags === VOID ? emptyMap() : tags;
|
|
4190
4309
|
TermImpl.call(this, tags);
|
|
4191
|
-
this.
|
|
4192
|
-
this.
|
|
4310
|
+
this.b14_1 = functor;
|
|
4311
|
+
this.c14_1 = args;
|
|
4193
4312
|
var tmp = this;
|
|
4194
|
-
tmp.
|
|
4313
|
+
tmp.d14_1 = lazy(AbstractStruct$hashCodeCache$delegate$lambda(this));
|
|
4195
4314
|
}
|
|
4196
4315
|
protoOf(AbstractStruct).xt = function () {
|
|
4197
|
-
return this.
|
|
4316
|
+
return this.b14_1;
|
|
4198
4317
|
};
|
|
4199
4318
|
protoOf(AbstractStruct).yt = function () {
|
|
4200
|
-
return this.
|
|
4319
|
+
return this.c14_1;
|
|
4201
4320
|
};
|
|
4202
4321
|
protoOf(AbstractStruct).bv = function () {
|
|
4203
|
-
return this.
|
|
4322
|
+
return this.w13();
|
|
4204
4323
|
};
|
|
4205
|
-
protoOf(AbstractStruct).
|
|
4324
|
+
protoOf(AbstractStruct).w13 = function () {
|
|
4206
4325
|
return none(this.zt());
|
|
4207
4326
|
};
|
|
4208
4327
|
protoOf(AbstractStruct).au = function () {
|
|
@@ -4225,21 +4344,21 @@
|
|
|
4225
4344
|
protoOf(AbstractStruct).freshCopyFromScope = function (scope) {
|
|
4226
4345
|
return this.bu(scope);
|
|
4227
4346
|
};
|
|
4228
|
-
protoOf(AbstractStruct).
|
|
4347
|
+
protoOf(AbstractStruct).e14 = function (other) {
|
|
4229
4348
|
var tmp;
|
|
4230
4349
|
if (other.du()) {
|
|
4231
4350
|
// Inline function 'kotlin.let' call
|
|
4232
4351
|
var it = other.castToStruct();
|
|
4233
|
-
tmp = (this.xt() === it.xt() && this.rt() === it.rt() && this.
|
|
4352
|
+
tmp = (this.xt() === it.xt() && this.rt() === it.rt() && this.y13(it));
|
|
4234
4353
|
} else {
|
|
4235
4354
|
tmp = false;
|
|
4236
4355
|
}
|
|
4237
4356
|
return tmp;
|
|
4238
4357
|
};
|
|
4239
4358
|
protoOf(AbstractStruct).structurallyEquals = function (other) {
|
|
4240
|
-
return this.
|
|
4359
|
+
return this.e14(other);
|
|
4241
4360
|
};
|
|
4242
|
-
protoOf(AbstractStruct).
|
|
4361
|
+
protoOf(AbstractStruct).y13 = function (other) {
|
|
4243
4362
|
var inductionVariable = 0;
|
|
4244
4363
|
var last = this.rt();
|
|
4245
4364
|
if (inductionVariable < last)
|
|
@@ -4290,7 +4409,7 @@
|
|
|
4290
4409
|
var tmp2_elvis_lhs = tmp_2;
|
|
4291
4410
|
return tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
|
|
4292
4411
|
};
|
|
4293
|
-
protoOf(AbstractStruct).
|
|
4412
|
+
protoOf(AbstractStruct).z13 = function (other, useVarCompleteName) {
|
|
4294
4413
|
var inductionVariable = 0;
|
|
4295
4414
|
var last = this.rt();
|
|
4296
4415
|
if (inductionVariable < last)
|
|
@@ -4304,7 +4423,7 @@
|
|
|
4304
4423
|
while (inductionVariable < last);
|
|
4305
4424
|
return true;
|
|
4306
4425
|
};
|
|
4307
|
-
protoOf(AbstractStruct).
|
|
4426
|
+
protoOf(AbstractStruct).f14 = function (other, useVarCompleteName) {
|
|
4308
4427
|
var tmp0_safe_receiver = other.asStruct();
|
|
4309
4428
|
var tmp;
|
|
4310
4429
|
if (tmp0_safe_receiver == null) {
|
|
@@ -4317,36 +4436,36 @@
|
|
|
4317
4436
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
4318
4437
|
};
|
|
4319
4438
|
protoOf(AbstractStruct).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
4320
|
-
return this.
|
|
4439
|
+
return this.f14(other, useVarCompleteName);
|
|
4321
4440
|
};
|
|
4322
|
-
protoOf(AbstractStruct).
|
|
4323
|
-
var tmp0 = this.
|
|
4441
|
+
protoOf(AbstractStruct).g14 = function () {
|
|
4442
|
+
var tmp0 = this.d14_1;
|
|
4324
4443
|
var tmp = KProperty1;
|
|
4325
4444
|
// Inline function 'kotlin.getValue' call
|
|
4326
4445
|
getPropertyCallableRef('hashCodeCache', 1, tmp, AbstractStruct$_get_hashCodeCache_$ref_897o98(), null);
|
|
4327
4446
|
return tmp0.e2();
|
|
4328
4447
|
};
|
|
4329
|
-
protoOf(AbstractStruct).
|
|
4448
|
+
protoOf(AbstractStruct).x13 = function () {
|
|
4330
4449
|
return itemWiseHashCode(this.yt());
|
|
4331
4450
|
};
|
|
4332
4451
|
protoOf(AbstractStruct).toString = function () {
|
|
4333
4452
|
var escaped = Companion_getInstance_18().escapeFunctorIfNeeded(this.xt());
|
|
4334
4453
|
var quoted = Companion_getInstance_18().enquoteFunctorIfNecessary(escaped);
|
|
4335
|
-
return quoted + (this.rt() > 0 ? '(' +
|
|
4454
|
+
return quoted + (this.rt() > 0 ? '(' + joinToString(this.yt(), ', ') + ')' : '');
|
|
4336
4455
|
};
|
|
4337
|
-
protoOf(AbstractStruct).
|
|
4456
|
+
protoOf(AbstractStruct).h14 = function (argument) {
|
|
4338
4457
|
return Companion_getInstance_18().ofList(this.xt(), plus_1(this.yt(), argument));
|
|
4339
4458
|
};
|
|
4340
4459
|
protoOf(AbstractStruct).addLast = function (argument) {
|
|
4341
|
-
return this.
|
|
4460
|
+
return this.h14(argument);
|
|
4342
4461
|
};
|
|
4343
|
-
protoOf(AbstractStruct).
|
|
4462
|
+
protoOf(AbstractStruct).i14 = function (argument) {
|
|
4344
4463
|
return Companion_getInstance_18().ofList(this.xt(), plus(listOf_0(argument), this.yt()));
|
|
4345
4464
|
};
|
|
4346
4465
|
protoOf(AbstractStruct).addFirst = function (argument) {
|
|
4347
|
-
return this.
|
|
4466
|
+
return this.i14(argument);
|
|
4348
4467
|
};
|
|
4349
|
-
protoOf(AbstractStruct).
|
|
4468
|
+
protoOf(AbstractStruct).j14 = function (index, argument) {
|
|
4350
4469
|
var tmp;
|
|
4351
4470
|
if (0 <= index ? index < this.rt() : false) {
|
|
4352
4471
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -4359,33 +4478,33 @@
|
|
|
4359
4478
|
return tmp;
|
|
4360
4479
|
};
|
|
4361
4480
|
protoOf(AbstractStruct).insertAt = function (index, argument) {
|
|
4362
|
-
return this.
|
|
4481
|
+
return this.j14(index, argument);
|
|
4363
4482
|
};
|
|
4364
|
-
protoOf(AbstractStruct).
|
|
4483
|
+
protoOf(AbstractStruct).k14 = function (functor) {
|
|
4365
4484
|
return Companion_getInstance_18().ofList(functor, this.yt());
|
|
4366
4485
|
};
|
|
4367
4486
|
protoOf(AbstractStruct).setFunctor = function (functor) {
|
|
4368
|
-
return this.
|
|
4487
|
+
return this.k14(functor);
|
|
4369
4488
|
};
|
|
4370
|
-
protoOf(AbstractStruct).
|
|
4489
|
+
protoOf(AbstractStruct).l14 = function (args) {
|
|
4371
4490
|
return Companion_getInstance_18().of(this.xt(), args.slice());
|
|
4372
4491
|
};
|
|
4373
4492
|
protoOf(AbstractStruct).setArgs = function (args) {
|
|
4374
|
-
return this.
|
|
4493
|
+
return this.l14(args);
|
|
4375
4494
|
};
|
|
4376
|
-
protoOf(AbstractStruct).
|
|
4495
|
+
protoOf(AbstractStruct).m14 = function (args) {
|
|
4377
4496
|
return Companion_getInstance_18().ofIterable(this.xt(), args);
|
|
4378
4497
|
};
|
|
4379
4498
|
protoOf(AbstractStruct).setArgsIterable = function (args) {
|
|
4380
|
-
return this.
|
|
4499
|
+
return this.m14(args);
|
|
4381
4500
|
};
|
|
4382
|
-
protoOf(AbstractStruct).
|
|
4501
|
+
protoOf(AbstractStruct).n14 = function (args) {
|
|
4383
4502
|
return Companion_getInstance_18().ofSequence(this.xt(), args);
|
|
4384
4503
|
};
|
|
4385
4504
|
protoOf(AbstractStruct).setArgsSequence = function (args) {
|
|
4386
|
-
return this.
|
|
4505
|
+
return this.n14(args);
|
|
4387
4506
|
};
|
|
4388
|
-
protoOf(AbstractStruct).
|
|
4507
|
+
protoOf(AbstractStruct).s13 = function (unifier) {
|
|
4389
4508
|
var tmp = Companion_getInstance_18();
|
|
4390
4509
|
var tmp_0 = this.xt();
|
|
4391
4510
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4400,11 +4519,11 @@
|
|
|
4400
4519
|
}
|
|
4401
4520
|
return setTags(tmp.ofList(tmp_0, destination), this.lr());
|
|
4402
4521
|
};
|
|
4403
|
-
protoOf(AbstractStruct).
|
|
4522
|
+
protoOf(AbstractStruct).v13 = function (visitor) {
|
|
4404
4523
|
return visitor.visitStruct(this);
|
|
4405
4524
|
};
|
|
4406
4525
|
protoOf(AbstractStruct).accept = function (visitor) {
|
|
4407
|
-
return this.
|
|
4526
|
+
return this.v13(visitor);
|
|
4408
4527
|
};
|
|
4409
4528
|
protoOf(AbstractStruct).ep = function () {
|
|
4410
4529
|
return this.ru();
|
|
@@ -4417,8 +4536,8 @@
|
|
|
4417
4536
|
};
|
|
4418
4537
|
function Companion_27() {
|
|
4419
4538
|
Companion_instance_28 = this;
|
|
4420
|
-
this.
|
|
4421
|
-
this.
|
|
4539
|
+
this.r14_1 = Companion_getInstance().of(26);
|
|
4540
|
+
this.s14_1 = 65;
|
|
4422
4541
|
}
|
|
4423
4542
|
var Companion_instance_28;
|
|
4424
4543
|
function Companion_getInstance_29() {
|
|
@@ -4438,13 +4557,13 @@
|
|
|
4438
4557
|
return tmp;
|
|
4439
4558
|
}
|
|
4440
4559
|
function numberedVar($this, integer) {
|
|
4441
|
-
var letterIndex = integer.e2().rem(Companion_getInstance_29().
|
|
4442
|
-
var varNumber = integer.e2().div(Companion_getInstance_29().
|
|
4560
|
+
var letterIndex = integer.e2().rem(Companion_getInstance_29().r14_1).toInt() + 65 | 0;
|
|
4561
|
+
var varNumber = integer.e2().div(Companion_getInstance_29().r14_1);
|
|
4443
4562
|
return toString_1(numberToChar(letterIndex)) + varNumber.toString();
|
|
4444
4563
|
}
|
|
4445
4564
|
function formatFunctor($this, term) {
|
|
4446
4565
|
var tmp;
|
|
4447
|
-
if ($this.
|
|
4566
|
+
if ($this.t14_1) {
|
|
4448
4567
|
tmp = Companion_getInstance_18().enquoteFunctorIfNecessary(Companion_getInstance_18().escapeFunctorIfNeeded(term.xt()));
|
|
4449
4568
|
} else {
|
|
4450
4569
|
tmp = term.xt();
|
|
@@ -4453,7 +4572,7 @@
|
|
|
4453
4572
|
}
|
|
4454
4573
|
function visitStructImpl($this, term, actualVisit) {
|
|
4455
4574
|
var tmp;
|
|
4456
|
-
if ($this.
|
|
4575
|
+
if ($this.v14_1) {
|
|
4457
4576
|
tmp = $this.yv(term);
|
|
4458
4577
|
} else {
|
|
4459
4578
|
tmp = actualVisit(term);
|
|
@@ -4462,7 +4581,7 @@
|
|
|
4462
4581
|
}
|
|
4463
4582
|
function AbstractTermFormatter$visitStruct$lambda(this$0) {
|
|
4464
4583
|
return function (it) {
|
|
4465
|
-
return it.accept(this$0.
|
|
4584
|
+
return it.accept(this$0.x14());
|
|
4466
4585
|
};
|
|
4467
4586
|
}
|
|
4468
4587
|
function AbstractTermFormatter$visitCollection$lambda(this$0, $term) {
|
|
@@ -4472,46 +4591,47 @@
|
|
|
4472
4591
|
}
|
|
4473
4592
|
function AbstractTermFormatter$visitCons$lambda$lambda(this$0) {
|
|
4474
4593
|
return function (it) {
|
|
4475
|
-
return it.accept(this$0.
|
|
4594
|
+
return it.accept(this$0.y14());
|
|
4476
4595
|
};
|
|
4477
4596
|
}
|
|
4478
|
-
function AbstractTermFormatter$visitCons$lambda($
|
|
4597
|
+
function AbstractTermFormatter$visitCons$lambda(this$0, $term) {
|
|
4479
4598
|
return function (it) {
|
|
4480
4599
|
// Inline function 'kotlin.with' call
|
|
4481
4600
|
var $this$with = $term.gv();
|
|
4482
4601
|
var last_0 = last($this$with);
|
|
4483
4602
|
var tmp = $this$with.a1(0, get_lastIndex($this$with));
|
|
4484
|
-
var base =
|
|
4603
|
+
var base = joinToString(tmp, ', ', '[', '', VOID, VOID, AbstractTermFormatter$visitCons$lambda$lambda(this$0));
|
|
4485
4604
|
var tmp_0;
|
|
4486
4605
|
if (last_0.ut()) {
|
|
4487
4606
|
tmp_0 = ']';
|
|
4488
4607
|
} else {
|
|
4489
|
-
tmp_0 = ' | ' + last_0.accept(this$0.
|
|
4608
|
+
tmp_0 = ' | ' + last_0.accept(this$0.y14()) + ']';
|
|
4490
4609
|
}
|
|
4491
4610
|
var lastString = tmp_0;
|
|
4492
|
-
|
|
4611
|
+
var tmp$ret$0 = base + lastString;
|
|
4612
|
+
return this$0.z14(tmp$ret$0, $term);
|
|
4493
4613
|
};
|
|
4494
4614
|
}
|
|
4495
4615
|
function AbstractTermFormatter$visitBlock$lambda$lambda(this$0) {
|
|
4496
4616
|
return function (it) {
|
|
4497
|
-
return it.accept(this$0.
|
|
4617
|
+
return it.accept(this$0.x14());
|
|
4498
4618
|
};
|
|
4499
4619
|
}
|
|
4500
|
-
function AbstractTermFormatter$visitBlock$lambda($
|
|
4620
|
+
function AbstractTermFormatter$visitBlock$lambda(this$0, $term) {
|
|
4501
4621
|
return function (it) {
|
|
4502
4622
|
var tmp = $term.hv();
|
|
4503
|
-
return
|
|
4623
|
+
return this$0.z14(joinToString_0(tmp, ', ', '{', '}', VOID, VOID, AbstractTermFormatter$visitBlock$lambda$lambda(this$0)), $term);
|
|
4504
4624
|
};
|
|
4505
4625
|
}
|
|
4506
4626
|
function AbstractTermFormatter$visitTuple$lambda$lambda(this$0) {
|
|
4507
4627
|
return function (it) {
|
|
4508
|
-
return it.accept(this$0.
|
|
4628
|
+
return it.accept(this$0.x14());
|
|
4509
4629
|
};
|
|
4510
4630
|
}
|
|
4511
|
-
function AbstractTermFormatter$visitTuple$lambda($
|
|
4631
|
+
function AbstractTermFormatter$visitTuple$lambda(this$0, $term) {
|
|
4512
4632
|
return function (it) {
|
|
4513
4633
|
var tmp = $term.hv();
|
|
4514
|
-
return
|
|
4634
|
+
return this$0.z14(joinToString_0(tmp, ', ', '(', ')', VOID, VOID, AbstractTermFormatter$visitTuple$lambda$lambda(this$0)), $term);
|
|
4515
4635
|
};
|
|
4516
4636
|
}
|
|
4517
4637
|
function AbstractTermFormatter$visitClause$lambda($term, this$0) {
|
|
@@ -4519,50 +4639,68 @@
|
|
|
4519
4639
|
return $term.accept(this$0);
|
|
4520
4640
|
};
|
|
4521
4641
|
}
|
|
4522
|
-
function AbstractTermFormatter(quoted, numberVars, ignoreOps) {
|
|
4642
|
+
function AbstractTermFormatter(quoted, numberVars, ignoreOps, tagsOptions) {
|
|
4523
4643
|
Companion_getInstance_29();
|
|
4524
4644
|
quoted = quoted === VOID ? true : quoted;
|
|
4525
4645
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
4526
4646
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
4527
|
-
|
|
4528
|
-
this.
|
|
4529
|
-
this.
|
|
4530
|
-
|
|
4647
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
4648
|
+
this.t14_1 = quoted;
|
|
4649
|
+
this.u14_1 = numberVars;
|
|
4650
|
+
this.v14_1 = ignoreOps;
|
|
4651
|
+
this.w14_1 = tagsOptions;
|
|
4652
|
+
}
|
|
4653
|
+
protoOf(AbstractTermFormatter).z14 = function (_this__u8e3s4, term) {
|
|
4654
|
+
var formattedTags = this.w14_1.z11(term.lr());
|
|
4655
|
+
var tmp;
|
|
4656
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
4657
|
+
if (charSequenceLength(formattedTags) > 0) {
|
|
4658
|
+
tmp = _this__u8e3s4 + formattedTags;
|
|
4659
|
+
} else {
|
|
4660
|
+
tmp = _this__u8e3s4;
|
|
4661
|
+
}
|
|
4662
|
+
return tmp;
|
|
4663
|
+
};
|
|
4531
4664
|
protoOf(AbstractTermFormatter).sv = function (term) {
|
|
4532
|
-
return term.toString();
|
|
4665
|
+
return this.z14(term.toString(), term);
|
|
4533
4666
|
};
|
|
4534
4667
|
protoOf(AbstractTermFormatter).defaultValue = function (term) {
|
|
4535
4668
|
return this.sv(term);
|
|
4536
4669
|
};
|
|
4537
|
-
protoOf(AbstractTermFormatter).
|
|
4538
|
-
return formatFunctor(this, term);
|
|
4670
|
+
protoOf(AbstractTermFormatter).a15 = function (term) {
|
|
4671
|
+
return this.z14(formatFunctor(this, term), term);
|
|
4539
4672
|
};
|
|
4540
4673
|
protoOf(AbstractTermFormatter).visitAtom = function (term) {
|
|
4541
|
-
return this.
|
|
4674
|
+
return this.a15(term);
|
|
4542
4675
|
};
|
|
4543
4676
|
protoOf(AbstractTermFormatter).yv = function (term) {
|
|
4544
|
-
|
|
4545
|
-
|
|
4677
|
+
// Inline function 'kotlin.let' call
|
|
4678
|
+
var tmp;
|
|
4679
|
+
if (this.u14_1 && isNumberedVar(this, term)) {
|
|
4680
|
+
tmp = numberedVar(this, term.get(0).castToInteger());
|
|
4681
|
+
} else {
|
|
4682
|
+
var functor = formatFunctor(this, term);
|
|
4683
|
+
var tmp_0 = term.qu();
|
|
4684
|
+
var args = joinToString_0(tmp_0, ', ', '(', ')', VOID, VOID, AbstractTermFormatter$visitStruct$lambda(this));
|
|
4685
|
+
tmp = functor + args;
|
|
4546
4686
|
}
|
|
4547
|
-
var
|
|
4548
|
-
|
|
4549
|
-
var args = joinToString(map(tmp, AbstractTermFormatter$visitStruct$lambda(this)), ', ', '(', ')');
|
|
4550
|
-
return functor + args;
|
|
4687
|
+
var tmp$ret$0 = tmp;
|
|
4688
|
+
return this.z14(tmp$ret$0, term);
|
|
4551
4689
|
};
|
|
4552
4690
|
protoOf(AbstractTermFormatter).visitStruct = function (term) {
|
|
4553
4691
|
return this.yv(term);
|
|
4554
4692
|
};
|
|
4555
|
-
protoOf(AbstractTermFormatter).
|
|
4693
|
+
protoOf(AbstractTermFormatter).b15 = function (term) {
|
|
4556
4694
|
return visitStructImpl(this, term, AbstractTermFormatter$visitCollection$lambda(this, term));
|
|
4557
4695
|
};
|
|
4558
4696
|
protoOf(AbstractTermFormatter).visitCollection = function (term) {
|
|
4559
|
-
return this.
|
|
4697
|
+
return this.b15(term);
|
|
4560
4698
|
};
|
|
4561
|
-
protoOf(AbstractTermFormatter).
|
|
4562
|
-
return this.
|
|
4699
|
+
protoOf(AbstractTermFormatter).c15 = function (term) {
|
|
4700
|
+
return this.b15(term);
|
|
4563
4701
|
};
|
|
4564
4702
|
protoOf(AbstractTermFormatter).visitList = function (term) {
|
|
4565
|
-
return this.
|
|
4703
|
+
return this.c15(term);
|
|
4566
4704
|
};
|
|
4567
4705
|
protoOf(AbstractTermFormatter).az = function (term) {
|
|
4568
4706
|
return this.sv(term);
|
|
@@ -4571,19 +4709,19 @@
|
|
|
4571
4709
|
return this.az(term);
|
|
4572
4710
|
};
|
|
4573
4711
|
protoOf(AbstractTermFormatter).zy = function (term) {
|
|
4574
|
-
return visitStructImpl(this, term, AbstractTermFormatter$visitCons$lambda(
|
|
4712
|
+
return visitStructImpl(this, term, AbstractTermFormatter$visitCons$lambda(this, term));
|
|
4575
4713
|
};
|
|
4576
4714
|
protoOf(AbstractTermFormatter).visitCons = function (term) {
|
|
4577
4715
|
return this.zy(term);
|
|
4578
4716
|
};
|
|
4579
4717
|
protoOf(AbstractTermFormatter).vv = function (term) {
|
|
4580
|
-
return visitStructImpl(this, term, AbstractTermFormatter$visitBlock$lambda(
|
|
4718
|
+
return visitStructImpl(this, term, AbstractTermFormatter$visitBlock$lambda(this, term));
|
|
4581
4719
|
};
|
|
4582
4720
|
protoOf(AbstractTermFormatter).visitBlock = function (term) {
|
|
4583
4721
|
return this.vv(term);
|
|
4584
4722
|
};
|
|
4585
4723
|
protoOf(AbstractTermFormatter).mv = function (term) {
|
|
4586
|
-
return visitStructImpl(this, term, AbstractTermFormatter$visitTuple$lambda(
|
|
4724
|
+
return visitStructImpl(this, term, AbstractTermFormatter$visitTuple$lambda(this, term));
|
|
4587
4725
|
};
|
|
4588
4726
|
protoOf(AbstractTermFormatter).visitTuple = function (term) {
|
|
4589
4727
|
return this.mv(term);
|
|
@@ -4594,88 +4732,89 @@
|
|
|
4594
4732
|
protoOf(AbstractTermFormatter).visitClause = function (term) {
|
|
4595
4733
|
return this.cw(term);
|
|
4596
4734
|
};
|
|
4597
|
-
protoOf(AbstractTermFormatter).
|
|
4735
|
+
protoOf(AbstractTermFormatter).d15 = function (term) {
|
|
4598
4736
|
return this.yv(term);
|
|
4599
4737
|
};
|
|
4600
4738
|
protoOf(AbstractTermFormatter).visitRule = function (term) {
|
|
4601
|
-
return this.
|
|
4739
|
+
return this.d15(term);
|
|
4602
4740
|
};
|
|
4603
|
-
protoOf(AbstractTermFormatter).
|
|
4604
|
-
return this.
|
|
4741
|
+
protoOf(AbstractTermFormatter).e15 = function (term) {
|
|
4742
|
+
return this.d15(term);
|
|
4605
4743
|
};
|
|
4606
4744
|
protoOf(AbstractTermFormatter).visitFact = function (term) {
|
|
4607
|
-
return this.
|
|
4745
|
+
return this.e15(term);
|
|
4608
4746
|
};
|
|
4609
|
-
protoOf(AbstractTermFormatter).
|
|
4747
|
+
protoOf(AbstractTermFormatter).f15 = function (term) {
|
|
4610
4748
|
return this.yv(term);
|
|
4611
4749
|
};
|
|
4612
4750
|
protoOf(AbstractTermFormatter).visitDirective = function (term) {
|
|
4613
|
-
return this.
|
|
4751
|
+
return this.f15(term);
|
|
4614
4752
|
};
|
|
4615
|
-
protoOf(AbstractTermFormatter).
|
|
4753
|
+
protoOf(AbstractTermFormatter).y14 = function () {
|
|
4616
4754
|
return this;
|
|
4617
4755
|
};
|
|
4618
|
-
protoOf(AbstractTermFormatter).
|
|
4756
|
+
protoOf(AbstractTermFormatter).x14 = function () {
|
|
4619
4757
|
return this;
|
|
4620
4758
|
};
|
|
4621
|
-
protoOf(AbstractTermFormatter).
|
|
4759
|
+
protoOf(AbstractTermFormatter).g15 = function (term) {
|
|
4622
4760
|
return this.yv(term);
|
|
4623
4761
|
};
|
|
4624
4762
|
protoOf(AbstractTermFormatter).visitIndicator = function (term) {
|
|
4625
|
-
return this.
|
|
4763
|
+
return this.g15(term);
|
|
4626
4764
|
};
|
|
4627
4765
|
protoOf(AbstractTermFormatter).format = function (value) {
|
|
4628
|
-
return this.
|
|
4766
|
+
return this.i12((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
4629
4767
|
};
|
|
4630
|
-
function AbstractTermFormatterForVariables(quoted, numberVars, ignoreOps) {
|
|
4768
|
+
function AbstractTermFormatterForVariables(quoted, numberVars, ignoreOps, tagsOptions) {
|
|
4631
4769
|
quoted = quoted === VOID ? true : quoted;
|
|
4632
4770
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
4633
4771
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
4634
|
-
|
|
4772
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
4773
|
+
AbstractTermFormatter.call(this, quoted, numberVars, ignoreOps, tagsOptions);
|
|
4635
4774
|
var tmp = this;
|
|
4636
4775
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
4637
|
-
tmp.
|
|
4776
|
+
tmp.l15_1 = LinkedHashMap_init_$Create$();
|
|
4638
4777
|
}
|
|
4639
4778
|
protoOf(AbstractTermFormatterForVariables).gw = function (term) {
|
|
4640
4779
|
var tmp;
|
|
4641
|
-
if (term.
|
|
4780
|
+
if (term.u12()) {
|
|
4642
4781
|
tmp = '_';
|
|
4643
|
-
} else if (this.
|
|
4644
|
-
var homonymous = ensureNotNull(this.
|
|
4782
|
+
} else if (this.l15_1.f2(term.m2())) {
|
|
4783
|
+
var homonymous = ensureNotNull(this.l15_1.h2(term.m2()));
|
|
4645
4784
|
var tmp_0;
|
|
4646
4785
|
if (homonymous.f2(term)) {
|
|
4647
|
-
tmp_0 = this.
|
|
4786
|
+
tmp_0 = this.m15(term, ensureNotNull(homonymous.h2(term)));
|
|
4648
4787
|
} else {
|
|
4649
4788
|
var homonymousCount = homonymous.s();
|
|
4650
4789
|
var suffix = homonymousCount.toString();
|
|
4651
4790
|
// Inline function 'kotlin.collections.set' call
|
|
4652
4791
|
homonymous.k4(term, suffix);
|
|
4653
|
-
tmp_0 = this.
|
|
4792
|
+
tmp_0 = this.m15(term, suffix);
|
|
4654
4793
|
}
|
|
4655
4794
|
tmp = tmp_0;
|
|
4656
4795
|
} else {
|
|
4657
|
-
var tmp0 = this.
|
|
4796
|
+
var tmp0 = this.l15_1;
|
|
4658
4797
|
var tmp2 = term.m2();
|
|
4659
4798
|
// Inline function 'kotlin.collections.set' call
|
|
4660
4799
|
var value = mutableMapOf([to(term, '')]);
|
|
4661
4800
|
tmp0.k4(tmp2, value);
|
|
4662
|
-
tmp = this.
|
|
4801
|
+
tmp = this.m15(term, '');
|
|
4663
4802
|
}
|
|
4664
|
-
return tmp;
|
|
4803
|
+
return this.z14(tmp, term);
|
|
4665
4804
|
};
|
|
4666
4805
|
protoOf(AbstractTermFormatterForVariables).visitVar = function (term) {
|
|
4667
4806
|
return this.gw(term);
|
|
4668
4807
|
};
|
|
4669
4808
|
protoOf(AbstractTermFormatterForVariables).format = function (value) {
|
|
4670
|
-
return this.
|
|
4809
|
+
return this.i12((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
4671
4810
|
};
|
|
4672
4811
|
function AtomImpl(functor, tags) {
|
|
4673
4812
|
tags = tags === VOID ? emptyMap() : tags;
|
|
4674
4813
|
AbstractStruct.call(this, functor, emptyList(), tags);
|
|
4675
|
-
this.
|
|
4814
|
+
this.r15_1 = functor;
|
|
4676
4815
|
}
|
|
4677
4816
|
protoOf(AtomImpl).xt = function () {
|
|
4678
|
-
return this.
|
|
4817
|
+
return this.r15_1;
|
|
4679
4818
|
};
|
|
4680
4819
|
protoOf(AtomImpl).yt = function () {
|
|
4681
4820
|
return emptyList();
|
|
@@ -4686,7 +4825,7 @@
|
|
|
4686
4825
|
protoOf(AtomImpl).zt = function () {
|
|
4687
4826
|
return emptySequence();
|
|
4688
4827
|
};
|
|
4689
|
-
protoOf(AtomImpl).
|
|
4828
|
+
protoOf(AtomImpl).t13 = function (tags) {
|
|
4690
4829
|
return new AtomImpl(this.xt(), tags);
|
|
4691
4830
|
};
|
|
4692
4831
|
protoOf(AtomImpl).au = function () {
|
|
@@ -4701,11 +4840,11 @@
|
|
|
4701
4840
|
protoOf(AtomImpl).freshCopyFromScope = function (scope) {
|
|
4702
4841
|
return this.bu(scope);
|
|
4703
4842
|
};
|
|
4704
|
-
protoOf(AtomImpl).
|
|
4843
|
+
protoOf(AtomImpl).v13 = function (visitor) {
|
|
4705
4844
|
return visitor.visitAtom(this);
|
|
4706
4845
|
};
|
|
4707
4846
|
protoOf(AtomImpl).accept = function (visitor) {
|
|
4708
|
-
return this.
|
|
4847
|
+
return this.v13(visitor);
|
|
4709
4848
|
};
|
|
4710
4849
|
protoOf(AtomImpl).ep = function () {
|
|
4711
4850
|
return this.ru();
|
|
@@ -4723,16 +4862,16 @@
|
|
|
4723
4862
|
return this.nu();
|
|
4724
4863
|
};
|
|
4725
4864
|
function BlockImpl$unfoldedSequence$$inlined$Iterable$1(this$0) {
|
|
4726
|
-
this.
|
|
4865
|
+
this.s15_1 = this$0;
|
|
4727
4866
|
}
|
|
4728
4867
|
protoOf(BlockImpl$unfoldedSequence$$inlined$Iterable$1).n = function () {
|
|
4729
|
-
return new BlockIterator(this.
|
|
4868
|
+
return new BlockIterator(this.s15_1);
|
|
4730
4869
|
};
|
|
4731
4870
|
function BlockImpl$unfold$$inlined$Iterable$1(this$0) {
|
|
4732
|
-
this.
|
|
4871
|
+
this.t15_1 = this$0;
|
|
4733
4872
|
}
|
|
4734
4873
|
protoOf(BlockImpl$unfold$$inlined$Iterable$1).n = function () {
|
|
4735
|
-
return new BlockUnfolder(this.
|
|
4874
|
+
return new BlockUnfolder(this.t15_1);
|
|
4736
4875
|
};
|
|
4737
4876
|
function BlockImpl$freshCopy$lambda($scope) {
|
|
4738
4877
|
return function (it) {
|
|
@@ -4742,20 +4881,20 @@
|
|
|
4742
4881
|
function BlockImpl(item, tags) {
|
|
4743
4882
|
tags = tags === VOID ? emptyMap() : tags;
|
|
4744
4883
|
RecursiveImpl.call(this, '{}', listOfNotNull(item), tags);
|
|
4745
|
-
this.
|
|
4746
|
-
this.
|
|
4747
|
-
this.
|
|
4884
|
+
this.z15_1 = item;
|
|
4885
|
+
this.a16_1 = this.w13();
|
|
4886
|
+
this.b16_1 = get_functor.call(this);
|
|
4748
4887
|
}
|
|
4749
4888
|
protoOf(BlockImpl).bv = function () {
|
|
4750
|
-
return this.
|
|
4889
|
+
return this.a16_1;
|
|
4751
4890
|
};
|
|
4752
|
-
protoOf(BlockImpl).
|
|
4753
|
-
var tmp0_safe_receiver = this.
|
|
4891
|
+
protoOf(BlockImpl).w13 = function () {
|
|
4892
|
+
var tmp0_safe_receiver = this.z15_1;
|
|
4754
4893
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bv();
|
|
4755
4894
|
return tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
4756
4895
|
};
|
|
4757
4896
|
protoOf(BlockImpl).xt = function () {
|
|
4758
|
-
return this.
|
|
4897
|
+
return this.b16_1;
|
|
4759
4898
|
};
|
|
4760
4899
|
protoOf(BlockImpl).hv = function () {
|
|
4761
4900
|
// Inline function 'kotlin.collections.Iterable' call
|
|
@@ -4765,19 +4904,19 @@
|
|
|
4765
4904
|
protoOf(BlockImpl).s = function () {
|
|
4766
4905
|
return this.gv().s();
|
|
4767
4906
|
};
|
|
4768
|
-
protoOf(BlockImpl).
|
|
4907
|
+
protoOf(BlockImpl).m13 = function () {
|
|
4769
4908
|
// Inline function 'kotlin.collections.Iterable' call
|
|
4770
4909
|
var tmp$ret$0 = new BlockImpl$unfold$$inlined$Iterable$1(this);
|
|
4771
4910
|
return asSequence_0(tmp$ret$0);
|
|
4772
4911
|
};
|
|
4773
4912
|
protoOf(BlockImpl).unfold = function () {
|
|
4774
|
-
return this.
|
|
4913
|
+
return this.m13();
|
|
4775
4914
|
};
|
|
4776
4915
|
protoOf(BlockImpl).toString = function () {
|
|
4777
|
-
return
|
|
4916
|
+
return joinToString_0(this.hv(), ', ', '{', '}');
|
|
4778
4917
|
};
|
|
4779
|
-
protoOf(BlockImpl).
|
|
4780
|
-
return new BlockImpl(this.
|
|
4918
|
+
protoOf(BlockImpl).t13 = function (tags) {
|
|
4919
|
+
return new BlockImpl(this.z15_1, tags);
|
|
4781
4920
|
};
|
|
4782
4921
|
protoOf(BlockImpl).au = function () {
|
|
4783
4922
|
return protoOf(RecursiveImpl).au.call(this).castToBlock();
|
|
@@ -4798,11 +4937,11 @@
|
|
|
4798
4937
|
protoOf(BlockImpl).freshCopyFromScope = function (scope) {
|
|
4799
4938
|
return this.bu(scope);
|
|
4800
4939
|
};
|
|
4801
|
-
protoOf(BlockImpl).
|
|
4940
|
+
protoOf(BlockImpl).v13 = function (visitor) {
|
|
4802
4941
|
return visitor.visitBlock(this);
|
|
4803
4942
|
};
|
|
4804
4943
|
protoOf(BlockImpl).accept = function (visitor) {
|
|
4805
|
-
return this.
|
|
4944
|
+
return this.v13(visitor);
|
|
4806
4945
|
};
|
|
4807
4946
|
protoOf(BlockImpl).ep = function () {
|
|
4808
4947
|
return this.ru();
|
|
@@ -4826,61 +4965,61 @@
|
|
|
4826
4965
|
return this.fv();
|
|
4827
4966
|
};
|
|
4828
4967
|
function BlockUnfolder$tupleUnfolderVisitor$1(this$0) {
|
|
4829
|
-
this.
|
|
4968
|
+
this.c16_1 = this$0;
|
|
4830
4969
|
}
|
|
4831
4970
|
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).mv = function (term) {
|
|
4832
|
-
this.
|
|
4971
|
+
this.c16_1.d16_1 = term.qv();
|
|
4833
4972
|
return term;
|
|
4834
4973
|
};
|
|
4835
4974
|
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).visitTuple = function (term) {
|
|
4836
4975
|
return this.mv(term);
|
|
4837
4976
|
};
|
|
4838
4977
|
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).sv = function (term) {
|
|
4839
|
-
this.
|
|
4978
|
+
this.c16_1.d16_1 = null;
|
|
4840
4979
|
return term;
|
|
4841
4980
|
};
|
|
4842
4981
|
protoOf(BlockUnfolder$tupleUnfolderVisitor$1).defaultValue = function (term) {
|
|
4843
4982
|
return this.sv(term);
|
|
4844
4983
|
};
|
|
4845
4984
|
function BlockUnfolder$blockUnfolderVisitor$1(this$0) {
|
|
4846
|
-
this.
|
|
4985
|
+
this.h16_1 = this$0;
|
|
4847
4986
|
}
|
|
4848
4987
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).wv = function (term) {
|
|
4849
|
-
this.
|
|
4988
|
+
this.h16_1.d16_1 = null;
|
|
4850
4989
|
return term;
|
|
4851
4990
|
};
|
|
4852
4991
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).visitEmptyBlock = function (term) {
|
|
4853
4992
|
return this.wv(term);
|
|
4854
4993
|
};
|
|
4855
4994
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).vv = function (term) {
|
|
4856
|
-
this.
|
|
4857
|
-
this.
|
|
4995
|
+
this.h16_1.d16_1 = term.get(0);
|
|
4996
|
+
this.h16_1.e16_1 = true;
|
|
4858
4997
|
return term;
|
|
4859
4998
|
};
|
|
4860
4999
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).visitBlock = function (term) {
|
|
4861
5000
|
return this.vv(term);
|
|
4862
5001
|
};
|
|
4863
5002
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).sv = function (term) {
|
|
4864
|
-
this.
|
|
5003
|
+
this.h16_1.d16_1 = null;
|
|
4865
5004
|
return term;
|
|
4866
5005
|
};
|
|
4867
5006
|
protoOf(BlockUnfolder$blockUnfolderVisitor$1).defaultValue = function (term) {
|
|
4868
5007
|
return this.sv(term);
|
|
4869
5008
|
};
|
|
4870
5009
|
function BlockUnfolder(block) {
|
|
4871
|
-
this.
|
|
4872
|
-
this.
|
|
5010
|
+
this.d16_1 = block;
|
|
5011
|
+
this.e16_1 = false;
|
|
4873
5012
|
var tmp = this;
|
|
4874
|
-
tmp.
|
|
5013
|
+
tmp.f16_1 = new BlockUnfolder$tupleUnfolderVisitor$1(this);
|
|
4875
5014
|
var tmp_0 = this;
|
|
4876
|
-
tmp_0.
|
|
5015
|
+
tmp_0.g16_1 = new BlockUnfolder$blockUnfolderVisitor$1(this);
|
|
4877
5016
|
}
|
|
4878
5017
|
protoOf(BlockUnfolder).q = function () {
|
|
4879
|
-
return !(this.
|
|
5018
|
+
return !(this.d16_1 == null);
|
|
4880
5019
|
};
|
|
4881
5020
|
protoOf(BlockUnfolder).r = function () {
|
|
4882
|
-
var tmp0_safe_receiver = this.
|
|
4883
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.
|
|
5021
|
+
var tmp0_safe_receiver = this.d16_1;
|
|
5022
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.e16_1 ? this.f16_1 : this.g16_1);
|
|
4884
5023
|
var tmp;
|
|
4885
5024
|
if (tmp1_elvis_lhs == null) {
|
|
4886
5025
|
throw NoSuchElementException_init_$Create$();
|
|
@@ -4912,27 +5051,27 @@
|
|
|
4912
5051
|
}
|
|
4913
5052
|
function ClauseImpl(head, body, tags) {
|
|
4914
5053
|
AbstractStruct.call(this, ':-', head === null ? listOf_0(body) : listOf([head, body]), tags);
|
|
4915
|
-
this.
|
|
4916
|
-
this.
|
|
5054
|
+
this.m16_1 = head;
|
|
5055
|
+
this.n16_1 = body;
|
|
4917
5056
|
var tmp = this;
|
|
4918
|
-
tmp.
|
|
4919
|
-
this.
|
|
5057
|
+
tmp.o16_1 = lazy(ClauseImpl$isWellFormed$delegate$lambda(this));
|
|
5058
|
+
this.p16_1 = get_functor_0.call(this);
|
|
4920
5059
|
}
|
|
4921
5060
|
protoOf(ClauseImpl).dw = function () {
|
|
4922
|
-
return this.
|
|
5061
|
+
return this.m16_1;
|
|
4923
5062
|
};
|
|
4924
5063
|
protoOf(ClauseImpl).ew = function () {
|
|
4925
|
-
return this.
|
|
5064
|
+
return this.n16_1;
|
|
4926
5065
|
};
|
|
4927
5066
|
protoOf(ClauseImpl).nw = function () {
|
|
4928
|
-
var tmp0 = this.
|
|
5067
|
+
var tmp0 = this.o16_1;
|
|
4929
5068
|
var tmp = KProperty1;
|
|
4930
5069
|
// Inline function 'kotlin.getValue' call
|
|
4931
5070
|
getPropertyCallableRef('isWellFormed', 1, tmp, ClauseImpl$_get_isWellFormed_$ref_4n3sk(), null);
|
|
4932
5071
|
return tmp0.e2();
|
|
4933
5072
|
};
|
|
4934
5073
|
protoOf(ClauseImpl).xt = function () {
|
|
4935
|
-
return this.
|
|
5074
|
+
return this.p16_1;
|
|
4936
5075
|
};
|
|
4937
5076
|
protoOf(ClauseImpl).toString = function () {
|
|
4938
5077
|
return this.dw() == null ? this.xt() + ' ' + this.ew().toString() : toString_0(this.dw()) + ' ' + this.xt() + ' ' + this.ew().toString();
|
|
@@ -4960,18 +5099,18 @@
|
|
|
4960
5099
|
protoOf(ClauseImpl).rw = function () {
|
|
4961
5100
|
return this.ew().asTuple();
|
|
4962
5101
|
};
|
|
4963
|
-
protoOf(ClauseImpl).
|
|
5102
|
+
protoOf(ClauseImpl).q16 = function (index) {
|
|
4964
5103
|
ensureIndexIsInBodyRange(this, index);
|
|
4965
5104
|
return first_0(drop(_get_bodyItemsSequence__ip18gi(this), index));
|
|
4966
5105
|
};
|
|
4967
5106
|
protoOf(ClauseImpl).getBodyItem = function (index) {
|
|
4968
|
-
return this.
|
|
5107
|
+
return this.q16(index);
|
|
4969
5108
|
};
|
|
4970
|
-
protoOf(ClauseImpl).
|
|
5109
|
+
protoOf(ClauseImpl).r16 = function (head) {
|
|
4971
5110
|
return Companion_instance_15.of(head, [this.ew()]);
|
|
4972
5111
|
};
|
|
4973
5112
|
protoOf(ClauseImpl).setHead = function (head) {
|
|
4974
|
-
return this.
|
|
5113
|
+
return this.r16(head);
|
|
4975
5114
|
};
|
|
4976
5115
|
protoOf(ClauseImpl).ux = function (body) {
|
|
4977
5116
|
return Companion_getInstance_3().fw(this.dw(), [body]);
|
|
@@ -5084,11 +5223,11 @@
|
|
|
5084
5223
|
protoOf(ClauseImpl).appendBodyItem = function (argument) {
|
|
5085
5224
|
return this.by(argument);
|
|
5086
5225
|
};
|
|
5087
|
-
protoOf(ClauseImpl).
|
|
5226
|
+
protoOf(ClauseImpl).v13 = function (visitor) {
|
|
5088
5227
|
return visitor.visitClause(this);
|
|
5089
5228
|
};
|
|
5090
5229
|
protoOf(ClauseImpl).accept = function (visitor) {
|
|
5091
|
-
return this.
|
|
5230
|
+
return this.v13(visitor);
|
|
5092
5231
|
};
|
|
5093
5232
|
protoOf(ClauseImpl).ep = function () {
|
|
5094
5233
|
return this.ru();
|
|
@@ -5110,61 +5249,61 @@
|
|
|
5110
5249
|
function ConsImpl(head, tail, tags) {
|
|
5111
5250
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5112
5251
|
AbstractCons.call(this, listOf([head, tail]), tags);
|
|
5113
|
-
this.
|
|
5114
|
-
this.
|
|
5115
|
-
this.
|
|
5116
|
-
this.
|
|
5117
|
-
this.
|
|
5118
|
-
this.
|
|
5252
|
+
this.z16_1 = head;
|
|
5253
|
+
this.a17_1 = tail;
|
|
5254
|
+
this.b17_1 = this.w13();
|
|
5255
|
+
this.c17_1 = this.a17_1.ju() ? this.a17_1.castToList().vw() : this.a17_1;
|
|
5256
|
+
this.d17_1 = this.a17_1.ju() ? 1 + this.a17_1.castToList().s() | 0 : 2;
|
|
5257
|
+
this.e17_1 = this.a17_1.ju() ? this.a17_1.castToList().nw() : false;
|
|
5119
5258
|
}
|
|
5120
5259
|
protoOf(ConsImpl).dw = function () {
|
|
5121
|
-
return this.
|
|
5260
|
+
return this.z16_1;
|
|
5122
5261
|
};
|
|
5123
5262
|
protoOf(ConsImpl).tw = function () {
|
|
5124
|
-
return this.
|
|
5263
|
+
return this.a17_1;
|
|
5125
5264
|
};
|
|
5126
5265
|
protoOf(ConsImpl).bv = function () {
|
|
5127
|
-
return this.
|
|
5266
|
+
return this.b17_1;
|
|
5128
5267
|
};
|
|
5129
5268
|
protoOf(ConsImpl).vw = function () {
|
|
5130
|
-
return this.
|
|
5269
|
+
return this.c17_1;
|
|
5131
5270
|
};
|
|
5132
5271
|
protoOf(ConsImpl).s = function () {
|
|
5133
|
-
return this.
|
|
5272
|
+
return this.d17_1;
|
|
5134
5273
|
};
|
|
5135
5274
|
protoOf(ConsImpl).nw = function () {
|
|
5136
|
-
return this.
|
|
5275
|
+
return this.e17_1;
|
|
5137
5276
|
};
|
|
5138
|
-
protoOf(ConsImpl).
|
|
5139
|
-
return this.
|
|
5277
|
+
protoOf(ConsImpl).w13 = function () {
|
|
5278
|
+
return this.z16_1.bv() && this.a17_1.bv();
|
|
5140
5279
|
};
|
|
5141
5280
|
protoOf(ConsImpl).ww = function () {
|
|
5142
|
-
return this.
|
|
5281
|
+
return this.d17_1;
|
|
5143
5282
|
};
|
|
5144
|
-
protoOf(ConsImpl).
|
|
5283
|
+
protoOf(ConsImpl).s13 = function (unifier) {
|
|
5145
5284
|
var tmp;
|
|
5146
5285
|
if (this.ww() >= 100) {
|
|
5147
5286
|
var tmp_0 = cursor_0(this.hv());
|
|
5148
5287
|
tmp = new LazyConsWithImplicitLast(tmp_0.map(ConsImpl$applyNonEmptyUnifier$lambda(unifier)), this.lr());
|
|
5149
5288
|
} else {
|
|
5150
|
-
tmp = new ConsImpl(this.
|
|
5289
|
+
tmp = new ConsImpl(this.z16_1.applySubstitution(unifier), this.a17_1.applySubstitution(unifier), this.lr());
|
|
5151
5290
|
}
|
|
5152
5291
|
return tmp;
|
|
5153
5292
|
};
|
|
5154
|
-
protoOf(ConsImpl).
|
|
5293
|
+
protoOf(ConsImpl).t13 = function (tags) {
|
|
5155
5294
|
var tmp;
|
|
5156
5295
|
if (this.lr() === tags) {
|
|
5157
5296
|
tmp = this;
|
|
5158
5297
|
} else {
|
|
5159
|
-
tmp = new ConsImpl(this.
|
|
5298
|
+
tmp = new ConsImpl(this.z16_1, this.a17_1, tags);
|
|
5160
5299
|
}
|
|
5161
5300
|
return tmp;
|
|
5162
5301
|
};
|
|
5163
5302
|
protoOf(ConsImpl).bu = function (scope) {
|
|
5164
5303
|
var tmp;
|
|
5165
|
-
if (this.
|
|
5304
|
+
if (this.b17_1) {
|
|
5166
5305
|
tmp = this;
|
|
5167
|
-
} else if (this.
|
|
5306
|
+
} else if (this.e17_1) {
|
|
5168
5307
|
// Inline function 'kotlin.collections.map' call
|
|
5169
5308
|
var this_0 = this.fv();
|
|
5170
5309
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -5215,17 +5354,17 @@
|
|
|
5215
5354
|
function DirectiveImpl(body, tags) {
|
|
5216
5355
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5217
5356
|
ClauseImpl.call(this, null, body, tags);
|
|
5218
|
-
this.
|
|
5219
|
-
this.
|
|
5357
|
+
this.n17_1 = body;
|
|
5358
|
+
this.o17_1 = get_head.call(this);
|
|
5220
5359
|
}
|
|
5221
5360
|
protoOf(DirectiveImpl).ew = function () {
|
|
5222
|
-
return this.
|
|
5361
|
+
return this.n17_1;
|
|
5223
5362
|
};
|
|
5224
5363
|
protoOf(DirectiveImpl).dw = function () {
|
|
5225
|
-
return this.
|
|
5364
|
+
return this.o17_1;
|
|
5226
5365
|
};
|
|
5227
|
-
protoOf(DirectiveImpl).
|
|
5228
|
-
return new DirectiveImpl(this.
|
|
5366
|
+
protoOf(DirectiveImpl).t13 = function (tags) {
|
|
5367
|
+
return new DirectiveImpl(this.n17_1, tags);
|
|
5229
5368
|
};
|
|
5230
5369
|
protoOf(DirectiveImpl).au = function () {
|
|
5231
5370
|
return protoOf(ClauseImpl).au.call(this).castToDirective();
|
|
@@ -5239,11 +5378,11 @@
|
|
|
5239
5378
|
protoOf(DirectiveImpl).freshCopyFromScope = function (scope) {
|
|
5240
5379
|
return this.bu(scope);
|
|
5241
5380
|
};
|
|
5242
|
-
protoOf(DirectiveImpl).
|
|
5381
|
+
protoOf(DirectiveImpl).v13 = function (visitor) {
|
|
5243
5382
|
return visitor.visitDirective(this);
|
|
5244
5383
|
};
|
|
5245
5384
|
protoOf(DirectiveImpl).accept = function (visitor) {
|
|
5246
|
-
return this.
|
|
5385
|
+
return this.v13(visitor);
|
|
5247
5386
|
};
|
|
5248
5387
|
protoOf(DirectiveImpl).ep = function () {
|
|
5249
5388
|
return this.ru();
|
|
@@ -5263,14 +5402,14 @@
|
|
|
5263
5402
|
function EmptyBlockImpl(tags) {
|
|
5264
5403
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5265
5404
|
BlockImpl.call(this, null, tags);
|
|
5266
|
-
this.
|
|
5267
|
-
this.
|
|
5405
|
+
this.x17_1 = get_functor.call(this);
|
|
5406
|
+
this.y17_1 = emptySequence();
|
|
5268
5407
|
}
|
|
5269
5408
|
protoOf(EmptyBlockImpl).yt = function () {
|
|
5270
5409
|
return emptyList();
|
|
5271
5410
|
};
|
|
5272
5411
|
protoOf(EmptyBlockImpl).xt = function () {
|
|
5273
|
-
return this.
|
|
5412
|
+
return this.x17_1;
|
|
5274
5413
|
};
|
|
5275
5414
|
protoOf(EmptyBlockImpl).bv = function () {
|
|
5276
5415
|
return true;
|
|
@@ -5279,9 +5418,9 @@
|
|
|
5279
5418
|
return 0;
|
|
5280
5419
|
};
|
|
5281
5420
|
protoOf(EmptyBlockImpl).zt = function () {
|
|
5282
|
-
return this.
|
|
5421
|
+
return this.y17_1;
|
|
5283
5422
|
};
|
|
5284
|
-
protoOf(EmptyBlockImpl).
|
|
5423
|
+
protoOf(EmptyBlockImpl).t13 = function (tags) {
|
|
5285
5424
|
return new EmptyBlockImpl(tags);
|
|
5286
5425
|
};
|
|
5287
5426
|
protoOf(EmptyBlockImpl).au = function () {
|
|
@@ -5296,11 +5435,11 @@
|
|
|
5296
5435
|
protoOf(EmptyBlockImpl).freshCopyFromScope = function (scope) {
|
|
5297
5436
|
return this.bu(scope);
|
|
5298
5437
|
};
|
|
5299
|
-
protoOf(EmptyBlockImpl).
|
|
5438
|
+
protoOf(EmptyBlockImpl).v13 = function (visitor) {
|
|
5300
5439
|
return visitor.visitEmptyBlock(this);
|
|
5301
5440
|
};
|
|
5302
5441
|
protoOf(EmptyBlockImpl).accept = function (visitor) {
|
|
5303
|
-
return this.
|
|
5442
|
+
return this.v13(visitor);
|
|
5304
5443
|
};
|
|
5305
5444
|
protoOf(EmptyBlockImpl).ep = function () {
|
|
5306
5445
|
return this.ru();
|
|
@@ -5335,32 +5474,32 @@
|
|
|
5335
5474
|
function EmptyListImpl(tags) {
|
|
5336
5475
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5337
5476
|
AtomImpl.call(this, '[]', tags);
|
|
5338
|
-
this.
|
|
5339
|
-
this.
|
|
5477
|
+
this.e18_1 = listOf_0(this);
|
|
5478
|
+
this.f18_1 = sequenceOf_0(this);
|
|
5340
5479
|
var tmp = this;
|
|
5341
5480
|
// Inline function 'kotlin.arrayOf' call
|
|
5342
5481
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5343
5482
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5344
|
-
tmp.
|
|
5345
|
-
this.
|
|
5483
|
+
tmp.g18_1 = [this];
|
|
5484
|
+
this.h18_1 = emptyList();
|
|
5346
5485
|
}
|
|
5347
5486
|
protoOf(EmptyListImpl).gv = function () {
|
|
5348
|
-
return this.
|
|
5487
|
+
return this.e18_1;
|
|
5349
5488
|
};
|
|
5350
5489
|
protoOf(EmptyListImpl).hv = function () {
|
|
5351
|
-
return this.
|
|
5490
|
+
return this.f18_1;
|
|
5352
5491
|
};
|
|
5353
5492
|
protoOf(EmptyListImpl).ev = function () {
|
|
5354
|
-
return this.
|
|
5493
|
+
return this.g18_1;
|
|
5355
5494
|
};
|
|
5356
5495
|
protoOf(EmptyListImpl).kv = function () {
|
|
5357
|
-
return this.
|
|
5496
|
+
return this.h18_1;
|
|
5358
5497
|
};
|
|
5359
|
-
protoOf(EmptyListImpl).
|
|
5498
|
+
protoOf(EmptyListImpl).m13 = function () {
|
|
5360
5499
|
return sequenceOf_0(this);
|
|
5361
5500
|
};
|
|
5362
5501
|
protoOf(EmptyListImpl).unfold = function () {
|
|
5363
|
-
return this.
|
|
5502
|
+
return this.m13();
|
|
5364
5503
|
};
|
|
5365
5504
|
protoOf(EmptyListImpl).toString = function () {
|
|
5366
5505
|
return this.e2();
|
|
@@ -5377,7 +5516,7 @@
|
|
|
5377
5516
|
protoOf(EmptyListImpl).nw = function () {
|
|
5378
5517
|
return true;
|
|
5379
5518
|
};
|
|
5380
|
-
protoOf(EmptyListImpl).
|
|
5519
|
+
protoOf(EmptyListImpl).t13 = function (tags) {
|
|
5381
5520
|
return new EmptyListImpl(tags);
|
|
5382
5521
|
};
|
|
5383
5522
|
protoOf(EmptyListImpl).au = function () {
|
|
@@ -5392,11 +5531,11 @@
|
|
|
5392
5531
|
protoOf(EmptyListImpl).freshCopyFromScope = function (scope) {
|
|
5393
5532
|
return this.bu(scope);
|
|
5394
5533
|
};
|
|
5395
|
-
protoOf(EmptyListImpl).
|
|
5534
|
+
protoOf(EmptyListImpl).v13 = function (visitor) {
|
|
5396
5535
|
return visitor.visitEmptyList(this);
|
|
5397
5536
|
};
|
|
5398
5537
|
protoOf(EmptyListImpl).accept = function (visitor) {
|
|
5399
|
-
return this.
|
|
5538
|
+
return this.v13(visitor);
|
|
5400
5539
|
};
|
|
5401
5540
|
protoOf(EmptyListImpl).ep = function () {
|
|
5402
5541
|
return this.ru();
|
|
@@ -5431,21 +5570,21 @@
|
|
|
5431
5570
|
function FactImpl(head, tags) {
|
|
5432
5571
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5433
5572
|
RuleImpl.call(this, head, Companion_getInstance_23().ot_1, tags);
|
|
5434
|
-
this.
|
|
5435
|
-
this.
|
|
5436
|
-
this.
|
|
5573
|
+
this.s18_1 = head;
|
|
5574
|
+
this.t18_1 = true;
|
|
5575
|
+
this.u18_1 = protoOf(RuleImpl).ew.call(this);
|
|
5437
5576
|
}
|
|
5438
5577
|
protoOf(FactImpl).dw = function () {
|
|
5439
|
-
return this.
|
|
5578
|
+
return this.s18_1;
|
|
5440
5579
|
};
|
|
5441
5580
|
protoOf(FactImpl).nw = function () {
|
|
5442
|
-
return this.
|
|
5581
|
+
return this.t18_1;
|
|
5443
5582
|
};
|
|
5444
5583
|
protoOf(FactImpl).ew = function () {
|
|
5445
|
-
return this.
|
|
5584
|
+
return this.u18_1;
|
|
5446
5585
|
};
|
|
5447
|
-
protoOf(FactImpl).
|
|
5448
|
-
return new FactImpl(this.
|
|
5586
|
+
protoOf(FactImpl).t13 = function (tags) {
|
|
5587
|
+
return new FactImpl(this.s18_1, tags);
|
|
5449
5588
|
};
|
|
5450
5589
|
protoOf(FactImpl).au = function () {
|
|
5451
5590
|
return protoOf(RuleImpl).au.call(this).castToFact();
|
|
@@ -5507,11 +5646,11 @@
|
|
|
5507
5646
|
protoOf(FactImpl).appendHeadArg = function (argument) {
|
|
5508
5647
|
return this.qx(argument);
|
|
5509
5648
|
};
|
|
5510
|
-
protoOf(FactImpl).
|
|
5649
|
+
protoOf(FactImpl).v13 = function (visitor) {
|
|
5511
5650
|
return visitor.visitFact(this);
|
|
5512
5651
|
};
|
|
5513
5652
|
protoOf(FactImpl).accept = function (visitor) {
|
|
5514
|
-
return this.
|
|
5653
|
+
return this.v13(visitor);
|
|
5515
5654
|
};
|
|
5516
5655
|
protoOf(FactImpl).ep = function () {
|
|
5517
5656
|
return this.ru();
|
|
@@ -5534,14 +5673,14 @@
|
|
|
5534
5673
|
function IndicatorImpl(nameTerm, arityTerm, tags) {
|
|
5535
5674
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5536
5675
|
AbstractStruct.call(this, '/', listOf([nameTerm, arityTerm]), tags);
|
|
5537
|
-
this.
|
|
5538
|
-
this.
|
|
5676
|
+
this.k19_1 = nameTerm;
|
|
5677
|
+
this.l19_1 = arityTerm;
|
|
5539
5678
|
}
|
|
5540
5679
|
protoOf(IndicatorImpl).dy = function () {
|
|
5541
|
-
return this.
|
|
5680
|
+
return this.k19_1;
|
|
5542
5681
|
};
|
|
5543
5682
|
protoOf(IndicatorImpl).ey = function () {
|
|
5544
|
-
return this.
|
|
5683
|
+
return this.l19_1;
|
|
5545
5684
|
};
|
|
5546
5685
|
protoOf(IndicatorImpl).xt = function () {
|
|
5547
5686
|
return '/';
|
|
@@ -5553,10 +5692,10 @@
|
|
|
5553
5692
|
return get_indicatedArity.call(this);
|
|
5554
5693
|
};
|
|
5555
5694
|
protoOf(IndicatorImpl).toString = function () {
|
|
5556
|
-
return this.
|
|
5695
|
+
return this.k19_1.toString() + '/' + this.l19_1.toString();
|
|
5557
5696
|
};
|
|
5558
|
-
protoOf(IndicatorImpl).
|
|
5559
|
-
return new IndicatorImpl(this.
|
|
5697
|
+
protoOf(IndicatorImpl).t13 = function (tags) {
|
|
5698
|
+
return new IndicatorImpl(this.k19_1, this.l19_1, tags);
|
|
5560
5699
|
};
|
|
5561
5700
|
protoOf(IndicatorImpl).au = function () {
|
|
5562
5701
|
return protoOf(AbstractStruct).au.call(this).castToIndicator();
|
|
@@ -5570,11 +5709,11 @@
|
|
|
5570
5709
|
protoOf(IndicatorImpl).freshCopyFromScope = function (scope) {
|
|
5571
5710
|
return this.bu(scope);
|
|
5572
5711
|
};
|
|
5573
|
-
protoOf(IndicatorImpl).
|
|
5712
|
+
protoOf(IndicatorImpl).v13 = function (visitor) {
|
|
5574
5713
|
return visitor.visitIndicator(this);
|
|
5575
5714
|
};
|
|
5576
5715
|
protoOf(IndicatorImpl).accept = function (visitor) {
|
|
5577
|
-
return this.
|
|
5716
|
+
return this.v13(visitor);
|
|
5578
5717
|
};
|
|
5579
5718
|
protoOf(IndicatorImpl).ep = function () {
|
|
5580
5719
|
return this.ru();
|
|
@@ -5590,7 +5729,7 @@
|
|
|
5590
5729
|
};
|
|
5591
5730
|
function IntegerImpl$decimalValue$delegate$lambda(this$0) {
|
|
5592
5731
|
return function () {
|
|
5593
|
-
return Companion_getInstance_0().ofBigInteger(this$0.
|
|
5732
|
+
return Companion_getInstance_0().ofBigInteger(this$0.p19_1);
|
|
5594
5733
|
};
|
|
5595
5734
|
}
|
|
5596
5735
|
function IntegerImpl$_get_decimalValue_$ref_cmliow() {
|
|
@@ -5600,39 +5739,39 @@
|
|
|
5600
5739
|
}
|
|
5601
5740
|
function IntegerImpl$hashCodeCache$delegate$lambda(this$0) {
|
|
5602
5741
|
return function () {
|
|
5603
|
-
return this$0.
|
|
5742
|
+
return this$0.n19_1.hashCode();
|
|
5604
5743
|
};
|
|
5605
5744
|
}
|
|
5606
5745
|
function IntegerImpl$_get_hashCodeCache_$ref_760h0z() {
|
|
5607
5746
|
return constructCallableReference(function (p0) {
|
|
5608
|
-
return p0.
|
|
5747
|
+
return p0.g14();
|
|
5609
5748
|
}, 1, 0, 9);
|
|
5610
5749
|
}
|
|
5611
5750
|
function IntegerImpl(value, tags) {
|
|
5612
5751
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5613
5752
|
NumericImpl.call(this, tags);
|
|
5614
|
-
this.
|
|
5753
|
+
this.n19_1 = value;
|
|
5615
5754
|
var tmp = this;
|
|
5616
|
-
tmp.
|
|
5617
|
-
this.
|
|
5755
|
+
tmp.o19_1 = lazy(IntegerImpl$decimalValue$delegate$lambda(this));
|
|
5756
|
+
this.p19_1 = this.n19_1;
|
|
5618
5757
|
var tmp_0 = this;
|
|
5619
|
-
tmp_0.
|
|
5758
|
+
tmp_0.q19_1 = lazy(IntegerImpl$hashCodeCache$delegate$lambda(this));
|
|
5620
5759
|
}
|
|
5621
5760
|
protoOf(IntegerImpl).e2 = function () {
|
|
5622
|
-
return this.
|
|
5761
|
+
return this.n19_1;
|
|
5623
5762
|
};
|
|
5624
5763
|
protoOf(IntegerImpl).ny = function () {
|
|
5625
|
-
var tmp0 = this.
|
|
5764
|
+
var tmp0 = this.o19_1;
|
|
5626
5765
|
var tmp = KProperty1;
|
|
5627
5766
|
// Inline function 'kotlin.getValue' call
|
|
5628
5767
|
getPropertyCallableRef('decimalValue', 1, tmp, IntegerImpl$_get_decimalValue_$ref_cmliow(), null);
|
|
5629
5768
|
return tmp0.e2();
|
|
5630
5769
|
};
|
|
5631
5770
|
protoOf(IntegerImpl).fy = function () {
|
|
5632
|
-
return this.
|
|
5771
|
+
return this.p19_1;
|
|
5633
5772
|
};
|
|
5634
5773
|
protoOf(IntegerImpl).toString = function () {
|
|
5635
|
-
return this.
|
|
5774
|
+
return this.n19_1.toString();
|
|
5636
5775
|
};
|
|
5637
5776
|
protoOf(IntegerImpl).equals = function (other) {
|
|
5638
5777
|
if (this === other)
|
|
@@ -5663,37 +5802,37 @@
|
|
|
5663
5802
|
if (integer === null)
|
|
5664
5803
|
return false;
|
|
5665
5804
|
// Inline function 'it.unibo.tuprolog.core.impl.IntegerImpl.equalsToInteger' call
|
|
5666
|
-
return this.
|
|
5805
|
+
return this.n19_1.bj(integer.e2()) === 0;
|
|
5667
5806
|
};
|
|
5668
|
-
protoOf(IntegerImpl).
|
|
5807
|
+
protoOf(IntegerImpl).f14 = function (other, useVarCompleteName) {
|
|
5669
5808
|
var tmp;
|
|
5670
5809
|
if (other.yu()) {
|
|
5671
5810
|
// Inline function 'it.unibo.tuprolog.core.impl.IntegerImpl.equalsToInteger' call
|
|
5672
5811
|
var other_0 = other.castToInteger();
|
|
5673
|
-
tmp = this.
|
|
5812
|
+
tmp = this.n19_1.bj(other_0.e2()) === 0;
|
|
5674
5813
|
} else {
|
|
5675
5814
|
tmp = false;
|
|
5676
5815
|
}
|
|
5677
5816
|
return tmp;
|
|
5678
5817
|
};
|
|
5679
5818
|
protoOf(IntegerImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
5680
|
-
return this.
|
|
5819
|
+
return this.f14(other, useVarCompleteName);
|
|
5681
5820
|
};
|
|
5682
|
-
protoOf(IntegerImpl).
|
|
5683
|
-
var tmp0 = this.
|
|
5821
|
+
protoOf(IntegerImpl).g14 = function () {
|
|
5822
|
+
var tmp0 = this.q19_1;
|
|
5684
5823
|
var tmp = KProperty1;
|
|
5685
5824
|
// Inline function 'kotlin.getValue' call
|
|
5686
5825
|
getPropertyCallableRef('hashCodeCache', 1, tmp, IntegerImpl$_get_hashCodeCache_$ref_760h0z(), null);
|
|
5687
5826
|
return tmp0.e2();
|
|
5688
5827
|
};
|
|
5689
|
-
protoOf(IntegerImpl).
|
|
5690
|
-
return other.yu() ? this.
|
|
5828
|
+
protoOf(IntegerImpl).r19 = function (other) {
|
|
5829
|
+
return other.yu() ? this.n19_1.bj(other.castToInteger().e2()) : protoOf(NumericImpl).compareValueTo.call(this, other);
|
|
5691
5830
|
};
|
|
5692
5831
|
protoOf(IntegerImpl).compareValueTo = function (other) {
|
|
5693
|
-
return this.
|
|
5832
|
+
return this.r19(other);
|
|
5694
5833
|
};
|
|
5695
|
-
protoOf(IntegerImpl).
|
|
5696
|
-
return new IntegerImpl(this.
|
|
5834
|
+
protoOf(IntegerImpl).t13 = function (tags) {
|
|
5835
|
+
return new IntegerImpl(this.n19_1, tags);
|
|
5697
5836
|
};
|
|
5698
5837
|
protoOf(IntegerImpl).au = function () {
|
|
5699
5838
|
return this;
|
|
@@ -5707,11 +5846,11 @@
|
|
|
5707
5846
|
protoOf(IntegerImpl).freshCopyFromScope = function (scope) {
|
|
5708
5847
|
return this.bu(scope);
|
|
5709
5848
|
};
|
|
5710
|
-
protoOf(IntegerImpl).
|
|
5849
|
+
protoOf(IntegerImpl).v13 = function (visitor) {
|
|
5711
5850
|
return visitor.visitInteger(this);
|
|
5712
5851
|
};
|
|
5713
5852
|
protoOf(IntegerImpl).accept = function (visitor) {
|
|
5714
|
-
return this.
|
|
5853
|
+
return this.v13(visitor);
|
|
5715
5854
|
};
|
|
5716
5855
|
protoOf(IntegerImpl).ep = function () {
|
|
5717
5856
|
return this.ru();
|
|
@@ -5731,12 +5870,12 @@
|
|
|
5731
5870
|
function LazyConsWithExplicitLast$tail$delegate$lambda(this$0) {
|
|
5732
5871
|
return function () {
|
|
5733
5872
|
// Inline function 'kotlin.let' call
|
|
5734
|
-
var it = this$0.
|
|
5873
|
+
var it = this$0.a1a_1.hp();
|
|
5735
5874
|
var tmp;
|
|
5736
5875
|
if (it.kp()) {
|
|
5737
|
-
tmp = this$0.
|
|
5876
|
+
tmp = this$0.b1a_1;
|
|
5738
5877
|
} else {
|
|
5739
|
-
tmp = new LazyConsWithExplicitLast(it, this$0.
|
|
5878
|
+
tmp = new LazyConsWithExplicitLast(it, this$0.b1a_1);
|
|
5740
5879
|
}
|
|
5741
5880
|
return tmp;
|
|
5742
5881
|
};
|
|
@@ -5751,7 +5890,7 @@
|
|
|
5751
5890
|
var current = this$0;
|
|
5752
5891
|
while (current.ku()) {
|
|
5753
5892
|
if (current instanceof LazyConsWithExplicitLast) {
|
|
5754
|
-
current = current.
|
|
5893
|
+
current = current.b1a_1;
|
|
5755
5894
|
} else {
|
|
5756
5895
|
if (current.ju()) {
|
|
5757
5896
|
current = current.castToList().vw();
|
|
@@ -5790,44 +5929,44 @@
|
|
|
5790
5929
|
termination = termination === VOID ? Companion_getInstance_8().instance : termination;
|
|
5791
5930
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5792
5931
|
AbstractCons.call(this, emptyList(), tags);
|
|
5793
|
-
this.
|
|
5794
|
-
this.
|
|
5932
|
+
this.a1a_1 = cursor;
|
|
5933
|
+
this.b1a_1 = termination;
|
|
5795
5934
|
var tmp = this;
|
|
5796
|
-
tmp.
|
|
5935
|
+
tmp.c1a_1 = lazy(LazyConsWithExplicitLast$tail$delegate$lambda(this));
|
|
5797
5936
|
var tmp_0 = this;
|
|
5798
|
-
tmp_0.
|
|
5937
|
+
tmp_0.d1a_1 = lazy(LazyConsWithExplicitLast$last$delegate$lambda(this));
|
|
5799
5938
|
var tmp_1 = this;
|
|
5800
5939
|
var tmp_2 = LazyConsWithExplicitLast$args$lambda(this);
|
|
5801
|
-
tmp_1.
|
|
5940
|
+
tmp_1.e1a_1 = new LazyTwoItemsList(tmp_2, LazyConsWithExplicitLast$args$lambda_0(this));
|
|
5802
5941
|
}
|
|
5803
5942
|
protoOf(LazyConsWithExplicitLast).dw = function () {
|
|
5804
|
-
return ensureNotNull(this.
|
|
5943
|
+
return ensureNotNull(this.a1a_1.ip());
|
|
5805
5944
|
};
|
|
5806
5945
|
protoOf(LazyConsWithExplicitLast).tw = function () {
|
|
5807
|
-
var tmp0 = this.
|
|
5946
|
+
var tmp0 = this.c1a_1;
|
|
5808
5947
|
var tmp = KProperty1;
|
|
5809
5948
|
// Inline function 'kotlin.getValue' call
|
|
5810
5949
|
getPropertyCallableRef('tail', 1, tmp, LazyConsWithExplicitLast$_get_tail_$ref_vwm9sp(), null);
|
|
5811
5950
|
return tmp0.e2();
|
|
5812
5951
|
};
|
|
5813
5952
|
protoOf(LazyConsWithExplicitLast).vw = function () {
|
|
5814
|
-
var tmp0 = this.
|
|
5953
|
+
var tmp0 = this.d1a_1;
|
|
5815
5954
|
var tmp = KProperty1;
|
|
5816
5955
|
// Inline function 'kotlin.getValue' call
|
|
5817
5956
|
getPropertyCallableRef('last', 1, tmp, LazyConsWithExplicitLast$_get_last_$ref_4ku2ct(), null);
|
|
5818
5957
|
return tmp0.e2();
|
|
5819
5958
|
};
|
|
5820
5959
|
protoOf(LazyConsWithExplicitLast).yt = function () {
|
|
5821
|
-
return this.
|
|
5960
|
+
return this.e1a_1;
|
|
5822
5961
|
};
|
|
5823
|
-
protoOf(LazyConsWithExplicitLast).
|
|
5962
|
+
protoOf(LazyConsWithExplicitLast).s13 = function (unifier) {
|
|
5824
5963
|
var tmp = this.hv();
|
|
5825
5964
|
return new LazyConsWithImplicitLast(cursor_0(map(tmp, LazyConsWithExplicitLast$applyNonEmptyUnifier$lambda(unifier))), this.lr());
|
|
5826
5965
|
};
|
|
5827
|
-
protoOf(LazyConsWithExplicitLast).
|
|
5828
|
-
return this.lr() === tags ? this : new LazyConsWithExplicitLast(this.
|
|
5966
|
+
protoOf(LazyConsWithExplicitLast).t13 = function (tags) {
|
|
5967
|
+
return this.lr() === tags ? this : new LazyConsWithExplicitLast(this.a1a_1, this.b1a_1, tags);
|
|
5829
5968
|
};
|
|
5830
|
-
protoOf(LazyConsWithExplicitLast).
|
|
5969
|
+
protoOf(LazyConsWithExplicitLast).q14 = function (unifier) {
|
|
5831
5970
|
return unifier.h();
|
|
5832
5971
|
};
|
|
5833
5972
|
protoOf(LazyConsWithExplicitLast).bu = function (scope) {
|
|
@@ -5857,7 +5996,7 @@
|
|
|
5857
5996
|
};
|
|
5858
5997
|
function LazyConsWithImplicitLast$head$delegate$lambda(this$0) {
|
|
5859
5998
|
return function () {
|
|
5860
|
-
return ensureNotNull(this$0.
|
|
5999
|
+
return ensureNotNull(this$0.m1a_1.ip());
|
|
5861
6000
|
};
|
|
5862
6001
|
}
|
|
5863
6002
|
function LazyConsWithImplicitLast$_get_head_$ref_gh69tk() {
|
|
@@ -5868,7 +6007,7 @@
|
|
|
5868
6007
|
function LazyConsWithImplicitLast$tail$delegate$lambda(this$0) {
|
|
5869
6008
|
return function () {
|
|
5870
6009
|
// Inline function 'kotlin.let' call
|
|
5871
|
-
var it = this$0.
|
|
6010
|
+
var it = this$0.m1a_1.hp();
|
|
5872
6011
|
return it.kp() ? Companion_getInstance_8().instance : it.hp().kp() ? ensureNotNull(it.ip()) : new LazyConsWithImplicitLast(it);
|
|
5873
6012
|
};
|
|
5874
6013
|
}
|
|
@@ -5910,48 +6049,48 @@
|
|
|
5910
6049
|
function LazyConsWithImplicitLast(cursor, tags) {
|
|
5911
6050
|
tags = tags === VOID ? emptyMap() : tags;
|
|
5912
6051
|
AbstractCons.call(this, emptyList(), tags);
|
|
5913
|
-
this.
|
|
6052
|
+
this.m1a_1 = cursor;
|
|
5914
6053
|
var tmp = this;
|
|
5915
|
-
tmp.
|
|
6054
|
+
tmp.n1a_1 = lazy(LazyConsWithImplicitLast$head$delegate$lambda(this));
|
|
5916
6055
|
var tmp_0 = this;
|
|
5917
|
-
tmp_0.
|
|
6056
|
+
tmp_0.o1a_1 = lazy(LazyConsWithImplicitLast$tail$delegate$lambda(this));
|
|
5918
6057
|
var tmp_1 = this;
|
|
5919
|
-
tmp_1.
|
|
6058
|
+
tmp_1.p1a_1 = lazy(LazyConsWithImplicitLast$last$delegate$lambda(this));
|
|
5920
6059
|
var tmp_2 = this;
|
|
5921
6060
|
var tmp_3 = LazyConsWithImplicitLast$args$lambda(this);
|
|
5922
|
-
tmp_2.
|
|
6061
|
+
tmp_2.q1a_1 = new LazyTwoItemsList(tmp_3, LazyConsWithImplicitLast$args$lambda_0(this));
|
|
5923
6062
|
}
|
|
5924
6063
|
protoOf(LazyConsWithImplicitLast).dw = function () {
|
|
5925
|
-
var tmp0 = this.
|
|
6064
|
+
var tmp0 = this.n1a_1;
|
|
5926
6065
|
var tmp = KProperty1;
|
|
5927
6066
|
// Inline function 'kotlin.getValue' call
|
|
5928
6067
|
getPropertyCallableRef('head', 1, tmp, LazyConsWithImplicitLast$_get_head_$ref_gh69tk(), null);
|
|
5929
6068
|
return tmp0.e2();
|
|
5930
6069
|
};
|
|
5931
6070
|
protoOf(LazyConsWithImplicitLast).tw = function () {
|
|
5932
|
-
var tmp0 = this.
|
|
6071
|
+
var tmp0 = this.o1a_1;
|
|
5933
6072
|
var tmp = KProperty1;
|
|
5934
6073
|
// Inline function 'kotlin.getValue' call
|
|
5935
6074
|
getPropertyCallableRef('tail', 1, tmp, LazyConsWithImplicitLast$_get_tail_$ref_iufmx4(), null);
|
|
5936
6075
|
return tmp0.e2();
|
|
5937
6076
|
};
|
|
5938
6077
|
protoOf(LazyConsWithImplicitLast).vw = function () {
|
|
5939
|
-
var tmp0 = this.
|
|
6078
|
+
var tmp0 = this.p1a_1;
|
|
5940
6079
|
var tmp = KProperty1;
|
|
5941
6080
|
// Inline function 'kotlin.getValue' call
|
|
5942
6081
|
getPropertyCallableRef('last', 1, tmp, LazyConsWithImplicitLast$_get_last_$ref_hn0p8e(), null);
|
|
5943
6082
|
return tmp0.e2();
|
|
5944
6083
|
};
|
|
5945
6084
|
protoOf(LazyConsWithImplicitLast).yt = function () {
|
|
5946
|
-
return this.
|
|
6085
|
+
return this.q1a_1;
|
|
5947
6086
|
};
|
|
5948
|
-
protoOf(LazyConsWithImplicitLast).
|
|
5949
|
-
return new LazyConsWithImplicitLast(this.
|
|
6087
|
+
protoOf(LazyConsWithImplicitLast).s13 = function (unifier) {
|
|
6088
|
+
return new LazyConsWithImplicitLast(this.m1a_1.map(LazyConsWithImplicitLast$applyNonEmptyUnifier$lambda(unifier)), this.lr());
|
|
5950
6089
|
};
|
|
5951
|
-
protoOf(LazyConsWithImplicitLast).
|
|
5952
|
-
return this.lr() === tags ? this : new LazyConsWithImplicitLast(this.
|
|
6090
|
+
protoOf(LazyConsWithImplicitLast).t13 = function (tags) {
|
|
6091
|
+
return this.lr() === tags ? this : new LazyConsWithImplicitLast(this.m1a_1, tags);
|
|
5953
6092
|
};
|
|
5954
|
-
protoOf(LazyConsWithImplicitLast).
|
|
6093
|
+
protoOf(LazyConsWithImplicitLast).q14 = function (unifier) {
|
|
5955
6094
|
return unifier.h();
|
|
5956
6095
|
};
|
|
5957
6096
|
protoOf(LazyConsWithImplicitLast).bu = function (scope) {
|
|
@@ -5980,40 +6119,40 @@
|
|
|
5980
6119
|
return this.jv();
|
|
5981
6120
|
};
|
|
5982
6121
|
function ListUnfolder$listUnfolderVisitor$1(this$0) {
|
|
5983
|
-
this.
|
|
6122
|
+
this.r1a_1 = this$0;
|
|
5984
6123
|
}
|
|
5985
6124
|
protoOf(ListUnfolder$listUnfolderVisitor$1).zy = function (term) {
|
|
5986
|
-
this.
|
|
6125
|
+
this.r1a_1.s1a_1 = term.tw();
|
|
5987
6126
|
return term;
|
|
5988
6127
|
};
|
|
5989
6128
|
protoOf(ListUnfolder$listUnfolderVisitor$1).visitCons = function (term) {
|
|
5990
6129
|
return this.zy(term);
|
|
5991
6130
|
};
|
|
5992
6131
|
protoOf(ListUnfolder$listUnfolderVisitor$1).az = function (term) {
|
|
5993
|
-
this.
|
|
6132
|
+
this.r1a_1.s1a_1 = null;
|
|
5994
6133
|
return term;
|
|
5995
6134
|
};
|
|
5996
6135
|
protoOf(ListUnfolder$listUnfolderVisitor$1).visitEmptyList = function (term) {
|
|
5997
6136
|
return this.az(term);
|
|
5998
6137
|
};
|
|
5999
6138
|
protoOf(ListUnfolder$listUnfolderVisitor$1).sv = function (term) {
|
|
6000
|
-
this.
|
|
6139
|
+
this.r1a_1.s1a_1 = null;
|
|
6001
6140
|
return term;
|
|
6002
6141
|
};
|
|
6003
6142
|
protoOf(ListUnfolder$listUnfolderVisitor$1).defaultValue = function (term) {
|
|
6004
6143
|
return this.sv(term);
|
|
6005
6144
|
};
|
|
6006
6145
|
function ListUnfolder(list) {
|
|
6007
|
-
this.
|
|
6146
|
+
this.s1a_1 = list;
|
|
6008
6147
|
var tmp = this;
|
|
6009
|
-
tmp.
|
|
6148
|
+
tmp.t1a_1 = new ListUnfolder$listUnfolderVisitor$1(this);
|
|
6010
6149
|
}
|
|
6011
6150
|
protoOf(ListUnfolder).q = function () {
|
|
6012
|
-
return !(this.
|
|
6151
|
+
return !(this.s1a_1 == null);
|
|
6013
6152
|
};
|
|
6014
6153
|
protoOf(ListUnfolder).r = function () {
|
|
6015
|
-
var tmp0_safe_receiver = this.
|
|
6016
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.
|
|
6154
|
+
var tmp0_safe_receiver = this.s1a_1;
|
|
6155
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.t1a_1);
|
|
6017
6156
|
var tmp;
|
|
6018
6157
|
if (tmp1_elvis_lhs == null) {
|
|
6019
6158
|
throw NoSuchElementException_init_$Create$();
|
|
@@ -6025,17 +6164,17 @@
|
|
|
6025
6164
|
function NumericImpl(tags) {
|
|
6026
6165
|
TermImpl.call(this, tags);
|
|
6027
6166
|
}
|
|
6028
|
-
protoOf(NumericImpl).
|
|
6167
|
+
protoOf(NumericImpl).e14 = function (other) {
|
|
6029
6168
|
return other.xu() && this.ny().si(other.castToNumeric().ny()) === 0;
|
|
6030
6169
|
};
|
|
6031
6170
|
protoOf(NumericImpl).structurallyEquals = function (other) {
|
|
6032
|
-
return this.
|
|
6171
|
+
return this.e14(other);
|
|
6033
6172
|
};
|
|
6034
|
-
protoOf(NumericImpl).
|
|
6173
|
+
protoOf(NumericImpl).v13 = function (visitor) {
|
|
6035
6174
|
return visitor.visitNumeric(this);
|
|
6036
6175
|
};
|
|
6037
6176
|
protoOf(NumericImpl).accept = function (visitor) {
|
|
6038
|
-
return this.
|
|
6177
|
+
return this.v13(visitor);
|
|
6039
6178
|
};
|
|
6040
6179
|
protoOf(NumericImpl).ep = function () {
|
|
6041
6180
|
return this.ru();
|
|
@@ -6051,7 +6190,7 @@
|
|
|
6051
6190
|
};
|
|
6052
6191
|
function RealImpl$intValue$delegate$lambda(this$0) {
|
|
6053
6192
|
return function () {
|
|
6054
|
-
return this$0.
|
|
6193
|
+
return this$0.v1a_1.toBigInteger();
|
|
6055
6194
|
};
|
|
6056
6195
|
}
|
|
6057
6196
|
function RealImpl$_get_intValue_$ref_vz60o2() {
|
|
@@ -6061,38 +6200,38 @@
|
|
|
6061
6200
|
}
|
|
6062
6201
|
function RealImpl$hashCodeCache$delegate$lambda(this$0) {
|
|
6063
6202
|
return function () {
|
|
6064
|
-
return hashCode(this$0.
|
|
6203
|
+
return hashCode(this$0.v1a_1.stripTrailingZeros());
|
|
6065
6204
|
};
|
|
6066
6205
|
}
|
|
6067
6206
|
function RealImpl$_get_hashCodeCache_$ref_gtsyxf() {
|
|
6068
6207
|
return constructCallableReference(function (p0) {
|
|
6069
|
-
return p0.
|
|
6208
|
+
return p0.g14();
|
|
6070
6209
|
}, 1, 0, 16);
|
|
6071
6210
|
}
|
|
6072
6211
|
function RealImpl(value, tags) {
|
|
6073
6212
|
tags = tags === VOID ? emptyMap() : tags;
|
|
6074
6213
|
NumericImpl.call(this, tags);
|
|
6075
|
-
this.
|
|
6214
|
+
this.v1a_1 = value;
|
|
6076
6215
|
var tmp = this;
|
|
6077
|
-
tmp.
|
|
6216
|
+
tmp.w1a_1 = lazy(RealImpl$intValue$delegate$lambda(this));
|
|
6078
6217
|
var tmp_0 = this;
|
|
6079
|
-
tmp_0.
|
|
6218
|
+
tmp_0.x1a_1 = lazy(RealImpl$hashCodeCache$delegate$lambda(this));
|
|
6080
6219
|
}
|
|
6081
6220
|
protoOf(RealImpl).e2 = function () {
|
|
6082
|
-
return this.
|
|
6221
|
+
return this.v1a_1;
|
|
6083
6222
|
};
|
|
6084
6223
|
protoOf(RealImpl).ny = function () {
|
|
6085
|
-
return this.
|
|
6224
|
+
return this.v1a_1;
|
|
6086
6225
|
};
|
|
6087
6226
|
protoOf(RealImpl).fy = function () {
|
|
6088
|
-
var tmp0 = this.
|
|
6227
|
+
var tmp0 = this.w1a_1;
|
|
6089
6228
|
var tmp = KProperty1;
|
|
6090
6229
|
// Inline function 'kotlin.getValue' call
|
|
6091
6230
|
getPropertyCallableRef('intValue', 1, tmp, RealImpl$_get_intValue_$ref_vz60o2(), null);
|
|
6092
6231
|
return tmp0.e2();
|
|
6093
6232
|
};
|
|
6094
6233
|
protoOf(RealImpl).toString = function () {
|
|
6095
|
-
return Companion_getInstance_15().toStringEnsuringDecimal(this.
|
|
6234
|
+
return Companion_getInstance_15().toStringEnsuringDecimal(this.v1a_1);
|
|
6096
6235
|
};
|
|
6097
6236
|
protoOf(RealImpl).equals = function (other) {
|
|
6098
6237
|
if (this === other)
|
|
@@ -6123,31 +6262,31 @@
|
|
|
6123
6262
|
if (real === null)
|
|
6124
6263
|
return false;
|
|
6125
6264
|
// Inline function 'it.unibo.tuprolog.core.impl.RealImpl.equalsToReal' call
|
|
6126
|
-
return this.
|
|
6265
|
+
return this.v1a_1.si(real.e2()) === 0;
|
|
6127
6266
|
};
|
|
6128
|
-
protoOf(RealImpl).
|
|
6267
|
+
protoOf(RealImpl).f14 = function (other, useVarCompleteName) {
|
|
6129
6268
|
var tmp;
|
|
6130
6269
|
if (other.zu()) {
|
|
6131
6270
|
// Inline function 'it.unibo.tuprolog.core.impl.RealImpl.equalsToReal' call
|
|
6132
6271
|
var other_0 = other.castToReal();
|
|
6133
|
-
tmp = this.
|
|
6272
|
+
tmp = this.v1a_1.si(other_0.e2()) === 0;
|
|
6134
6273
|
} else {
|
|
6135
6274
|
tmp = false;
|
|
6136
6275
|
}
|
|
6137
6276
|
return tmp;
|
|
6138
6277
|
};
|
|
6139
6278
|
protoOf(RealImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
6140
|
-
return this.
|
|
6279
|
+
return this.f14(other, useVarCompleteName);
|
|
6141
6280
|
};
|
|
6142
|
-
protoOf(RealImpl).
|
|
6143
|
-
var tmp0 = this.
|
|
6281
|
+
protoOf(RealImpl).g14 = function () {
|
|
6282
|
+
var tmp0 = this.x1a_1;
|
|
6144
6283
|
var tmp = KProperty1;
|
|
6145
6284
|
// Inline function 'kotlin.getValue' call
|
|
6146
6285
|
getPropertyCallableRef('hashCodeCache', 1, tmp, RealImpl$_get_hashCodeCache_$ref_gtsyxf(), null);
|
|
6147
6286
|
return tmp0.e2();
|
|
6148
6287
|
};
|
|
6149
|
-
protoOf(RealImpl).
|
|
6150
|
-
return new RealImpl(this.
|
|
6288
|
+
protoOf(RealImpl).t13 = function (tags) {
|
|
6289
|
+
return new RealImpl(this.v1a_1, tags);
|
|
6151
6290
|
};
|
|
6152
6291
|
protoOf(RealImpl).au = function () {
|
|
6153
6292
|
return this;
|
|
@@ -6161,11 +6300,11 @@
|
|
|
6161
6300
|
protoOf(RealImpl).freshCopyFromScope = function (scope) {
|
|
6162
6301
|
return this.bu(scope);
|
|
6163
6302
|
};
|
|
6164
|
-
protoOf(RealImpl).
|
|
6303
|
+
protoOf(RealImpl).v13 = function (visitor) {
|
|
6165
6304
|
return visitor.visitReal(this);
|
|
6166
6305
|
};
|
|
6167
6306
|
protoOf(RealImpl).accept = function (visitor) {
|
|
6168
|
-
return this.
|
|
6307
|
+
return this.v13(visitor);
|
|
6169
6308
|
};
|
|
6170
6309
|
protoOf(RealImpl).ep = function () {
|
|
6171
6310
|
return this.ru();
|
|
@@ -6183,14 +6322,14 @@
|
|
|
6183
6322
|
return this.jz();
|
|
6184
6323
|
};
|
|
6185
6324
|
function _get_fst__e68kkq($this) {
|
|
6186
|
-
var tmp0 = $this.
|
|
6325
|
+
var tmp0 = $this.y1a_1;
|
|
6187
6326
|
var tmp = KProperty1;
|
|
6188
6327
|
// Inline function 'kotlin.getValue' call
|
|
6189
6328
|
getPropertyCallableRef('fst', 1, tmp, RecursiveImpl$LazyTwoItemsList$_get_fst_$ref_v7w1tf(), null);
|
|
6190
6329
|
return tmp0.e2();
|
|
6191
6330
|
}
|
|
6192
6331
|
function _get_snd__e6grbc($this) {
|
|
6193
|
-
var tmp0 = $this.
|
|
6332
|
+
var tmp0 = $this.z1a_1;
|
|
6194
6333
|
var tmp = KProperty1;
|
|
6195
6334
|
// Inline function 'kotlin.getValue' call
|
|
6196
6335
|
getPropertyCallableRef('snd', 1, tmp, RecursiveImpl$LazyTwoItemsList$_get_snd_$ref_llxhcl(), null);
|
|
@@ -6207,7 +6346,7 @@
|
|
|
6207
6346
|
}, 1, 0, 18);
|
|
6208
6347
|
}
|
|
6209
6348
|
function RecursiveImpl$LazyTwoItemsList$iterator$slambda(this$0, resultContinuation) {
|
|
6210
|
-
this.
|
|
6349
|
+
this.i1b_1 = this$0;
|
|
6211
6350
|
CoroutineImpl.call(this, resultContinuation);
|
|
6212
6351
|
}
|
|
6213
6352
|
protoOf(RecursiveImpl$LazyTwoItemsList$iterator$slambda).bq = function ($this$iterator, $completion) {
|
|
@@ -6228,7 +6367,7 @@
|
|
|
6228
6367
|
case 0:
|
|
6229
6368
|
this.c8_1 = 3;
|
|
6230
6369
|
this.b8_1 = 1;
|
|
6231
|
-
suspendResult = this.
|
|
6370
|
+
suspendResult = this.j1b_1.bd(_get_fst__e68kkq(this.i1b_1), this);
|
|
6232
6371
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6233
6372
|
return suspendResult;
|
|
6234
6373
|
}
|
|
@@ -6236,7 +6375,7 @@
|
|
|
6236
6375
|
continue $sm;
|
|
6237
6376
|
case 1:
|
|
6238
6377
|
this.b8_1 = 2;
|
|
6239
|
-
suspendResult = this.
|
|
6378
|
+
suspendResult = this.j1b_1.bd(_get_snd__e6grbc(this.i1b_1), this);
|
|
6240
6379
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6241
6380
|
return suspendResult;
|
|
6242
6381
|
}
|
|
@@ -6259,8 +6398,8 @@
|
|
|
6259
6398
|
while (true);
|
|
6260
6399
|
};
|
|
6261
6400
|
protoOf(RecursiveImpl$LazyTwoItemsList$iterator$slambda).cq = function ($this$iterator, completion) {
|
|
6262
|
-
var i = new RecursiveImpl$LazyTwoItemsList$iterator$slambda(this.
|
|
6263
|
-
i.
|
|
6401
|
+
var i = new RecursiveImpl$LazyTwoItemsList$iterator$slambda(this.i1b_1, completion);
|
|
6402
|
+
i.j1b_1 = $this$iterator;
|
|
6264
6403
|
return i;
|
|
6265
6404
|
};
|
|
6266
6405
|
function RecursiveImpl$LazyTwoItemsList$iterator$slambda_0(this$0, resultContinuation) {
|
|
@@ -6270,58 +6409,58 @@
|
|
|
6270
6409
|
}, 1);
|
|
6271
6410
|
}
|
|
6272
6411
|
function RecursiveImpl$LazyTwoItemsList$listIterator$1($index, this$0) {
|
|
6273
|
-
this.
|
|
6274
|
-
this.
|
|
6275
|
-
this.
|
|
6412
|
+
this.l1b_1 = $index;
|
|
6413
|
+
this.m1b_1 = this$0;
|
|
6414
|
+
this.k1b_1 = $index;
|
|
6276
6415
|
}
|
|
6277
6416
|
protoOf(RecursiveImpl$LazyTwoItemsList$listIterator$1).q = function () {
|
|
6278
|
-
return this.
|
|
6417
|
+
return this.k1b_1 < this.m1b_1.s();
|
|
6279
6418
|
};
|
|
6280
6419
|
protoOf(RecursiveImpl$LazyTwoItemsList$listIterator$1).m3 = function () {
|
|
6281
|
-
return this.
|
|
6420
|
+
return this.k1b_1 > 0;
|
|
6282
6421
|
};
|
|
6283
6422
|
protoOf(RecursiveImpl$LazyTwoItemsList$listIterator$1).r = function () {
|
|
6284
6423
|
var tmp;
|
|
6285
6424
|
if (this.q()) {
|
|
6286
|
-
var _unary__edvuaz = this.
|
|
6287
|
-
this.
|
|
6288
|
-
tmp = this.
|
|
6425
|
+
var _unary__edvuaz = this.k1b_1;
|
|
6426
|
+
this.k1b_1 = _unary__edvuaz + 1 | 0;
|
|
6427
|
+
tmp = this.m1b_1.x(_unary__edvuaz);
|
|
6289
6428
|
} else {
|
|
6290
6429
|
throw NoSuchElementException_init_$Create$();
|
|
6291
6430
|
}
|
|
6292
6431
|
return tmp;
|
|
6293
6432
|
};
|
|
6294
6433
|
protoOf(RecursiveImpl$LazyTwoItemsList$listIterator$1).n3 = function () {
|
|
6295
|
-
return this.
|
|
6434
|
+
return this.l1b_1 + 1 | 0;
|
|
6296
6435
|
};
|
|
6297
6436
|
protoOf(RecursiveImpl$LazyTwoItemsList$listIterator$1).o3 = function () {
|
|
6298
6437
|
var tmp;
|
|
6299
6438
|
if (this.m3()) {
|
|
6300
|
-
var _unary__edvuaz = this.
|
|
6301
|
-
this.
|
|
6302
|
-
tmp = this.
|
|
6439
|
+
var _unary__edvuaz = this.k1b_1;
|
|
6440
|
+
this.k1b_1 = _unary__edvuaz - 1 | 0;
|
|
6441
|
+
tmp = this.m1b_1.x(_unary__edvuaz);
|
|
6303
6442
|
} else {
|
|
6304
6443
|
throw NoSuchElementException_init_$Create$();
|
|
6305
6444
|
}
|
|
6306
6445
|
return tmp;
|
|
6307
6446
|
};
|
|
6308
6447
|
protoOf(RecursiveImpl$LazyTwoItemsList$listIterator$1).p3 = function () {
|
|
6309
|
-
return this.
|
|
6448
|
+
return this.k1b_1 - 1 | 0;
|
|
6310
6449
|
};
|
|
6311
6450
|
function LazyTwoItemsList(firstGenerator, secondGenerator) {
|
|
6312
|
-
this.
|
|
6313
|
-
this.
|
|
6451
|
+
this.y1a_1 = lazy(firstGenerator);
|
|
6452
|
+
this.z1a_1 = lazy(secondGenerator);
|
|
6314
6453
|
}
|
|
6315
6454
|
protoOf(LazyTwoItemsList).s = function () {
|
|
6316
6455
|
return 2;
|
|
6317
6456
|
};
|
|
6318
|
-
protoOf(LazyTwoItemsList).
|
|
6457
|
+
protoOf(LazyTwoItemsList).n1b = function (element) {
|
|
6319
6458
|
return equals(_get_fst__e68kkq(this), element) || equals(_get_snd__e6grbc(this), element);
|
|
6320
6459
|
};
|
|
6321
6460
|
protoOf(LazyTwoItemsList).y = function (element) {
|
|
6322
6461
|
if (!true)
|
|
6323
6462
|
return false;
|
|
6324
|
-
return this.
|
|
6463
|
+
return this.n1b(element);
|
|
6325
6464
|
};
|
|
6326
6465
|
protoOf(LazyTwoItemsList).x = function (index) {
|
|
6327
6466
|
var tmp;
|
|
@@ -6337,13 +6476,13 @@
|
|
|
6337
6476
|
}
|
|
6338
6477
|
return tmp;
|
|
6339
6478
|
};
|
|
6340
|
-
protoOf(LazyTwoItemsList).
|
|
6479
|
+
protoOf(LazyTwoItemsList).o1b = function (element) {
|
|
6341
6480
|
return equals(element, _get_fst__e68kkq(this)) ? 0 : equals(element, _get_snd__e6grbc(this)) ? 1 : -1;
|
|
6342
6481
|
};
|
|
6343
6482
|
protoOf(LazyTwoItemsList).b1 = function (element) {
|
|
6344
6483
|
if (!true)
|
|
6345
6484
|
return -1;
|
|
6346
|
-
return this.
|
|
6485
|
+
return this.o1b(element);
|
|
6347
6486
|
};
|
|
6348
6487
|
protoOf(LazyTwoItemsList).h = function () {
|
|
6349
6488
|
return false;
|
|
@@ -6396,10 +6535,10 @@
|
|
|
6396
6535
|
function RecursiveImpl(functor, args, tags) {
|
|
6397
6536
|
AbstractStruct.call(this, functor, args, tags);
|
|
6398
6537
|
var tmp = this;
|
|
6399
|
-
tmp.
|
|
6538
|
+
tmp.r13_1 = lazy(RecursiveImpl$unfoldedList$delegate$lambda(this));
|
|
6400
6539
|
}
|
|
6401
6540
|
protoOf(RecursiveImpl).gv = function () {
|
|
6402
|
-
var tmp0 = this.
|
|
6541
|
+
var tmp0 = this.r13_1;
|
|
6403
6542
|
var tmp = KProperty1;
|
|
6404
6543
|
// Inline function 'kotlin.getValue' call
|
|
6405
6544
|
getPropertyCallableRef('unfoldedList', 1, tmp, RecursiveImpl$_get_unfoldedList_$ref_j3hyd1(), null);
|
|
@@ -6411,12 +6550,12 @@
|
|
|
6411
6550
|
return copyToArray(this_0);
|
|
6412
6551
|
};
|
|
6413
6552
|
protoOf(RecursiveImpl).bv = function () {
|
|
6414
|
-
return this.
|
|
6553
|
+
return this.w13();
|
|
6415
6554
|
};
|
|
6416
6555
|
protoOf(RecursiveImpl).kv = function () {
|
|
6417
6556
|
return asIterable_0(this.ns());
|
|
6418
6557
|
};
|
|
6419
|
-
protoOf(RecursiveImpl).
|
|
6558
|
+
protoOf(RecursiveImpl).w13 = function () {
|
|
6420
6559
|
var tmp0 = this.hv();
|
|
6421
6560
|
var tmp$ret$0;
|
|
6422
6561
|
$l$block: {
|
|
@@ -6433,7 +6572,7 @@
|
|
|
6433
6572
|
}
|
|
6434
6573
|
return tmp$ret$0;
|
|
6435
6574
|
};
|
|
6436
|
-
protoOf(RecursiveImpl).
|
|
6575
|
+
protoOf(RecursiveImpl).x13 = function () {
|
|
6437
6576
|
return itemWiseHashCode_0(this.hv());
|
|
6438
6577
|
};
|
|
6439
6578
|
protoOf(RecursiveImpl).zt = function () {
|
|
@@ -6452,7 +6591,7 @@
|
|
|
6452
6591
|
protoOf(RecursiveImpl).freshCopyFromScope = function (scope) {
|
|
6453
6592
|
return this.bu(scope);
|
|
6454
6593
|
};
|
|
6455
|
-
protoOf(RecursiveImpl).
|
|
6594
|
+
protoOf(RecursiveImpl).y13 = function (other) {
|
|
6456
6595
|
var tmp0_safe_receiver = other.asRecursive();
|
|
6457
6596
|
var tmp;
|
|
6458
6597
|
if (tmp0_safe_receiver == null) {
|
|
@@ -6466,7 +6605,7 @@
|
|
|
6466
6605
|
var tmp1_elvis_lhs = tmp;
|
|
6467
6606
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
6468
6607
|
};
|
|
6469
|
-
protoOf(RecursiveImpl).
|
|
6608
|
+
protoOf(RecursiveImpl).z13 = function (other, useVarCompleteName) {
|
|
6470
6609
|
var tmp0_safe_receiver = other.asRecursive();
|
|
6471
6610
|
var tmp;
|
|
6472
6611
|
if (tmp0_safe_receiver == null) {
|
|
@@ -6480,11 +6619,11 @@
|
|
|
6480
6619
|
var tmp1_elvis_lhs = tmp;
|
|
6481
6620
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
6482
6621
|
};
|
|
6483
|
-
protoOf(RecursiveImpl).
|
|
6622
|
+
protoOf(RecursiveImpl).v13 = function (visitor) {
|
|
6484
6623
|
return visitor.visitCollection(this);
|
|
6485
6624
|
};
|
|
6486
6625
|
protoOf(RecursiveImpl).accept = function (visitor) {
|
|
6487
|
-
return this.
|
|
6626
|
+
return this.v13(visitor);
|
|
6488
6627
|
};
|
|
6489
6628
|
protoOf(RecursiveImpl).ep = function () {
|
|
6490
6629
|
return this.ru();
|
|
@@ -6501,16 +6640,16 @@
|
|
|
6501
6640
|
function RuleImpl(head, body, tags) {
|
|
6502
6641
|
tags = tags === VOID ? emptyMap() : tags;
|
|
6503
6642
|
ClauseImpl.call(this, head, body, tags);
|
|
6504
|
-
this.
|
|
6505
|
-
this.
|
|
6643
|
+
this.d19_1 = head;
|
|
6644
|
+
this.e19_1 = body;
|
|
6506
6645
|
}
|
|
6507
6646
|
protoOf(RuleImpl).dw = function () {
|
|
6508
|
-
return this.
|
|
6647
|
+
return this.d19_1;
|
|
6509
6648
|
};
|
|
6510
6649
|
protoOf(RuleImpl).ew = function () {
|
|
6511
|
-
return this.
|
|
6650
|
+
return this.e19_1;
|
|
6512
6651
|
};
|
|
6513
|
-
protoOf(RuleImpl).
|
|
6652
|
+
protoOf(RuleImpl).t13 = function (tags) {
|
|
6514
6653
|
return new RuleImpl(this.dw(), this.ew(), tags);
|
|
6515
6654
|
};
|
|
6516
6655
|
protoOf(RuleImpl).au = function () {
|
|
@@ -6531,11 +6670,11 @@
|
|
|
6531
6670
|
protoOf(RuleImpl).tx = function () {
|
|
6532
6671
|
return this.dw().rt();
|
|
6533
6672
|
};
|
|
6534
|
-
protoOf(RuleImpl).
|
|
6673
|
+
protoOf(RuleImpl).f19 = function (index) {
|
|
6535
6674
|
return this.dw().get(index);
|
|
6536
6675
|
};
|
|
6537
6676
|
protoOf(RuleImpl).getHeadArg = function (index) {
|
|
6538
|
-
return this.
|
|
6677
|
+
return this.f19(index);
|
|
6539
6678
|
};
|
|
6540
6679
|
protoOf(RuleImpl).ux = function (body) {
|
|
6541
6680
|
return protoOf(ClauseImpl).ux.call(this, body).castToRule();
|
|
@@ -6633,11 +6772,11 @@
|
|
|
6633
6772
|
protoOf(RuleImpl).appendBodyItem = function (argument) {
|
|
6634
6773
|
return this.by(argument);
|
|
6635
6774
|
};
|
|
6636
|
-
protoOf(RuleImpl).
|
|
6775
|
+
protoOf(RuleImpl).v13 = function (visitor) {
|
|
6637
6776
|
return visitor.visitRule(this);
|
|
6638
6777
|
};
|
|
6639
6778
|
protoOf(RuleImpl).accept = function (visitor) {
|
|
6640
|
-
return this.
|
|
6779
|
+
return this.v13(visitor);
|
|
6641
6780
|
};
|
|
6642
6781
|
protoOf(RuleImpl).ep = function () {
|
|
6643
6782
|
return this.ru();
|
|
@@ -6657,67 +6796,67 @@
|
|
|
6657
6796
|
function ScopeImpl$varOf$lambda(this$0, $name) {
|
|
6658
6797
|
return function () {
|
|
6659
6798
|
var tmp;
|
|
6660
|
-
if (!this$0.
|
|
6661
|
-
var tmp0 = this$0.
|
|
6799
|
+
if (!this$0.p1b_1.f2($name)) {
|
|
6800
|
+
var tmp0 = this$0.p1b_1;
|
|
6662
6801
|
var tmp2 = $name;
|
|
6663
6802
|
// Inline function 'kotlin.collections.set' call
|
|
6664
6803
|
var value = Companion_getInstance_25().of($name);
|
|
6665
6804
|
tmp0.k4(tmp2, value);
|
|
6666
6805
|
tmp = Unit_instance;
|
|
6667
6806
|
}
|
|
6668
|
-
return ensureNotNull(this$0.
|
|
6807
|
+
return ensureNotNull(this$0.p1b_1.h2($name));
|
|
6669
6808
|
};
|
|
6670
6809
|
}
|
|
6671
6810
|
function ScopeImpl(_variables) {
|
|
6672
|
-
this.
|
|
6811
|
+
this.p1b_1 = _variables;
|
|
6673
6812
|
}
|
|
6674
|
-
protoOf(ScopeImpl).
|
|
6675
|
-
return this.
|
|
6813
|
+
protoOf(ScopeImpl).q1b = function (variable) {
|
|
6814
|
+
return this.p1b_1.f2(variable.m2());
|
|
6676
6815
|
};
|
|
6677
6816
|
protoOf(ScopeImpl).containsVar = function (variable) {
|
|
6678
|
-
return this.
|
|
6817
|
+
return this.q1b(variable);
|
|
6679
6818
|
};
|
|
6680
|
-
protoOf(ScopeImpl).
|
|
6681
|
-
return this.
|
|
6819
|
+
protoOf(ScopeImpl).r1b = function (variable) {
|
|
6820
|
+
return this.p1b_1.f2(variable);
|
|
6682
6821
|
};
|
|
6683
6822
|
protoOf(ScopeImpl).contains = function (variable) {
|
|
6684
|
-
return this.
|
|
6823
|
+
return this.r1b(variable);
|
|
6685
6824
|
};
|
|
6686
6825
|
protoOf(ScopeImpl).cb = function (variable) {
|
|
6687
|
-
return this.
|
|
6826
|
+
return this.p1b_1.h2(variable);
|
|
6688
6827
|
};
|
|
6689
6828
|
protoOf(ScopeImpl).get = function (variable) {
|
|
6690
6829
|
return this.cb(variable);
|
|
6691
6830
|
};
|
|
6692
6831
|
protoOf(ScopeImpl).zt = function () {
|
|
6693
|
-
return toMap_0(this.
|
|
6832
|
+
return toMap_0(this.p1b_1);
|
|
6694
6833
|
};
|
|
6695
|
-
protoOf(ScopeImpl).
|
|
6834
|
+
protoOf(ScopeImpl).s1b = function (name) {
|
|
6696
6835
|
return synchronizedOnSelf(this, ScopeImpl$varOf$lambda(this, name));
|
|
6697
6836
|
};
|
|
6698
6837
|
protoOf(ScopeImpl).varOf = function (name) {
|
|
6699
|
-
return this.
|
|
6838
|
+
return this.s1b(name);
|
|
6700
6839
|
};
|
|
6701
|
-
protoOf(ScopeImpl).
|
|
6702
|
-
return this.
|
|
6840
|
+
protoOf(ScopeImpl).t1b = function (name) {
|
|
6841
|
+
return this.s1b(toString_1(name));
|
|
6703
6842
|
};
|
|
6704
6843
|
protoOf(ScopeImpl).varOfChar = function (name) {
|
|
6705
|
-
return this.
|
|
6844
|
+
return this.t1b(name);
|
|
6706
6845
|
};
|
|
6707
|
-
protoOf(ScopeImpl).
|
|
6846
|
+
protoOf(ScopeImpl).u1b = function (lambda) {
|
|
6708
6847
|
// Inline function 'kotlin.also' call
|
|
6709
6848
|
lambda(this);
|
|
6710
6849
|
return this;
|
|
6711
6850
|
};
|
|
6712
6851
|
protoOf(ScopeImpl).where = function (lambda) {
|
|
6713
|
-
return this.
|
|
6852
|
+
return this.u1b(lambda);
|
|
6714
6853
|
};
|
|
6715
|
-
protoOf(ScopeImpl).
|
|
6854
|
+
protoOf(ScopeImpl).v1b = function (lambda) {
|
|
6716
6855
|
// Inline function 'kotlin.with' call
|
|
6717
6856
|
return lambda(this);
|
|
6718
6857
|
};
|
|
6719
6858
|
protoOf(ScopeImpl).with = function (lambda) {
|
|
6720
|
-
return this.
|
|
6859
|
+
return this.v1b(lambda);
|
|
6721
6860
|
};
|
|
6722
6861
|
protoOf(ScopeImpl).equals = function (other) {
|
|
6723
6862
|
if (this === other)
|
|
@@ -6726,60 +6865,60 @@
|
|
|
6726
6865
|
return false;
|
|
6727
6866
|
if (!(other instanceof ScopeImpl))
|
|
6728
6867
|
THROW_CCE();
|
|
6729
|
-
if (!equals(this.
|
|
6868
|
+
if (!equals(this.p1b_1, other.p1b_1))
|
|
6730
6869
|
return false;
|
|
6731
6870
|
return true;
|
|
6732
6871
|
};
|
|
6733
6872
|
protoOf(ScopeImpl).hashCode = function () {
|
|
6734
|
-
return hashCode(this.
|
|
6873
|
+
return hashCode(this.p1b_1);
|
|
6735
6874
|
};
|
|
6736
6875
|
protoOf(ScopeImpl).toString = function () {
|
|
6737
6876
|
return toString(this.zt());
|
|
6738
6877
|
};
|
|
6739
|
-
protoOf(ScopeImpl).
|
|
6878
|
+
protoOf(ScopeImpl).w1b = function (value) {
|
|
6740
6879
|
return Companion_getInstance_23().of(value);
|
|
6741
6880
|
};
|
|
6742
6881
|
protoOf(ScopeImpl).truthOf = function (value) {
|
|
6743
|
-
return this.
|
|
6882
|
+
return this.w1b(value);
|
|
6744
6883
|
};
|
|
6745
|
-
protoOf(ScopeImpl).
|
|
6884
|
+
protoOf(ScopeImpl).x1b = function (terms) {
|
|
6746
6885
|
return Companion_instance_1.ofIterable(terms);
|
|
6747
6886
|
};
|
|
6748
6887
|
protoOf(ScopeImpl).blockOfIterable = function (terms) {
|
|
6749
|
-
return this.
|
|
6888
|
+
return this.x1b(terms);
|
|
6750
6889
|
};
|
|
6751
|
-
protoOf(ScopeImpl).
|
|
6890
|
+
protoOf(ScopeImpl).y1b = function (terms) {
|
|
6752
6891
|
return Companion_instance_1.ofSequence(terms);
|
|
6753
6892
|
};
|
|
6754
6893
|
protoOf(ScopeImpl).blockOfSequence = function (terms) {
|
|
6755
|
-
return this.
|
|
6894
|
+
return this.y1b(terms);
|
|
6756
6895
|
};
|
|
6757
|
-
protoOf(ScopeImpl).
|
|
6896
|
+
protoOf(ScopeImpl).z1b = function (terms) {
|
|
6758
6897
|
return Companion_instance_1.of(terms.slice());
|
|
6759
6898
|
};
|
|
6760
6899
|
protoOf(ScopeImpl).blockOf = function (terms) {
|
|
6761
|
-
return this.
|
|
6900
|
+
return this.z1b(terms);
|
|
6762
6901
|
};
|
|
6763
|
-
protoOf(ScopeImpl).
|
|
6902
|
+
protoOf(ScopeImpl).a1c = function (terms) {
|
|
6764
6903
|
return Companion_instance_11.ofIterable(terms);
|
|
6765
6904
|
};
|
|
6766
6905
|
protoOf(ScopeImpl).logicListOfIterable = function (terms) {
|
|
6767
|
-
return this.
|
|
6906
|
+
return this.a1c(terms);
|
|
6768
6907
|
};
|
|
6769
|
-
protoOf(ScopeImpl).
|
|
6908
|
+
protoOf(ScopeImpl).b1c = function (terms) {
|
|
6770
6909
|
return Companion_instance_11.ofSequence(terms);
|
|
6771
6910
|
};
|
|
6772
6911
|
protoOf(ScopeImpl).logicListOfSequence = function (terms) {
|
|
6773
|
-
return this.
|
|
6912
|
+
return this.b1c(terms);
|
|
6774
6913
|
};
|
|
6775
6914
|
protoOf(ScopeImpl).lz = function () {
|
|
6776
6915
|
return Companion_getInstance_8().invoke();
|
|
6777
6916
|
};
|
|
6778
|
-
protoOf(ScopeImpl).
|
|
6917
|
+
protoOf(ScopeImpl).c1c = function (terms) {
|
|
6779
6918
|
return Companion_instance_11.of(terms.slice());
|
|
6780
6919
|
};
|
|
6781
6920
|
protoOf(ScopeImpl).logicListOf = function (terms) {
|
|
6782
|
-
return this.
|
|
6921
|
+
return this.c1c(terms);
|
|
6783
6922
|
};
|
|
6784
6923
|
protoOf(ScopeImpl).nz = function (terms, last) {
|
|
6785
6924
|
return Companion_instance_11.from(terms.slice(), last);
|
|
@@ -6799,253 +6938,253 @@
|
|
|
6799
6938
|
protoOf(ScopeImpl).logicListFromIterable = function (terms, last, $super) {
|
|
6800
6939
|
return this.logicListFromIterable(terms, last, ($super == null ? true : $super instanceof ScopeImpl) ? $super : THROW_CCE());
|
|
6801
6940
|
};
|
|
6802
|
-
protoOf(ScopeImpl).
|
|
6941
|
+
protoOf(ScopeImpl).d1c = function (terms) {
|
|
6803
6942
|
return Companion_instance_23.ofList(toList_0(terms));
|
|
6804
6943
|
};
|
|
6805
6944
|
protoOf(ScopeImpl).tupleOfIterable = function (terms) {
|
|
6806
|
-
return this.
|
|
6945
|
+
return this.d1c(terms);
|
|
6807
6946
|
};
|
|
6808
|
-
protoOf(ScopeImpl).
|
|
6947
|
+
protoOf(ScopeImpl).e1c = function (terms) {
|
|
6809
6948
|
return Companion_instance_23.ofList(toList_1(terms));
|
|
6810
6949
|
};
|
|
6811
6950
|
protoOf(ScopeImpl).tupleOfSequence = function (terms) {
|
|
6812
|
-
return this.
|
|
6951
|
+
return this.e1c(terms);
|
|
6813
6952
|
};
|
|
6814
|
-
protoOf(ScopeImpl).
|
|
6953
|
+
protoOf(ScopeImpl).f1c = function (terms) {
|
|
6815
6954
|
return Companion_instance_23.ofList(toList(terms));
|
|
6816
6955
|
};
|
|
6817
6956
|
protoOf(ScopeImpl).tupleOf = function (terms) {
|
|
6818
|
-
return this.
|
|
6957
|
+
return this.f1c(terms);
|
|
6819
6958
|
};
|
|
6820
|
-
protoOf(ScopeImpl).
|
|
6959
|
+
protoOf(ScopeImpl).g1c = function (value) {
|
|
6821
6960
|
return Companion_getInstance_1().of(value);
|
|
6822
6961
|
};
|
|
6823
6962
|
protoOf(ScopeImpl).atomOf = function (value) {
|
|
6824
|
-
return this.
|
|
6963
|
+
return this.g1c(value);
|
|
6825
6964
|
};
|
|
6826
|
-
protoOf(ScopeImpl).
|
|
6965
|
+
protoOf(ScopeImpl).h1c = function (value) {
|
|
6827
6966
|
return Companion_getInstance_1().of(toString_1(value));
|
|
6828
6967
|
};
|
|
6829
6968
|
protoOf(ScopeImpl).atomOfChar = function (value) {
|
|
6830
|
-
return this.
|
|
6969
|
+
return this.h1c(value);
|
|
6831
6970
|
};
|
|
6832
|
-
protoOf(ScopeImpl).
|
|
6971
|
+
protoOf(ScopeImpl).i1c = function (functor, args) {
|
|
6833
6972
|
return Companion_getInstance_18().of(functor, args.slice());
|
|
6834
6973
|
};
|
|
6835
6974
|
protoOf(ScopeImpl).structOf = function (functor, args) {
|
|
6836
|
-
return this.
|
|
6975
|
+
return this.i1c(functor, args);
|
|
6837
6976
|
};
|
|
6838
|
-
protoOf(ScopeImpl).
|
|
6977
|
+
protoOf(ScopeImpl).j1c = function (functor, args) {
|
|
6839
6978
|
return Companion_getInstance_18().ofSequence(functor, args);
|
|
6840
6979
|
};
|
|
6841
6980
|
protoOf(ScopeImpl).structOfSequence = function (functor, args) {
|
|
6842
|
-
return this.
|
|
6981
|
+
return this.j1c(functor, args);
|
|
6843
6982
|
};
|
|
6844
|
-
protoOf(ScopeImpl).
|
|
6983
|
+
protoOf(ScopeImpl).k1c = function (functor, args) {
|
|
6845
6984
|
return Companion_getInstance_18().ofIterable(functor, args);
|
|
6846
6985
|
};
|
|
6847
6986
|
protoOf(ScopeImpl).structOfIterable = function (functor, args) {
|
|
6848
|
-
return this.
|
|
6987
|
+
return this.k1c(functor, args);
|
|
6849
6988
|
};
|
|
6850
|
-
protoOf(ScopeImpl).
|
|
6989
|
+
protoOf(ScopeImpl).l1c = function (functor, args) {
|
|
6851
6990
|
return Companion_getInstance_18().ofList(functor, args);
|
|
6852
6991
|
};
|
|
6853
6992
|
protoOf(ScopeImpl).structOfList = function (functor, args) {
|
|
6854
|
-
return this.
|
|
6993
|
+
return this.l1c(functor, args);
|
|
6855
6994
|
};
|
|
6856
|
-
protoOf(ScopeImpl).
|
|
6995
|
+
protoOf(ScopeImpl).m1c = function (head) {
|
|
6857
6996
|
return Companion_instance_8.of(head);
|
|
6858
6997
|
};
|
|
6859
6998
|
protoOf(ScopeImpl).factOf = function (head) {
|
|
6860
|
-
return this.
|
|
6999
|
+
return this.m1c(head);
|
|
6861
7000
|
};
|
|
6862
|
-
protoOf(ScopeImpl).
|
|
7001
|
+
protoOf(ScopeImpl).n1c = function (head, body1, body) {
|
|
6863
7002
|
return Companion_instance_15.of(head, arrayConcat([[body1], body]));
|
|
6864
7003
|
};
|
|
6865
7004
|
protoOf(ScopeImpl).ruleOf = function (head, body1, body) {
|
|
6866
|
-
return this.
|
|
7005
|
+
return this.n1c(head, body1, body);
|
|
6867
7006
|
};
|
|
6868
|
-
protoOf(ScopeImpl).
|
|
7007
|
+
protoOf(ScopeImpl).o1c = function (body1, body) {
|
|
6869
7008
|
return Companion_instance_4.of(body1, body.slice());
|
|
6870
7009
|
};
|
|
6871
7010
|
protoOf(ScopeImpl).directiveOf = function (body1, body) {
|
|
6872
|
-
return this.
|
|
7011
|
+
return this.o1c(body1, body);
|
|
6873
7012
|
};
|
|
6874
|
-
protoOf(ScopeImpl).
|
|
7013
|
+
protoOf(ScopeImpl).p1c = function (head, body) {
|
|
6875
7014
|
return Companion_getInstance_3().fw(head, body.slice());
|
|
6876
7015
|
};
|
|
6877
7016
|
protoOf(ScopeImpl).clauseOf = function (head, body) {
|
|
6878
|
-
return this.
|
|
7017
|
+
return this.p1c(head, body);
|
|
6879
7018
|
};
|
|
6880
|
-
protoOf(ScopeImpl).
|
|
7019
|
+
protoOf(ScopeImpl).q1c = function (head, tail) {
|
|
6881
7020
|
return Companion_instance_3.of(head, tail);
|
|
6882
7021
|
};
|
|
6883
7022
|
protoOf(ScopeImpl).consOf = function (head, tail) {
|
|
6884
|
-
return this.
|
|
7023
|
+
return this.q1c(head, tail);
|
|
6885
7024
|
};
|
|
6886
|
-
protoOf(ScopeImpl).
|
|
7025
|
+
protoOf(ScopeImpl).r1c = function (name, arity) {
|
|
6887
7026
|
return Companion_instance_9.of(name, arity);
|
|
6888
7027
|
};
|
|
6889
7028
|
protoOf(ScopeImpl).indicatorOf = function (name, arity) {
|
|
6890
|
-
return this.
|
|
7029
|
+
return this.r1c(name, arity);
|
|
6891
7030
|
};
|
|
6892
|
-
protoOf(ScopeImpl).
|
|
7031
|
+
protoOf(ScopeImpl).s1c = function (name, arity) {
|
|
6893
7032
|
return Companion_instance_9.ofString(name, arity);
|
|
6894
7033
|
};
|
|
6895
7034
|
protoOf(ScopeImpl).indicatorOfStringInt = function (name, arity) {
|
|
6896
|
-
return this.
|
|
7035
|
+
return this.s1c(name, arity);
|
|
6897
7036
|
};
|
|
6898
|
-
protoOf(ScopeImpl).
|
|
7037
|
+
protoOf(ScopeImpl).t1c = function () {
|
|
6899
7038
|
return Companion_getInstance_25().anonymous();
|
|
6900
7039
|
};
|
|
6901
7040
|
protoOf(ScopeImpl).anonymous = function () {
|
|
6902
|
-
return this.
|
|
7041
|
+
return this.t1c();
|
|
6903
7042
|
};
|
|
6904
|
-
protoOf(ScopeImpl).
|
|
6905
|
-
return this.
|
|
7043
|
+
protoOf(ScopeImpl).u1c = function () {
|
|
7044
|
+
return this.t1c();
|
|
6906
7045
|
};
|
|
6907
7046
|
protoOf(ScopeImpl).whatever = function () {
|
|
6908
|
-
return this.
|
|
7047
|
+
return this.u1c();
|
|
6909
7048
|
};
|
|
6910
|
-
protoOf(ScopeImpl).
|
|
7049
|
+
protoOf(ScopeImpl).v1c = function (value) {
|
|
6911
7050
|
return Companion_getInstance_14().ofBigDecimal(value);
|
|
6912
7051
|
};
|
|
6913
7052
|
protoOf(ScopeImpl).numOfBigDecimal = function (value) {
|
|
6914
|
-
return this.
|
|
7053
|
+
return this.v1c(value);
|
|
6915
7054
|
};
|
|
6916
|
-
protoOf(ScopeImpl).
|
|
7055
|
+
protoOf(ScopeImpl).w1c = function (value) {
|
|
6917
7056
|
return Companion_getInstance_14().ofDouble(value);
|
|
6918
7057
|
};
|
|
6919
7058
|
protoOf(ScopeImpl).numOfDouble = function (value) {
|
|
6920
|
-
return this.
|
|
7059
|
+
return this.w1c(value);
|
|
6921
7060
|
};
|
|
6922
|
-
protoOf(ScopeImpl).
|
|
7061
|
+
protoOf(ScopeImpl).x1c = function (value) {
|
|
6923
7062
|
return Companion_getInstance_14().ofFloat(value);
|
|
6924
7063
|
};
|
|
6925
7064
|
protoOf(ScopeImpl).numOfFloat = function (value) {
|
|
6926
|
-
return this.
|
|
7065
|
+
return this.x1c(value);
|
|
6927
7066
|
};
|
|
6928
|
-
protoOf(ScopeImpl).
|
|
7067
|
+
protoOf(ScopeImpl).y1c = function (value) {
|
|
6929
7068
|
return Companion_getInstance_14().ofBigInteger(value);
|
|
6930
7069
|
};
|
|
6931
7070
|
protoOf(ScopeImpl).numOfBigInteger = function (value) {
|
|
6932
|
-
return this.
|
|
7071
|
+
return this.y1c(value);
|
|
6933
7072
|
};
|
|
6934
|
-
protoOf(ScopeImpl).
|
|
7073
|
+
protoOf(ScopeImpl).z1c = function (value) {
|
|
6935
7074
|
return Companion_getInstance_14().ofInteger(value);
|
|
6936
7075
|
};
|
|
6937
7076
|
protoOf(ScopeImpl).numOfInt = function (value) {
|
|
6938
|
-
return this.
|
|
7077
|
+
return this.z1c(value);
|
|
6939
7078
|
};
|
|
6940
|
-
protoOf(ScopeImpl).
|
|
7079
|
+
protoOf(ScopeImpl).a1d = function (value) {
|
|
6941
7080
|
return Companion_getInstance_14().ofLong(value);
|
|
6942
7081
|
};
|
|
6943
7082
|
protoOf(ScopeImpl).numOfLong = function (value) {
|
|
6944
|
-
return this.
|
|
7083
|
+
return this.a1d(value);
|
|
6945
7084
|
};
|
|
6946
|
-
protoOf(ScopeImpl).
|
|
7085
|
+
protoOf(ScopeImpl).b1d = function (value) {
|
|
6947
7086
|
return Companion_getInstance_14().ofShort(value);
|
|
6948
7087
|
};
|
|
6949
7088
|
protoOf(ScopeImpl).numOfShort = function (value) {
|
|
6950
|
-
return this.
|
|
7089
|
+
return this.b1d(value);
|
|
6951
7090
|
};
|
|
6952
|
-
protoOf(ScopeImpl).
|
|
7091
|
+
protoOf(ScopeImpl).c1d = function (value) {
|
|
6953
7092
|
return Companion_getInstance_14().ofByte(value);
|
|
6954
7093
|
};
|
|
6955
7094
|
protoOf(ScopeImpl).numOfByte = function (value) {
|
|
6956
|
-
return this.
|
|
7095
|
+
return this.c1d(value);
|
|
6957
7096
|
};
|
|
6958
|
-
protoOf(ScopeImpl).
|
|
7097
|
+
protoOf(ScopeImpl).d1d = function (value) {
|
|
6959
7098
|
return Companion_getInstance_14().parse(value);
|
|
6960
7099
|
};
|
|
6961
7100
|
protoOf(ScopeImpl).parseNum = function (value) {
|
|
6962
|
-
return this.
|
|
7101
|
+
return this.d1d(value);
|
|
6963
7102
|
};
|
|
6964
|
-
protoOf(ScopeImpl).
|
|
7103
|
+
protoOf(ScopeImpl).e1d = function (value) {
|
|
6965
7104
|
return Companion_getInstance_14().of(value);
|
|
6966
7105
|
};
|
|
6967
7106
|
protoOf(ScopeImpl).numOf = function (value) {
|
|
6968
|
-
return this.
|
|
7107
|
+
return this.e1d(value);
|
|
6969
7108
|
};
|
|
6970
|
-
protoOf(ScopeImpl).
|
|
7109
|
+
protoOf(ScopeImpl).f1d = function (value) {
|
|
6971
7110
|
return Companion_getInstance_11().ofBigInteger(value);
|
|
6972
7111
|
};
|
|
6973
7112
|
protoOf(ScopeImpl).intOfBigInteger = function (value) {
|
|
6974
|
-
return this.
|
|
7113
|
+
return this.f1d(value);
|
|
6975
7114
|
};
|
|
6976
|
-
protoOf(ScopeImpl).
|
|
7115
|
+
protoOf(ScopeImpl).g1d = function (value) {
|
|
6977
7116
|
return Companion_getInstance_11().ofInt(value);
|
|
6978
7117
|
};
|
|
6979
7118
|
protoOf(ScopeImpl).intOf = function (value) {
|
|
6980
|
-
return this.
|
|
7119
|
+
return this.g1d(value);
|
|
6981
7120
|
};
|
|
6982
|
-
protoOf(ScopeImpl).
|
|
7121
|
+
protoOf(ScopeImpl).h1d = function (value) {
|
|
6983
7122
|
return Companion_getInstance_11().ofLong(value);
|
|
6984
7123
|
};
|
|
6985
7124
|
protoOf(ScopeImpl).intOfLong = function (value) {
|
|
6986
|
-
return this.
|
|
7125
|
+
return this.h1d(value);
|
|
6987
7126
|
};
|
|
6988
|
-
protoOf(ScopeImpl).
|
|
7127
|
+
protoOf(ScopeImpl).i1d = function (value) {
|
|
6989
7128
|
return Companion_getInstance_11().ofShort(value);
|
|
6990
7129
|
};
|
|
6991
7130
|
protoOf(ScopeImpl).intOfShort = function (value) {
|
|
6992
|
-
return this.
|
|
7131
|
+
return this.i1d(value);
|
|
6993
7132
|
};
|
|
6994
|
-
protoOf(ScopeImpl).
|
|
7133
|
+
protoOf(ScopeImpl).j1d = function (value) {
|
|
6995
7134
|
return Companion_getInstance_11().ofByte(value);
|
|
6996
7135
|
};
|
|
6997
7136
|
protoOf(ScopeImpl).intOfByte = function (value) {
|
|
6998
|
-
return this.
|
|
7137
|
+
return this.j1d(value);
|
|
6999
7138
|
};
|
|
7000
|
-
protoOf(ScopeImpl).
|
|
7139
|
+
protoOf(ScopeImpl).k1d = function (value) {
|
|
7001
7140
|
return Companion_getInstance_11().parse(value);
|
|
7002
7141
|
};
|
|
7003
7142
|
protoOf(ScopeImpl).parseInt = function (value) {
|
|
7004
|
-
return this.
|
|
7143
|
+
return this.k1d(value);
|
|
7005
7144
|
};
|
|
7006
|
-
protoOf(ScopeImpl).
|
|
7145
|
+
protoOf(ScopeImpl).l1d = function (value, radix) {
|
|
7007
7146
|
return Companion_getInstance_11().parseRadix(value, radix);
|
|
7008
7147
|
};
|
|
7009
7148
|
protoOf(ScopeImpl).parseIntRadix = function (value, radix) {
|
|
7010
|
-
return this.
|
|
7149
|
+
return this.l1d(value, radix);
|
|
7011
7150
|
};
|
|
7012
|
-
protoOf(ScopeImpl).
|
|
7151
|
+
protoOf(ScopeImpl).m1d = function (value) {
|
|
7013
7152
|
return Companion_getInstance_15().ofBigDecimal(value);
|
|
7014
7153
|
};
|
|
7015
7154
|
protoOf(ScopeImpl).realOfBigDecimal = function (value) {
|
|
7016
|
-
return this.
|
|
7155
|
+
return this.m1d(value);
|
|
7017
7156
|
};
|
|
7018
|
-
protoOf(ScopeImpl).
|
|
7157
|
+
protoOf(ScopeImpl).n1d = function (value) {
|
|
7019
7158
|
return Companion_getInstance_15().ofDouble(value);
|
|
7020
7159
|
};
|
|
7021
7160
|
protoOf(ScopeImpl).realOf = function (value) {
|
|
7022
|
-
return this.
|
|
7161
|
+
return this.n1d(value);
|
|
7023
7162
|
};
|
|
7024
|
-
protoOf(ScopeImpl).
|
|
7163
|
+
protoOf(ScopeImpl).o1d = function (value) {
|
|
7025
7164
|
return Companion_getInstance_15().ofFloat(value);
|
|
7026
7165
|
};
|
|
7027
7166
|
protoOf(ScopeImpl).realOfFloat = function (value) {
|
|
7028
|
-
return this.
|
|
7167
|
+
return this.o1d(value);
|
|
7029
7168
|
};
|
|
7030
|
-
protoOf(ScopeImpl).
|
|
7169
|
+
protoOf(ScopeImpl).p1d = function (value) {
|
|
7031
7170
|
return Companion_getInstance_15().parse(value);
|
|
7032
7171
|
};
|
|
7033
7172
|
protoOf(ScopeImpl).parseReal = function (value) {
|
|
7034
|
-
return this.
|
|
7173
|
+
return this.p1d(value);
|
|
7035
7174
|
};
|
|
7036
|
-
protoOf(ScopeImpl).
|
|
7175
|
+
protoOf(ScopeImpl).q1d = function (assignments) {
|
|
7037
7176
|
return Companion_getInstance_19().unifierIterable(assignments);
|
|
7038
7177
|
};
|
|
7039
7178
|
protoOf(ScopeImpl).unifierOfIterable = function (assignments) {
|
|
7040
|
-
return this.
|
|
7179
|
+
return this.q1d(assignments);
|
|
7041
7180
|
};
|
|
7042
|
-
protoOf(ScopeImpl).
|
|
7043
|
-
return this.
|
|
7181
|
+
protoOf(ScopeImpl).r1d = function (assignments) {
|
|
7182
|
+
return this.q1d(asIterable_0(assignments));
|
|
7044
7183
|
};
|
|
7045
7184
|
protoOf(ScopeImpl).unifierOfSequence = function (assignments) {
|
|
7046
|
-
return this.
|
|
7185
|
+
return this.r1d(assignments);
|
|
7047
7186
|
};
|
|
7048
|
-
protoOf(ScopeImpl).
|
|
7187
|
+
protoOf(ScopeImpl).s1d = function (assignments) {
|
|
7049
7188
|
// Inline function 'kotlin.collections.map' call
|
|
7050
7189
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7051
7190
|
var destination = ArrayList_init_$Create$(assignments.length);
|
|
@@ -7056,27 +7195,27 @@
|
|
|
7056
7195
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7057
7196
|
var v = item.oc();
|
|
7058
7197
|
var t = item.pc();
|
|
7059
|
-
var tmp$ret$2 = to(this.
|
|
7198
|
+
var tmp$ret$2 = to(this.s1b(v), t);
|
|
7060
7199
|
destination.l(tmp$ret$2);
|
|
7061
7200
|
}
|
|
7062
|
-
return this.
|
|
7201
|
+
return this.q1d(destination);
|
|
7063
7202
|
};
|
|
7064
7203
|
protoOf(ScopeImpl).unifierOf = function (assignments) {
|
|
7065
|
-
return this.
|
|
7204
|
+
return this.s1d(assignments);
|
|
7066
7205
|
};
|
|
7067
|
-
protoOf(ScopeImpl).
|
|
7206
|
+
protoOf(ScopeImpl).t1d = function (assignments) {
|
|
7068
7207
|
return Companion_getInstance_19().ofIterable(assignments);
|
|
7069
7208
|
};
|
|
7070
7209
|
protoOf(ScopeImpl).substitutionOfIterable = function (assignments) {
|
|
7071
|
-
return this.
|
|
7210
|
+
return this.t1d(assignments);
|
|
7072
7211
|
};
|
|
7073
|
-
protoOf(ScopeImpl).
|
|
7074
|
-
return this.
|
|
7212
|
+
protoOf(ScopeImpl).u1d = function (assignments) {
|
|
7213
|
+
return this.t1d(asIterable_0(assignments));
|
|
7075
7214
|
};
|
|
7076
7215
|
protoOf(ScopeImpl).substitutionOfSequence = function (assignments) {
|
|
7077
|
-
return this.
|
|
7216
|
+
return this.u1d(assignments);
|
|
7078
7217
|
};
|
|
7079
|
-
protoOf(ScopeImpl).
|
|
7218
|
+
protoOf(ScopeImpl).v1d = function (assignments) {
|
|
7080
7219
|
// Inline function 'kotlin.collections.map' call
|
|
7081
7220
|
// Inline function 'kotlin.collections.mapTo' call
|
|
7082
7221
|
var destination = ArrayList_init_$Create$(assignments.length);
|
|
@@ -7087,26 +7226,27 @@
|
|
|
7087
7226
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7088
7227
|
var v = item.oc();
|
|
7089
7228
|
var t = item.pc();
|
|
7090
|
-
var tmp$ret$2 = to(this.
|
|
7229
|
+
var tmp$ret$2 = to(this.s1b(v), t);
|
|
7091
7230
|
destination.l(tmp$ret$2);
|
|
7092
7231
|
}
|
|
7093
|
-
return this.
|
|
7232
|
+
return this.t1d(destination);
|
|
7094
7233
|
};
|
|
7095
7234
|
protoOf(ScopeImpl).substitutionOf = function (assignments) {
|
|
7096
|
-
return this.
|
|
7235
|
+
return this.v1d(assignments);
|
|
7097
7236
|
};
|
|
7098
|
-
function SimpleTermFormatter(quoted, numberVars, ignoreOps) {
|
|
7237
|
+
function SimpleTermFormatter(quoted, numberVars, ignoreOps, tagsOptions) {
|
|
7099
7238
|
quoted = quoted === VOID ? true : quoted;
|
|
7100
7239
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
7101
7240
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
7102
|
-
|
|
7241
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
7242
|
+
AbstractTermFormatter.call(this, quoted, numberVars, ignoreOps, tagsOptions);
|
|
7103
7243
|
}
|
|
7104
7244
|
protoOf(SimpleTermFormatter).format = function (value) {
|
|
7105
|
-
return this.
|
|
7245
|
+
return this.i12((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7106
7246
|
};
|
|
7107
7247
|
function StructImpl$isGround$delegate$lambda(this$0) {
|
|
7108
7248
|
return function () {
|
|
7109
|
-
return this$0.
|
|
7249
|
+
return this$0.w13();
|
|
7110
7250
|
};
|
|
7111
7251
|
}
|
|
7112
7252
|
function StructImpl$_get_isGround_$ref_i5zjyw() {
|
|
@@ -7117,26 +7257,26 @@
|
|
|
7117
7257
|
function StructImpl(functor, args, tags) {
|
|
7118
7258
|
tags = tags === VOID ? emptyMap() : tags;
|
|
7119
7259
|
AbstractStruct.call(this, functor, args, tags);
|
|
7120
|
-
this.
|
|
7121
|
-
this.
|
|
7260
|
+
this.a1e_1 = functor;
|
|
7261
|
+
this.b1e_1 = args;
|
|
7122
7262
|
var tmp = this;
|
|
7123
|
-
tmp.
|
|
7263
|
+
tmp.c1e_1 = lazy(StructImpl$isGround$delegate$lambda(this));
|
|
7124
7264
|
}
|
|
7125
7265
|
protoOf(StructImpl).xt = function () {
|
|
7126
|
-
return this.
|
|
7266
|
+
return this.a1e_1;
|
|
7127
7267
|
};
|
|
7128
7268
|
protoOf(StructImpl).yt = function () {
|
|
7129
|
-
return this.
|
|
7269
|
+
return this.b1e_1;
|
|
7130
7270
|
};
|
|
7131
7271
|
protoOf(StructImpl).bv = function () {
|
|
7132
|
-
var tmp0 = this.
|
|
7272
|
+
var tmp0 = this.c1e_1;
|
|
7133
7273
|
var tmp = KProperty1;
|
|
7134
7274
|
// Inline function 'kotlin.getValue' call
|
|
7135
7275
|
getPropertyCallableRef('isGround', 1, tmp, StructImpl$_get_isGround_$ref_i5zjyw(), null);
|
|
7136
7276
|
return tmp0.e2();
|
|
7137
7277
|
};
|
|
7138
|
-
protoOf(StructImpl).
|
|
7139
|
-
return new StructImpl(this.
|
|
7278
|
+
protoOf(StructImpl).t13 = function (tags) {
|
|
7279
|
+
return new StructImpl(this.a1e_1, this.b1e_1, tags);
|
|
7140
7280
|
};
|
|
7141
7281
|
protoOf(StructImpl).ep = function () {
|
|
7142
7282
|
return this.ru();
|
|
@@ -7147,31 +7287,32 @@
|
|
|
7147
7287
|
protoOf(StructImpl).asStruct = function () {
|
|
7148
7288
|
return this.nu();
|
|
7149
7289
|
};
|
|
7150
|
-
function TermFormatterWithAnonymousVariables(quoted, numberVars, ignoreOps) {
|
|
7290
|
+
function TermFormatterWithAnonymousVariables(quoted, numberVars, ignoreOps, tagsOptions) {
|
|
7151
7291
|
quoted = quoted === VOID ? true : quoted;
|
|
7152
7292
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
7153
7293
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
7154
|
-
|
|
7294
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
7295
|
+
AbstractTermFormatter.call(this, quoted, numberVars, ignoreOps, tagsOptions);
|
|
7155
7296
|
}
|
|
7156
7297
|
protoOf(TermFormatterWithAnonymousVariables).gw = function (term) {
|
|
7157
|
-
return '_' + term.
|
|
7298
|
+
return '_' + term.v12();
|
|
7158
7299
|
};
|
|
7159
7300
|
protoOf(TermFormatterWithAnonymousVariables).visitVar = function (term) {
|
|
7160
7301
|
return this.gw(term);
|
|
7161
7302
|
};
|
|
7162
7303
|
protoOf(TermFormatterWithAnonymousVariables).format = function (value) {
|
|
7163
|
-
return this.
|
|
7304
|
+
return this.i12((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7164
7305
|
};
|
|
7165
7306
|
function OperatorDecorations(prefix, suffix) {
|
|
7166
|
-
this.
|
|
7167
|
-
this.
|
|
7307
|
+
this.h1e_1 = prefix;
|
|
7308
|
+
this.i1e_1 = suffix;
|
|
7168
7309
|
}
|
|
7169
7310
|
protoOf(OperatorDecorations).toString = function () {
|
|
7170
|
-
return 'OperatorDecorations(prefix=' + this.
|
|
7311
|
+
return 'OperatorDecorations(prefix=' + this.h1e_1 + ', suffix=' + this.i1e_1 + ')';
|
|
7171
7312
|
};
|
|
7172
7313
|
protoOf(OperatorDecorations).hashCode = function () {
|
|
7173
|
-
var result = getStringHashCode(this.
|
|
7174
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
7314
|
+
var result = getStringHashCode(this.h1e_1);
|
|
7315
|
+
result = imul(result, 31) + getStringHashCode(this.i1e_1) | 0;
|
|
7175
7316
|
return result;
|
|
7176
7317
|
};
|
|
7177
7318
|
protoOf(OperatorDecorations).equals = function (other) {
|
|
@@ -7179,26 +7320,26 @@
|
|
|
7179
7320
|
return true;
|
|
7180
7321
|
if (!(other instanceof OperatorDecorations))
|
|
7181
7322
|
return false;
|
|
7182
|
-
if (!(this.
|
|
7323
|
+
if (!(this.h1e_1 === other.h1e_1))
|
|
7183
7324
|
return false;
|
|
7184
|
-
if (!(this.
|
|
7325
|
+
if (!(this.i1e_1 === other.i1e_1))
|
|
7185
7326
|
return false;
|
|
7186
7327
|
return true;
|
|
7187
7328
|
};
|
|
7188
7329
|
function _get_decorations__mnzyq($this, $receiver) {
|
|
7189
|
-
var tmp0_elvis_lhs = $this.
|
|
7190
|
-
return tmp0_elvis_lhs == null ? $this.
|
|
7330
|
+
var tmp0_elvis_lhs = $this.k1e_1.h2($receiver);
|
|
7331
|
+
return tmp0_elvis_lhs == null ? $this.j1e_1 : tmp0_elvis_lhs;
|
|
7191
7332
|
}
|
|
7192
7333
|
function _get_prefix__wiwq7t($this, $receiver) {
|
|
7193
|
-
return _get_decorations__mnzyq($this, $receiver).
|
|
7334
|
+
return _get_decorations__mnzyq($this, $receiver).h1e_1;
|
|
7194
7335
|
}
|
|
7195
7336
|
function _get_suffix__6yo6oq($this, $receiver) {
|
|
7196
|
-
return _get_decorations__mnzyq($this, $receiver).
|
|
7337
|
+
return _get_decorations__mnzyq($this, $receiver).i1e_1;
|
|
7197
7338
|
}
|
|
7198
7339
|
function Companion_28() {
|
|
7199
7340
|
Companion_instance_29 = this;
|
|
7200
|
-
this.
|
|
7201
|
-
this.
|
|
7341
|
+
this.j1e_1 = new OperatorDecorations(' ', ' ');
|
|
7342
|
+
this.k1e_1 = mapOf_0([to(',', new OperatorDecorations('', ' ')), to(';', new OperatorDecorations('', ' ')), to('\\+', new OperatorDecorations('', ' '))]);
|
|
7202
7343
|
}
|
|
7203
7344
|
var Companion_instance_29;
|
|
7204
7345
|
function Companion_getInstance_30() {
|
|
@@ -7206,25 +7347,34 @@
|
|
|
7206
7347
|
new Companion_28();
|
|
7207
7348
|
return Companion_instance_29;
|
|
7208
7349
|
}
|
|
7209
|
-
function TermFormatterWithPrettyExpressions_init_$Init$(delegate, operators, quoted, numberVars, ignoreOps, $this) {
|
|
7350
|
+
function TermFormatterWithPrettyExpressions_init_$Init$(delegate, operators, quoted, numberVars, ignoreOps, tagsOptions, $this) {
|
|
7210
7351
|
quoted = quoted === VOID ? true : quoted;
|
|
7211
7352
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
7212
7353
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
7213
|
-
|
|
7354
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
7355
|
+
TermFormatterWithPrettyExpressions.call($this, 2147483647, delegate, toOperatorsIndex(operators), emptySet(), quoted, numberVars, ignoreOps, tagsOptions);
|
|
7214
7356
|
return $this;
|
|
7215
7357
|
}
|
|
7216
|
-
function TermFormatterWithPrettyExpressions_init_$Create$(delegate, operators, quoted, numberVars, ignoreOps) {
|
|
7217
|
-
return TermFormatterWithPrettyExpressions_init_$Init$(delegate, operators, quoted, numberVars, ignoreOps, objectCreate(protoOf(TermFormatterWithPrettyExpressions)));
|
|
7358
|
+
function TermFormatterWithPrettyExpressions_init_$Create$(delegate, operators, quoted, numberVars, ignoreOps, tagsOptions) {
|
|
7359
|
+
return TermFormatterWithPrettyExpressions_init_$Init$(delegate, operators, quoted, numberVars, ignoreOps, tagsOptions, objectCreate(protoOf(TermFormatterWithPrettyExpressions)));
|
|
7218
7360
|
}
|
|
7219
7361
|
function wrapWithinParentheses($this, $receiver) {
|
|
7220
7362
|
return '(' + $receiver + ')';
|
|
7221
7363
|
}
|
|
7222
7364
|
function addingParenthesesIfForced($this, struct, stringGenerator) {
|
|
7223
7365
|
var string = stringGenerator(struct);
|
|
7224
|
-
|
|
7225
|
-
|
|
7366
|
+
var tags = $this.w14_1.z11(struct.lr());
|
|
7367
|
+
var tmp;
|
|
7368
|
+
if ($this.s1e_1.y(struct.xt())) {
|
|
7369
|
+
tmp = true;
|
|
7370
|
+
} else {
|
|
7371
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
7372
|
+
tmp = charSequenceLength(tags) > 0;
|
|
7373
|
+
}
|
|
7374
|
+
if (tmp) {
|
|
7375
|
+
string = wrapWithinParentheses($this, string);
|
|
7226
7376
|
}
|
|
7227
|
-
return string;
|
|
7377
|
+
return string + tags;
|
|
7228
7378
|
}
|
|
7229
7379
|
function visitExpression($this, struct) {
|
|
7230
7380
|
var prefix = isPrefix($this, struct);
|
|
@@ -7241,16 +7391,16 @@
|
|
|
7241
7391
|
}
|
|
7242
7392
|
var lowerPriority = isLowerPriority($this, struct);
|
|
7243
7393
|
if (!(lowerPriority == null)) {
|
|
7244
|
-
return wrapWithinParentheses($this, struct.accept(childFormatter($this, lowerPriority.second)));
|
|
7394
|
+
return $this.z14(wrapWithinParentheses($this, struct.accept(childFormatter($this, lowerPriority.second))), struct);
|
|
7245
7395
|
}
|
|
7246
7396
|
return protoOf(AbstractTermFormatter).yv.call($this, struct);
|
|
7247
7397
|
}
|
|
7248
7398
|
function childFormatter($this, priority, forceParentheses) {
|
|
7249
7399
|
forceParentheses = forceParentheses === VOID ? emptySet() : forceParentheses;
|
|
7250
|
-
return new TermFormatterWithPrettyExpressions(priority, $this.
|
|
7400
|
+
return new TermFormatterWithPrettyExpressions(priority, $this.q1e_1, $this.r1e_1, forceParentheses, $this.t14_1, $this.u14_1, $this.v14_1, $this.w14_1);
|
|
7251
7401
|
}
|
|
7252
7402
|
function isOperator($this, $receiver) {
|
|
7253
|
-
return $this.
|
|
7403
|
+
return $this.r1e_1.f2($receiver);
|
|
7254
7404
|
}
|
|
7255
7405
|
function getSpecifierAndIndex($this, $receiver, functor, priorityPredicate, specifierPredicate) {
|
|
7256
7406
|
var tmp0_safe_receiver = $receiver.h2(functor);
|
|
@@ -7288,7 +7438,7 @@
|
|
|
7288
7438
|
var tmp;
|
|
7289
7439
|
if ($receiver.rt() === 1) {
|
|
7290
7440
|
var tmp_0 = $receiver.xt();
|
|
7291
|
-
tmp = getSpecifierAndIndexWithNonGreaterPriority($this, $this.
|
|
7441
|
+
tmp = getSpecifierAndIndexWithNonGreaterPriority($this, $this.r1e_1, tmp_0, $this.p1e_1, TermFormatterWithPrettyExpressions$isPrefix$lambda);
|
|
7292
7442
|
} else {
|
|
7293
7443
|
tmp = null;
|
|
7294
7444
|
}
|
|
@@ -7298,7 +7448,7 @@
|
|
|
7298
7448
|
var tmp;
|
|
7299
7449
|
if ($receiver.rt() === 1) {
|
|
7300
7450
|
var tmp_0 = $receiver.xt();
|
|
7301
|
-
tmp = getSpecifierAndIndexWithNonGreaterPriority($this, $this.
|
|
7451
|
+
tmp = getSpecifierAndIndexWithNonGreaterPriority($this, $this.r1e_1, tmp_0, $this.p1e_1, TermFormatterWithPrettyExpressions$isPostfix$lambda);
|
|
7302
7452
|
} else {
|
|
7303
7453
|
tmp = null;
|
|
7304
7454
|
}
|
|
@@ -7308,7 +7458,7 @@
|
|
|
7308
7458
|
var tmp;
|
|
7309
7459
|
if ($receiver.rt() === 2) {
|
|
7310
7460
|
var tmp_0 = $receiver.xt();
|
|
7311
|
-
tmp = getSpecifierAndIndexWithNonGreaterPriority($this, $this.
|
|
7461
|
+
tmp = getSpecifierAndIndexWithNonGreaterPriority($this, $this.r1e_1, tmp_0, $this.p1e_1, TermFormatterWithPrettyExpressions$isInfix$lambda);
|
|
7312
7462
|
} else {
|
|
7313
7463
|
tmp = null;
|
|
7314
7464
|
}
|
|
@@ -7319,11 +7469,11 @@
|
|
|
7319
7469
|
switch ($receiver.rt()) {
|
|
7320
7470
|
case 1:
|
|
7321
7471
|
var tmp_0 = $receiver.xt();
|
|
7322
|
-
tmp = getSpecifierAndIndexWithGreaterPriority($this, $this.
|
|
7472
|
+
tmp = getSpecifierAndIndexWithGreaterPriority($this, $this.r1e_1, tmp_0, $this.p1e_1, TermFormatterWithPrettyExpressions$isLowerPriority$lambda);
|
|
7323
7473
|
break;
|
|
7324
7474
|
case 2:
|
|
7325
7475
|
var tmp_1 = $receiver.xt();
|
|
7326
|
-
tmp = getSpecifierAndIndexWithGreaterPriority($this, $this.
|
|
7476
|
+
tmp = getSpecifierAndIndexWithGreaterPriority($this, $this.r1e_1, tmp_1, $this.p1e_1, TermFormatterWithPrettyExpressions$isLowerPriority$lambda_0);
|
|
7327
7477
|
break;
|
|
7328
7478
|
default:
|
|
7329
7479
|
tmp = null;
|
|
@@ -7331,9 +7481,17 @@
|
|
|
7331
7481
|
}
|
|
7332
7482
|
return tmp;
|
|
7333
7483
|
}
|
|
7334
|
-
function TermFormatterWithPrettyExpressions$visitTuple$lambda(this$0) {
|
|
7484
|
+
function TermFormatterWithPrettyExpressions$visitTuple$lambda$lambda(this$0) {
|
|
7335
7485
|
return function (it) {
|
|
7336
|
-
return it.accept(this$0.
|
|
7486
|
+
return it.accept(this$0.y14());
|
|
7487
|
+
};
|
|
7488
|
+
}
|
|
7489
|
+
function TermFormatterWithPrettyExpressions$visitTuple$lambda($term, this$0) {
|
|
7490
|
+
return function ($this$addingParenthesesIfForced) {
|
|
7491
|
+
var op = ',';
|
|
7492
|
+
var tmp = $term.hv();
|
|
7493
|
+
var tmp_0 = _get_prefix__wiwq7t(Companion_getInstance_30(), op) + op + _get_suffix__6yo6oq(Companion_getInstance_30(), op);
|
|
7494
|
+
return joinToString_0(tmp, tmp_0, VOID, VOID, VOID, VOID, TermFormatterWithPrettyExpressions$visitTuple$lambda$lambda(this$0));
|
|
7337
7495
|
};
|
|
7338
7496
|
}
|
|
7339
7497
|
function TermFormatterWithPrettyExpressions$visitExpression$lambda(this$0, $prefix) {
|
|
@@ -7358,7 +7516,7 @@
|
|
|
7358
7516
|
}
|
|
7359
7517
|
function TermFormatterWithPrettyExpressions$getSpecifierAndIndex$lambda_0(this$0) {
|
|
7360
7518
|
return function (it) {
|
|
7361
|
-
return !this$0.
|
|
7519
|
+
return !this$0.s1e_1.y(it.d2().k2_1);
|
|
7362
7520
|
};
|
|
7363
7521
|
}
|
|
7364
7522
|
function TermFormatterWithPrettyExpressions$getSpecifierAndIndex$lambda_1(it) {
|
|
@@ -7376,63 +7534,64 @@
|
|
|
7376
7534
|
};
|
|
7377
7535
|
}
|
|
7378
7536
|
function TermFormatterWithPrettyExpressions$isPrefix$lambda($this$getSpecifierAndIndexWithNonGreaterPriority) {
|
|
7379
|
-
return $this$getSpecifierAndIndexWithNonGreaterPriority.
|
|
7537
|
+
return $this$getSpecifierAndIndexWithNonGreaterPriority.v1e();
|
|
7380
7538
|
}
|
|
7381
7539
|
function TermFormatterWithPrettyExpressions$isPostfix$lambda($this$getSpecifierAndIndexWithNonGreaterPriority) {
|
|
7382
|
-
return $this$getSpecifierAndIndexWithNonGreaterPriority.
|
|
7540
|
+
return $this$getSpecifierAndIndexWithNonGreaterPriority.w1e();
|
|
7383
7541
|
}
|
|
7384
7542
|
function TermFormatterWithPrettyExpressions$isInfix$lambda($this$getSpecifierAndIndexWithNonGreaterPriority) {
|
|
7385
|
-
return $this$getSpecifierAndIndexWithNonGreaterPriority.
|
|
7543
|
+
return $this$getSpecifierAndIndexWithNonGreaterPriority.x1e();
|
|
7386
7544
|
}
|
|
7387
7545
|
function TermFormatterWithPrettyExpressions$isLowerPriority$lambda($this$getSpecifierAndIndexWithGreaterPriority) {
|
|
7388
|
-
return $this$getSpecifierAndIndexWithGreaterPriority.
|
|
7546
|
+
return $this$getSpecifierAndIndexWithGreaterPriority.v1e() || $this$getSpecifierAndIndexWithGreaterPriority.w1e();
|
|
7389
7547
|
}
|
|
7390
7548
|
function TermFormatterWithPrettyExpressions$isLowerPriority$lambda_0($this$getSpecifierAndIndexWithGreaterPriority) {
|
|
7391
|
-
return $this$getSpecifierAndIndexWithGreaterPriority.
|
|
7549
|
+
return $this$getSpecifierAndIndexWithGreaterPriority.x1e();
|
|
7392
7550
|
}
|
|
7393
|
-
function TermFormatterWithPrettyExpressions(priority, delegate, operators, forceParentheses, quoted, numberVars, ignoreOps) {
|
|
7551
|
+
function TermFormatterWithPrettyExpressions(priority, delegate, operators, forceParentheses, quoted, numberVars, ignoreOps, tagsOptions) {
|
|
7394
7552
|
Companion_getInstance_30();
|
|
7395
7553
|
quoted = quoted === VOID ? true : quoted;
|
|
7396
7554
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
7397
7555
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
7398
|
-
|
|
7399
|
-
this
|
|
7400
|
-
this.
|
|
7401
|
-
this.
|
|
7402
|
-
this.
|
|
7556
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
7557
|
+
AbstractTermFormatter.call(this, quoted, numberVars, ignoreOps, tagsOptions);
|
|
7558
|
+
this.p1e_1 = priority;
|
|
7559
|
+
this.q1e_1 = delegate;
|
|
7560
|
+
this.r1e_1 = operators;
|
|
7561
|
+
this.s1e_1 = forceParentheses;
|
|
7403
7562
|
}
|
|
7404
7563
|
protoOf(TermFormatterWithPrettyExpressions).gw = function (term) {
|
|
7405
|
-
return term.accept(this.
|
|
7564
|
+
return term.accept(this.q1e_1);
|
|
7406
7565
|
};
|
|
7407
7566
|
protoOf(TermFormatterWithPrettyExpressions).visitVar = function (term) {
|
|
7408
7567
|
return this.gw(term);
|
|
7409
7568
|
};
|
|
7410
|
-
protoOf(TermFormatterWithPrettyExpressions).
|
|
7411
|
-
return term.accept(this.
|
|
7569
|
+
protoOf(TermFormatterWithPrettyExpressions).a15 = function (term) {
|
|
7570
|
+
return term.accept(this.q1e_1);
|
|
7412
7571
|
};
|
|
7413
7572
|
protoOf(TermFormatterWithPrettyExpressions).visitAtom = function (term) {
|
|
7414
|
-
return this.
|
|
7573
|
+
return this.a15(term);
|
|
7415
7574
|
};
|
|
7416
|
-
protoOf(TermFormatterWithPrettyExpressions).
|
|
7417
|
-
return term.accept(this.
|
|
7575
|
+
protoOf(TermFormatterWithPrettyExpressions).y1e = function (term) {
|
|
7576
|
+
return term.accept(this.q1e_1);
|
|
7418
7577
|
};
|
|
7419
7578
|
protoOf(TermFormatterWithPrettyExpressions).visitInteger = function (term) {
|
|
7420
|
-
return this.
|
|
7579
|
+
return this.y1e(term);
|
|
7421
7580
|
};
|
|
7422
|
-
protoOf(TermFormatterWithPrettyExpressions).
|
|
7423
|
-
return term.accept(this.
|
|
7581
|
+
protoOf(TermFormatterWithPrettyExpressions).z1e = function (term) {
|
|
7582
|
+
return term.accept(this.q1e_1);
|
|
7424
7583
|
};
|
|
7425
7584
|
protoOf(TermFormatterWithPrettyExpressions).visitReal = function (term) {
|
|
7426
|
-
return this.
|
|
7585
|
+
return this.z1e(term);
|
|
7427
7586
|
};
|
|
7428
7587
|
protoOf(TermFormatterWithPrettyExpressions).wv = function (term) {
|
|
7429
|
-
return term.accept(this.
|
|
7588
|
+
return term.accept(this.q1e_1);
|
|
7430
7589
|
};
|
|
7431
7590
|
protoOf(TermFormatterWithPrettyExpressions).visitEmptyBlock = function (term) {
|
|
7432
7591
|
return this.wv(term);
|
|
7433
7592
|
};
|
|
7434
7593
|
protoOf(TermFormatterWithPrettyExpressions).az = function (term) {
|
|
7435
|
-
return term.accept(this.
|
|
7594
|
+
return term.accept(this.q1e_1);
|
|
7436
7595
|
};
|
|
7437
7596
|
protoOf(TermFormatterWithPrettyExpressions).visitEmptyList = function (term) {
|
|
7438
7597
|
return this.az(term);
|
|
@@ -7450,36 +7609,31 @@
|
|
|
7450
7609
|
return this.yv(term);
|
|
7451
7610
|
};
|
|
7452
7611
|
protoOf(TermFormatterWithPrettyExpressions).mv = function (term) {
|
|
7453
|
-
|
|
7454
|
-
var tmp = term.hv();
|
|
7455
|
-
var string = joinToString(map(tmp, TermFormatterWithPrettyExpressions$visitTuple$lambda(this)), _get_prefix__wiwq7t(Companion_getInstance_30(), op) + op + _get_suffix__6yo6oq(Companion_getInstance_30(), op));
|
|
7456
|
-
if (this.a1e_1.y(op)) {
|
|
7457
|
-
return wrapWithinParentheses(this, string);
|
|
7458
|
-
}
|
|
7459
|
-
return string;
|
|
7612
|
+
return addingParenthesesIfForced(this, term, TermFormatterWithPrettyExpressions$visitTuple$lambda(term, this));
|
|
7460
7613
|
};
|
|
7461
7614
|
protoOf(TermFormatterWithPrettyExpressions).visitTuple = function (term) {
|
|
7462
7615
|
return this.mv(term);
|
|
7463
7616
|
};
|
|
7464
|
-
protoOf(TermFormatterWithPrettyExpressions).
|
|
7617
|
+
protoOf(TermFormatterWithPrettyExpressions).y14 = function () {
|
|
7465
7618
|
return childFormatter(this, 2147483647, setOf([',', '|']));
|
|
7466
7619
|
};
|
|
7467
|
-
protoOf(TermFormatterWithPrettyExpressions).
|
|
7620
|
+
protoOf(TermFormatterWithPrettyExpressions).x14 = function () {
|
|
7468
7621
|
return childFormatter(this, 2147483647, setOf_0(','));
|
|
7469
7622
|
};
|
|
7470
7623
|
protoOf(TermFormatterWithPrettyExpressions).format = function (value) {
|
|
7471
|
-
return this.
|
|
7624
|
+
return this.i12((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7472
7625
|
};
|
|
7473
|
-
function TermFormatterWithPrettyVariables(quoted, numberVars, ignoreOps) {
|
|
7626
|
+
function TermFormatterWithPrettyVariables(quoted, numberVars, ignoreOps, tagsOptions) {
|
|
7474
7627
|
quoted = quoted === VOID ? true : quoted;
|
|
7475
7628
|
numberVars = numberVars === VOID ? false : numberVars;
|
|
7476
7629
|
ignoreOps = ignoreOps === VOID ? false : ignoreOps;
|
|
7477
|
-
|
|
7630
|
+
tagsOptions = tagsOptions === VOID ? new TagsFormattingOptions() : tagsOptions;
|
|
7631
|
+
AbstractTermFormatterForVariables.call(this, quoted, numberVars, ignoreOps, tagsOptions);
|
|
7478
7632
|
}
|
|
7479
|
-
protoOf(TermFormatterWithPrettyVariables).
|
|
7633
|
+
protoOf(TermFormatterWithPrettyVariables).m15 = function (variable, suffix) {
|
|
7480
7634
|
var baseName = variable.m2() + suffix;
|
|
7481
7635
|
var tmp;
|
|
7482
|
-
if (variable.
|
|
7636
|
+
if (variable.w12()) {
|
|
7483
7637
|
tmp = baseName;
|
|
7484
7638
|
} else {
|
|
7485
7639
|
tmp = Companion_getInstance_25().escapeName(baseName);
|
|
@@ -7487,20 +7641,20 @@
|
|
|
7487
7641
|
return tmp;
|
|
7488
7642
|
};
|
|
7489
7643
|
protoOf(TermFormatterWithPrettyVariables).format = function (value) {
|
|
7490
|
-
return this.
|
|
7644
|
+
return this.i12((!(value == null) ? isInterface(value, Term) : false) ? value : THROW_CCE());
|
|
7491
7645
|
};
|
|
7492
7646
|
function TermImpl(tags) {
|
|
7493
7647
|
tags = tags === VOID ? emptyMap() : tags;
|
|
7494
|
-
this.
|
|
7648
|
+
this.u13_1 = tags;
|
|
7495
7649
|
}
|
|
7496
7650
|
protoOf(TermImpl).lr = function () {
|
|
7497
|
-
return this.
|
|
7651
|
+
return this.u13_1;
|
|
7498
7652
|
};
|
|
7499
|
-
protoOf(TermImpl).
|
|
7653
|
+
protoOf(TermImpl).o14 = function () {
|
|
7500
7654
|
return -1368133982;
|
|
7501
7655
|
};
|
|
7502
7656
|
protoOf(TermImpl).hashCode = function () {
|
|
7503
|
-
return this.
|
|
7657
|
+
return this.g14();
|
|
7504
7658
|
};
|
|
7505
7659
|
protoOf(TermImpl).au = function () {
|
|
7506
7660
|
return this;
|
|
@@ -7517,7 +7671,7 @@
|
|
|
7517
7671
|
protoOf(TermImpl).b10 = function (tags) {
|
|
7518
7672
|
var tmp;
|
|
7519
7673
|
if (!equals(this.lr(), tags)) {
|
|
7520
|
-
tmp = this.
|
|
7674
|
+
tmp = this.t13(tags);
|
|
7521
7675
|
} else {
|
|
7522
7676
|
tmp = this;
|
|
7523
7677
|
}
|
|
@@ -7526,14 +7680,14 @@
|
|
|
7526
7680
|
protoOf(TermImpl).resetTags = function (tags) {
|
|
7527
7681
|
return this.b10(tags);
|
|
7528
7682
|
};
|
|
7529
|
-
protoOf(TermImpl).
|
|
7683
|
+
protoOf(TermImpl).p14 = function (substitution) {
|
|
7530
7684
|
var tmp;
|
|
7531
7685
|
if (substitution.d10()) {
|
|
7532
7686
|
var tmp_0;
|
|
7533
|
-
if (this.
|
|
7687
|
+
if (this.q14(substitution.castToUnifier())) {
|
|
7534
7688
|
tmp_0 = this;
|
|
7535
7689
|
} else {
|
|
7536
|
-
tmp_0 = this.
|
|
7690
|
+
tmp_0 = this.s13(substitution.castToUnifier());
|
|
7537
7691
|
}
|
|
7538
7692
|
tmp = tmp_0;
|
|
7539
7693
|
} else {
|
|
@@ -7542,12 +7696,12 @@
|
|
|
7542
7696
|
return tmp;
|
|
7543
7697
|
};
|
|
7544
7698
|
protoOf(TermImpl).applySubstitution = function (substitution) {
|
|
7545
|
-
return this.
|
|
7699
|
+
return this.p14(substitution);
|
|
7546
7700
|
};
|
|
7547
|
-
protoOf(TermImpl).
|
|
7701
|
+
protoOf(TermImpl).q14 = function (unifier) {
|
|
7548
7702
|
return unifier.h() || this.bv();
|
|
7549
7703
|
};
|
|
7550
|
-
protoOf(TermImpl).
|
|
7704
|
+
protoOf(TermImpl).s13 = function (unifier) {
|
|
7551
7705
|
return this;
|
|
7552
7706
|
};
|
|
7553
7707
|
protoOf(TermImpl).ep = function () {
|
|
@@ -7559,16 +7713,16 @@
|
|
|
7559
7713
|
function TruthImpl(value, isTrue, tags) {
|
|
7560
7714
|
tags = tags === VOID ? emptyMap() : tags;
|
|
7561
7715
|
AtomImpl.call(this, value, tags);
|
|
7562
|
-
this.
|
|
7716
|
+
this.k1f_1 = isTrue;
|
|
7563
7717
|
}
|
|
7564
7718
|
protoOf(TruthImpl).vt = function () {
|
|
7565
|
-
return this.
|
|
7719
|
+
return this.k1f_1;
|
|
7566
7720
|
};
|
|
7567
7721
|
protoOf(TruthImpl).toString = function () {
|
|
7568
7722
|
return this.e2();
|
|
7569
7723
|
};
|
|
7570
|
-
protoOf(TruthImpl).
|
|
7571
|
-
return new TruthImpl(this.e2(), this.
|
|
7724
|
+
protoOf(TruthImpl).t13 = function (tags) {
|
|
7725
|
+
return new TruthImpl(this.e2(), this.k1f_1, tags);
|
|
7572
7726
|
};
|
|
7573
7727
|
protoOf(TruthImpl).au = function () {
|
|
7574
7728
|
return this;
|
|
@@ -7582,11 +7736,11 @@
|
|
|
7582
7736
|
protoOf(TruthImpl).freshCopyFromScope = function (scope) {
|
|
7583
7737
|
return this.bu(scope);
|
|
7584
7738
|
};
|
|
7585
|
-
protoOf(TruthImpl).
|
|
7739
|
+
protoOf(TruthImpl).v13 = function (visitor) {
|
|
7586
7740
|
return visitor.visitTruth(this);
|
|
7587
7741
|
};
|
|
7588
7742
|
protoOf(TruthImpl).accept = function (visitor) {
|
|
7589
|
-
return this.
|
|
7743
|
+
return this.v13(visitor);
|
|
7590
7744
|
};
|
|
7591
7745
|
protoOf(TruthImpl).ep = function () {
|
|
7592
7746
|
return this.ru();
|
|
@@ -7604,19 +7758,19 @@
|
|
|
7604
7758
|
return this.nu();
|
|
7605
7759
|
};
|
|
7606
7760
|
protoOf(TruthImpl).asTruth = function () {
|
|
7607
|
-
return this.
|
|
7761
|
+
return this.j12();
|
|
7608
7762
|
};
|
|
7609
7763
|
function TupleImpl$unfoldedSequence$$inlined$Iterable$1(this$0) {
|
|
7610
|
-
this.
|
|
7764
|
+
this.l1f_1 = this$0;
|
|
7611
7765
|
}
|
|
7612
7766
|
protoOf(TupleImpl$unfoldedSequence$$inlined$Iterable$1).n = function () {
|
|
7613
|
-
return new TupleIterator(this.
|
|
7767
|
+
return new TupleIterator(this.l1f_1);
|
|
7614
7768
|
};
|
|
7615
7769
|
function TupleImpl$unfold$$inlined$Iterable$1(this$0) {
|
|
7616
|
-
this.
|
|
7770
|
+
this.m1f_1 = this$0;
|
|
7617
7771
|
}
|
|
7618
7772
|
protoOf(TupleImpl$unfold$$inlined$Iterable$1).n = function () {
|
|
7619
|
-
return new TupleUnfolder(this.
|
|
7773
|
+
return new TupleUnfolder(this.m1f_1);
|
|
7620
7774
|
};
|
|
7621
7775
|
function TupleImpl$freshCopy$lambda($scope) {
|
|
7622
7776
|
return function (it) {
|
|
@@ -7626,22 +7780,22 @@
|
|
|
7626
7780
|
function TupleImpl(left, right, tags) {
|
|
7627
7781
|
tags = tags === VOID ? emptyMap() : tags;
|
|
7628
7782
|
RecursiveImpl.call(this, ',', listOf([left, right]), tags);
|
|
7629
|
-
this.
|
|
7630
|
-
this.
|
|
7631
|
-
this.
|
|
7632
|
-
this.
|
|
7783
|
+
this.s1f_1 = left;
|
|
7784
|
+
this.t1f_1 = right;
|
|
7785
|
+
this.u1f_1 = this.w13();
|
|
7786
|
+
this.v1f_1 = ',';
|
|
7633
7787
|
}
|
|
7634
7788
|
protoOf(TupleImpl).rv = function () {
|
|
7635
|
-
return this.
|
|
7789
|
+
return this.s1f_1;
|
|
7636
7790
|
};
|
|
7637
7791
|
protoOf(TupleImpl).qv = function () {
|
|
7638
|
-
return this.
|
|
7792
|
+
return this.t1f_1;
|
|
7639
7793
|
};
|
|
7640
7794
|
protoOf(TupleImpl).bv = function () {
|
|
7641
|
-
return this.
|
|
7795
|
+
return this.u1f_1;
|
|
7642
7796
|
};
|
|
7643
|
-
protoOf(TupleImpl).
|
|
7644
|
-
return this.
|
|
7797
|
+
protoOf(TupleImpl).w13 = function () {
|
|
7798
|
+
return this.s1f_1.bv() && this.t1f_1.bv();
|
|
7645
7799
|
};
|
|
7646
7800
|
protoOf(TupleImpl).hv = function () {
|
|
7647
7801
|
// Inline function 'kotlin.collections.Iterable' call
|
|
@@ -7651,22 +7805,22 @@
|
|
|
7651
7805
|
protoOf(TupleImpl).s = function () {
|
|
7652
7806
|
return this.gv().s();
|
|
7653
7807
|
};
|
|
7654
|
-
protoOf(TupleImpl).
|
|
7808
|
+
protoOf(TupleImpl).m13 = function () {
|
|
7655
7809
|
// Inline function 'kotlin.collections.Iterable' call
|
|
7656
7810
|
var tmp$ret$0 = new TupleImpl$unfold$$inlined$Iterable$1(this);
|
|
7657
7811
|
return asSequence_0(tmp$ret$0);
|
|
7658
7812
|
};
|
|
7659
7813
|
protoOf(TupleImpl).unfold = function () {
|
|
7660
|
-
return this.
|
|
7814
|
+
return this.m13();
|
|
7661
7815
|
};
|
|
7662
7816
|
protoOf(TupleImpl).xt = function () {
|
|
7663
|
-
return this.
|
|
7817
|
+
return this.v1f_1;
|
|
7664
7818
|
};
|
|
7665
7819
|
protoOf(TupleImpl).toString = function () {
|
|
7666
|
-
return
|
|
7820
|
+
return joinToString_0(this.hv(), ', ', '(', ')');
|
|
7667
7821
|
};
|
|
7668
|
-
protoOf(TupleImpl).
|
|
7669
|
-
return new TupleImpl(this.
|
|
7822
|
+
protoOf(TupleImpl).t13 = function (tags) {
|
|
7823
|
+
return new TupleImpl(this.s1f_1, this.t1f_1, tags);
|
|
7670
7824
|
};
|
|
7671
7825
|
protoOf(TupleImpl).au = function () {
|
|
7672
7826
|
return protoOf(RecursiveImpl).au.call(this).castToTuple();
|
|
@@ -7676,7 +7830,7 @@
|
|
|
7676
7830
|
};
|
|
7677
7831
|
protoOf(TupleImpl).bu = function (scope) {
|
|
7678
7832
|
var tmp;
|
|
7679
|
-
if (this.
|
|
7833
|
+
if (this.u1f_1) {
|
|
7680
7834
|
tmp = this;
|
|
7681
7835
|
} else {
|
|
7682
7836
|
var tmp_0 = this.qu();
|
|
@@ -7687,11 +7841,11 @@
|
|
|
7687
7841
|
protoOf(TupleImpl).freshCopyFromScope = function (scope) {
|
|
7688
7842
|
return this.bu(scope);
|
|
7689
7843
|
};
|
|
7690
|
-
protoOf(TupleImpl).
|
|
7844
|
+
protoOf(TupleImpl).v13 = function (visitor) {
|
|
7691
7845
|
return visitor.visitTuple(this);
|
|
7692
7846
|
};
|
|
7693
7847
|
protoOf(TupleImpl).accept = function (visitor) {
|
|
7694
|
-
return this.
|
|
7848
|
+
return this.v13(visitor);
|
|
7695
7849
|
};
|
|
7696
7850
|
protoOf(TupleImpl).ep = function () {
|
|
7697
7851
|
return this.ru();
|
|
@@ -7706,7 +7860,7 @@
|
|
|
7706
7860
|
return this.jv();
|
|
7707
7861
|
};
|
|
7708
7862
|
protoOf(TupleImpl).asTuple = function () {
|
|
7709
|
-
return this.
|
|
7863
|
+
return this.o12();
|
|
7710
7864
|
};
|
|
7711
7865
|
protoOf(TupleImpl).t4 = function () {
|
|
7712
7866
|
return this.t4();
|
|
@@ -7715,33 +7869,33 @@
|
|
|
7715
7869
|
return this.fv();
|
|
7716
7870
|
};
|
|
7717
7871
|
function TupleUnfolder$tupleUnfolderVisitor$1(this$0) {
|
|
7718
|
-
this.
|
|
7872
|
+
this.w1f_1 = this$0;
|
|
7719
7873
|
}
|
|
7720
7874
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).mv = function (term) {
|
|
7721
|
-
this.
|
|
7875
|
+
this.w1f_1.x1f_1 = term.qv();
|
|
7722
7876
|
return term;
|
|
7723
7877
|
};
|
|
7724
7878
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).visitTuple = function (term) {
|
|
7725
7879
|
return this.mv(term);
|
|
7726
7880
|
};
|
|
7727
7881
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).sv = function (term) {
|
|
7728
|
-
this.
|
|
7882
|
+
this.w1f_1.x1f_1 = null;
|
|
7729
7883
|
return term;
|
|
7730
7884
|
};
|
|
7731
7885
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).defaultValue = function (term) {
|
|
7732
7886
|
return this.sv(term);
|
|
7733
7887
|
};
|
|
7734
7888
|
function TupleUnfolder(tuple) {
|
|
7735
|
-
this.
|
|
7889
|
+
this.x1f_1 = tuple;
|
|
7736
7890
|
var tmp = this;
|
|
7737
|
-
tmp.
|
|
7891
|
+
tmp.y1f_1 = new TupleUnfolder$tupleUnfolderVisitor$1(this);
|
|
7738
7892
|
}
|
|
7739
7893
|
protoOf(TupleUnfolder).q = function () {
|
|
7740
|
-
return !(this.
|
|
7894
|
+
return !(this.x1f_1 == null);
|
|
7741
7895
|
};
|
|
7742
7896
|
protoOf(TupleUnfolder).r = function () {
|
|
7743
|
-
var tmp0_safe_receiver = this.
|
|
7744
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.
|
|
7897
|
+
var tmp0_safe_receiver = this.x1f_1;
|
|
7898
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.accept(this.y1f_1);
|
|
7745
7899
|
var tmp;
|
|
7746
7900
|
if (tmp1_elvis_lhs == null) {
|
|
7747
7901
|
throw NoSuchElementException_init_$Create$();
|
|
@@ -7751,11 +7905,11 @@
|
|
|
7751
7905
|
return tmp;
|
|
7752
7906
|
};
|
|
7753
7907
|
function instanceId($this, name) {
|
|
7754
|
-
return synchronizedOn($this.
|
|
7908
|
+
return synchronizedOn($this.z1f_1, VarImpl$Companion$instanceId$lambda(name));
|
|
7755
7909
|
}
|
|
7756
7910
|
function VarImpl$Companion$instanceId$lambda($name) {
|
|
7757
7911
|
return function () {
|
|
7758
|
-
var tmp0_safe_receiver = Companion_getInstance_31().
|
|
7912
|
+
var tmp0_safe_receiver = Companion_getInstance_31().z1f_1.h2($name);
|
|
7759
7913
|
var tmp;
|
|
7760
7914
|
if (tmp0_safe_receiver == null) {
|
|
7761
7915
|
tmp = null;
|
|
@@ -7766,7 +7920,7 @@
|
|
|
7766
7920
|
}
|
|
7767
7921
|
var tmp1_elvis_lhs = tmp;
|
|
7768
7922
|
var count = tmp1_elvis_lhs == null ? 0n : tmp1_elvis_lhs;
|
|
7769
|
-
var tmp0 = Companion_getInstance_31().
|
|
7923
|
+
var tmp0 = Companion_getInstance_31().z1f_1;
|
|
7770
7924
|
// Inline function 'kotlin.collections.set' call
|
|
7771
7925
|
var key = $name;
|
|
7772
7926
|
tmp0.k4(key, count);
|
|
@@ -7777,7 +7931,7 @@
|
|
|
7777
7931
|
Companion_instance_30 = this;
|
|
7778
7932
|
var tmp = this;
|
|
7779
7933
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7780
|
-
tmp.
|
|
7934
|
+
tmp.z1f_1 = LinkedHashMap_init_$Create$();
|
|
7781
7935
|
}
|
|
7782
7936
|
var Companion_instance_30;
|
|
7783
7937
|
function Companion_getInstance_31() {
|
|
@@ -7790,13 +7944,13 @@
|
|
|
7790
7944
|
if (useVarCompleteName) {
|
|
7791
7945
|
tmp = $this.r11() === other.r11();
|
|
7792
7946
|
} else {
|
|
7793
|
-
tmp = $this.
|
|
7947
|
+
tmp = $this.b1g_1 === other.m2();
|
|
7794
7948
|
}
|
|
7795
7949
|
return tmp;
|
|
7796
7950
|
}
|
|
7797
7951
|
function VarImpl$completeName$delegate$lambda(this$0) {
|
|
7798
7952
|
return function () {
|
|
7799
|
-
return this$0.
|
|
7953
|
+
return this$0.b1g_1 + '_' + this$0.c1g_1.toString();
|
|
7800
7954
|
};
|
|
7801
7955
|
}
|
|
7802
7956
|
function VarImpl$_get_completeName_$ref_846h0t() {
|
|
@@ -7806,12 +7960,12 @@
|
|
|
7806
7960
|
}
|
|
7807
7961
|
function VarImpl$isNameWellFormed$delegate$lambda(this$0) {
|
|
7808
7962
|
return function () {
|
|
7809
|
-
return Terms_getInstance().us_1.ta(this$0.
|
|
7963
|
+
return Terms_getInstance().us_1.ta(this$0.b1g_1);
|
|
7810
7964
|
};
|
|
7811
7965
|
}
|
|
7812
7966
|
function VarImpl$_get_isNameWellFormed_$ref_ddmxe7() {
|
|
7813
7967
|
return constructCallableReference(function (p0) {
|
|
7814
|
-
return p0.
|
|
7968
|
+
return p0.w12();
|
|
7815
7969
|
}, 1, 0, 22);
|
|
7816
7970
|
}
|
|
7817
7971
|
function VarImpl$hashCodeCache$delegate$lambda(this$0) {
|
|
@@ -7821,7 +7975,7 @@
|
|
|
7821
7975
|
}
|
|
7822
7976
|
function VarImpl$_get_hashCodeCache_$ref_pd8joc() {
|
|
7823
7977
|
return constructCallableReference(function (p0) {
|
|
7824
|
-
return p0.
|
|
7978
|
+
return p0.g14();
|
|
7825
7979
|
}, 1, 0, 23);
|
|
7826
7980
|
}
|
|
7827
7981
|
function VarImpl(name, identifier, tags) {
|
|
@@ -7829,62 +7983,62 @@
|
|
|
7829
7983
|
identifier = identifier === VOID ? instanceId(Companion_getInstance_31(), name) : identifier;
|
|
7830
7984
|
tags = tags === VOID ? emptyMap() : tags;
|
|
7831
7985
|
TermImpl.call(this, tags);
|
|
7832
|
-
this.
|
|
7833
|
-
this.
|
|
7986
|
+
this.b1g_1 = name;
|
|
7987
|
+
this.c1g_1 = identifier;
|
|
7834
7988
|
var tmp = this;
|
|
7835
|
-
tmp.
|
|
7836
|
-
this.
|
|
7989
|
+
tmp.d1g_1 = lazy(VarImpl$completeName$delegate$lambda(this));
|
|
7990
|
+
this.e1g_1 = get_isAnonymous.call(this);
|
|
7837
7991
|
var tmp_0 = this;
|
|
7838
|
-
tmp_0.
|
|
7992
|
+
tmp_0.f1g_1 = lazy(VarImpl$isNameWellFormed$delegate$lambda(this));
|
|
7839
7993
|
var tmp_1 = this;
|
|
7840
|
-
tmp_1.
|
|
7994
|
+
tmp_1.g1g_1 = lazy(VarImpl$hashCodeCache$delegate$lambda(this));
|
|
7841
7995
|
}
|
|
7842
7996
|
protoOf(VarImpl).m2 = function () {
|
|
7843
|
-
return this.
|
|
7997
|
+
return this.b1g_1;
|
|
7844
7998
|
};
|
|
7845
7999
|
protoOf(VarImpl).r11 = function () {
|
|
7846
|
-
var tmp0 = this.
|
|
8000
|
+
var tmp0 = this.d1g_1;
|
|
7847
8001
|
var tmp = KProperty1;
|
|
7848
8002
|
// Inline function 'kotlin.getValue' call
|
|
7849
8003
|
getPropertyCallableRef('completeName', 1, tmp, VarImpl$_get_completeName_$ref_846h0t(), null);
|
|
7850
8004
|
return tmp0.e2();
|
|
7851
8005
|
};
|
|
7852
|
-
protoOf(VarImpl).
|
|
7853
|
-
return this.
|
|
8006
|
+
protoOf(VarImpl).u12 = function () {
|
|
8007
|
+
return this.e1g_1;
|
|
7854
8008
|
};
|
|
7855
|
-
protoOf(VarImpl).
|
|
7856
|
-
var tmp0 = this.
|
|
8009
|
+
protoOf(VarImpl).w12 = function () {
|
|
8010
|
+
var tmp0 = this.f1g_1;
|
|
7857
8011
|
var tmp = KProperty1;
|
|
7858
8012
|
// Inline function 'kotlin.getValue' call
|
|
7859
8013
|
getPropertyCallableRef('isNameWellFormed', 1, tmp, VarImpl$_get_isNameWellFormed_$ref_ddmxe7(), null);
|
|
7860
8014
|
return tmp0.e2();
|
|
7861
8015
|
};
|
|
7862
|
-
protoOf(VarImpl).
|
|
8016
|
+
protoOf(VarImpl).e14 = function (other) {
|
|
7863
8017
|
return other.tu();
|
|
7864
8018
|
};
|
|
7865
8019
|
protoOf(VarImpl).structurallyEquals = function (other) {
|
|
7866
|
-
return this.
|
|
8020
|
+
return this.e14(other);
|
|
7867
8021
|
};
|
|
7868
|
-
protoOf(VarImpl).
|
|
7869
|
-
return new VarImpl(this.
|
|
8022
|
+
protoOf(VarImpl).t13 = function (tags) {
|
|
8023
|
+
return new VarImpl(this.b1g_1, this.c1g_1, tags);
|
|
7870
8024
|
};
|
|
7871
8025
|
protoOf(VarImpl).au = function () {
|
|
7872
|
-
return new VarImpl(this.
|
|
8026
|
+
return new VarImpl(this.b1g_1, VOID, this.lr());
|
|
7873
8027
|
};
|
|
7874
8028
|
protoOf(VarImpl).freshCopy = function () {
|
|
7875
8029
|
return this.au();
|
|
7876
8030
|
};
|
|
7877
8031
|
protoOf(VarImpl).bu = function (scope) {
|
|
7878
|
-
return setTags(this.
|
|
8032
|
+
return setTags(this.e1g_1 ? scope.anonymous() : scope.varOf(this.b1g_1), this.lr());
|
|
7879
8033
|
};
|
|
7880
8034
|
protoOf(VarImpl).freshCopyFromScope = function (scope) {
|
|
7881
8035
|
return this.bu(scope);
|
|
7882
8036
|
};
|
|
7883
8037
|
protoOf(VarImpl).toString = function () {
|
|
7884
|
-
return this.
|
|
8038
|
+
return this.w12() ? this.r11() : Companion_getInstance_25().escapeName(this.r11());
|
|
7885
8039
|
};
|
|
7886
|
-
protoOf(VarImpl).
|
|
7887
|
-
return this.
|
|
8040
|
+
protoOf(VarImpl).v12 = function () {
|
|
8041
|
+
return this.c1g_1.toString();
|
|
7888
8042
|
};
|
|
7889
8043
|
protoOf(VarImpl).equals = function (other) {
|
|
7890
8044
|
if (this === other)
|
|
@@ -7917,33 +8071,33 @@
|
|
|
7917
8071
|
// Inline function 'it.unibo.tuprolog.core.impl.VarImpl.equalsByCompleteName' call
|
|
7918
8072
|
return this.r11() === otherVar.r11();
|
|
7919
8073
|
};
|
|
7920
|
-
protoOf(VarImpl).
|
|
8074
|
+
protoOf(VarImpl).f14 = function (other, useVarCompleteName) {
|
|
7921
8075
|
return other.tu() && equalsToVar(this, other.castToVar(), useVarCompleteName);
|
|
7922
8076
|
};
|
|
7923
8077
|
protoOf(VarImpl).equalsUsingVarCompleteNames = function (other, useVarCompleteName) {
|
|
7924
|
-
return this.
|
|
8078
|
+
return this.f14(other, useVarCompleteName);
|
|
7925
8079
|
};
|
|
7926
|
-
protoOf(VarImpl).
|
|
7927
|
-
var tmp0 = this.
|
|
8080
|
+
protoOf(VarImpl).g14 = function () {
|
|
8081
|
+
var tmp0 = this.g1g_1;
|
|
7928
8082
|
var tmp = KProperty1;
|
|
7929
8083
|
// Inline function 'kotlin.getValue' call
|
|
7930
8084
|
getPropertyCallableRef('hashCodeCache', 1, tmp, VarImpl$_get_hashCodeCache_$ref_pd8joc(), null);
|
|
7931
8085
|
return tmp0.e2();
|
|
7932
8086
|
};
|
|
7933
|
-
protoOf(VarImpl).
|
|
8087
|
+
protoOf(VarImpl).q14 = function (unifier) {
|
|
7934
8088
|
// Inline function 'kotlin.collections.contains' call
|
|
7935
8089
|
// Inline function 'kotlin.collections.containsKey' call
|
|
7936
8090
|
return !(isInterface(unifier, KtMap) ? unifier : THROW_CCE()).f2(this);
|
|
7937
8091
|
};
|
|
7938
|
-
protoOf(VarImpl).
|
|
8092
|
+
protoOf(VarImpl).s13 = function (unifier) {
|
|
7939
8093
|
var tmp0_elvis_lhs = unifier.h2(this);
|
|
7940
8094
|
return tmp0_elvis_lhs == null ? this : tmp0_elvis_lhs;
|
|
7941
8095
|
};
|
|
7942
|
-
protoOf(VarImpl).
|
|
8096
|
+
protoOf(VarImpl).v13 = function (visitor) {
|
|
7943
8097
|
return visitor.visitVar(this);
|
|
7944
8098
|
};
|
|
7945
8099
|
protoOf(VarImpl).accept = function (visitor) {
|
|
7946
|
-
return this.
|
|
8100
|
+
return this.v13(visitor);
|
|
7947
8101
|
};
|
|
7948
8102
|
protoOf(VarImpl).ep = function () {
|
|
7949
8103
|
return this.ru();
|
|
@@ -7952,210 +8106,210 @@
|
|
|
7952
8106
|
return this.su((!(other == null) ? isInterface(other, Term) : false) ? other : THROW_CCE());
|
|
7953
8107
|
};
|
|
7954
8108
|
protoOf(VarImpl).asVar = function () {
|
|
7955
|
-
return this.
|
|
8109
|
+
return this.x12();
|
|
7956
8110
|
};
|
|
7957
8111
|
function VariablesProviderImpl(scope) {
|
|
7958
|
-
this.
|
|
8112
|
+
this.h1g_1 = scope;
|
|
7959
8113
|
}
|
|
7960
|
-
protoOf(VariablesProviderImpl).
|
|
8114
|
+
protoOf(VariablesProviderImpl).i1g = function (thisRef, property) {
|
|
7961
8115
|
return this.varOf(property.callableName);
|
|
7962
8116
|
};
|
|
7963
8117
|
protoOf(VariablesProviderImpl).getValue = function (thisRef, property) {
|
|
7964
|
-
return this.
|
|
8118
|
+
return this.i1g(thisRef, property);
|
|
7965
8119
|
};
|
|
7966
8120
|
protoOf(VariablesProviderImpl).lz = function () {
|
|
7967
|
-
return this.
|
|
8121
|
+
return this.h1g_1.lz();
|
|
7968
8122
|
};
|
|
7969
8123
|
protoOf(VariablesProviderImpl).containsVar = function (variable) {
|
|
7970
|
-
return this.
|
|
8124
|
+
return this.h1g_1.containsVar(variable);
|
|
7971
8125
|
};
|
|
7972
8126
|
protoOf(VariablesProviderImpl).contains = function (variable) {
|
|
7973
|
-
return this.
|
|
8127
|
+
return this.h1g_1.contains(variable);
|
|
7974
8128
|
};
|
|
7975
8129
|
protoOf(VariablesProviderImpl).get = function (variable) {
|
|
7976
|
-
return this.
|
|
8130
|
+
return this.h1g_1.get(variable);
|
|
7977
8131
|
};
|
|
7978
8132
|
protoOf(VariablesProviderImpl).where = function (lambda) {
|
|
7979
|
-
return this.
|
|
8133
|
+
return this.h1g_1.where(lambda);
|
|
7980
8134
|
};
|
|
7981
8135
|
protoOf(VariablesProviderImpl).with = function (lambda) {
|
|
7982
|
-
return this.
|
|
8136
|
+
return this.h1g_1.with(lambda);
|
|
7983
8137
|
};
|
|
7984
8138
|
protoOf(VariablesProviderImpl).varOf = function (name) {
|
|
7985
|
-
return this.
|
|
8139
|
+
return this.h1g_1.varOf(name);
|
|
7986
8140
|
};
|
|
7987
8141
|
protoOf(VariablesProviderImpl).varOfChar = function (name) {
|
|
7988
|
-
return this.
|
|
8142
|
+
return this.h1g_1.varOfChar(name);
|
|
7989
8143
|
};
|
|
7990
8144
|
protoOf(VariablesProviderImpl).atomOf = function (value) {
|
|
7991
|
-
return this.
|
|
8145
|
+
return this.h1g_1.atomOf(value);
|
|
7992
8146
|
};
|
|
7993
8147
|
protoOf(VariablesProviderImpl).atomOfChar = function (value) {
|
|
7994
|
-
return this.
|
|
8148
|
+
return this.h1g_1.atomOfChar(value);
|
|
7995
8149
|
};
|
|
7996
8150
|
protoOf(VariablesProviderImpl).structOf = function (functor, args) {
|
|
7997
|
-
return this.
|
|
8151
|
+
return this.h1g_1.structOf(functor, args);
|
|
7998
8152
|
};
|
|
7999
8153
|
protoOf(VariablesProviderImpl).structOfSequence = function (functor, args) {
|
|
8000
|
-
return this.
|
|
8154
|
+
return this.h1g_1.structOfSequence(functor, args);
|
|
8001
8155
|
};
|
|
8002
8156
|
protoOf(VariablesProviderImpl).structOfIterable = function (functor, args) {
|
|
8003
|
-
return this.
|
|
8157
|
+
return this.h1g_1.structOfIterable(functor, args);
|
|
8004
8158
|
};
|
|
8005
8159
|
protoOf(VariablesProviderImpl).structOfList = function (functor, args) {
|
|
8006
|
-
return this.
|
|
8160
|
+
return this.h1g_1.structOfList(functor, args);
|
|
8007
8161
|
};
|
|
8008
8162
|
protoOf(VariablesProviderImpl).tupleOf = function (terms) {
|
|
8009
|
-
return this.
|
|
8163
|
+
return this.h1g_1.tupleOf(terms);
|
|
8010
8164
|
};
|
|
8011
8165
|
protoOf(VariablesProviderImpl).tupleOfIterable = function (terms) {
|
|
8012
|
-
return this.
|
|
8166
|
+
return this.h1g_1.tupleOfIterable(terms);
|
|
8013
8167
|
};
|
|
8014
8168
|
protoOf(VariablesProviderImpl).tupleOfSequence = function (terms) {
|
|
8015
|
-
return this.
|
|
8169
|
+
return this.h1g_1.tupleOfSequence(terms);
|
|
8016
8170
|
};
|
|
8017
8171
|
protoOf(VariablesProviderImpl).logicListOf = function (terms) {
|
|
8018
|
-
return this.
|
|
8172
|
+
return this.h1g_1.logicListOf(terms);
|
|
8019
8173
|
};
|
|
8020
8174
|
protoOf(VariablesProviderImpl).logicListOfIterable = function (terms) {
|
|
8021
|
-
return this.
|
|
8175
|
+
return this.h1g_1.logicListOfIterable(terms);
|
|
8022
8176
|
};
|
|
8023
8177
|
protoOf(VariablesProviderImpl).logicListOfSequence = function (terms) {
|
|
8024
|
-
return this.
|
|
8178
|
+
return this.h1g_1.logicListOfSequence(terms);
|
|
8025
8179
|
};
|
|
8026
8180
|
protoOf(VariablesProviderImpl).nz = function (terms, last) {
|
|
8027
|
-
return this.
|
|
8181
|
+
return this.h1g_1.nz(terms, last);
|
|
8028
8182
|
};
|
|
8029
8183
|
protoOf(VariablesProviderImpl).oz = function (terms, last) {
|
|
8030
|
-
return this.
|
|
8184
|
+
return this.h1g_1.oz(terms, last);
|
|
8031
8185
|
};
|
|
8032
8186
|
protoOf(VariablesProviderImpl).pz = function (terms, last) {
|
|
8033
|
-
return this.
|
|
8187
|
+
return this.h1g_1.pz(terms, last);
|
|
8034
8188
|
};
|
|
8035
8189
|
protoOf(VariablesProviderImpl).blockOf = function (terms) {
|
|
8036
|
-
return this.
|
|
8190
|
+
return this.h1g_1.blockOf(terms);
|
|
8037
8191
|
};
|
|
8038
8192
|
protoOf(VariablesProviderImpl).blockOfIterable = function (terms) {
|
|
8039
|
-
return this.
|
|
8193
|
+
return this.h1g_1.blockOfIterable(terms);
|
|
8040
8194
|
};
|
|
8041
8195
|
protoOf(VariablesProviderImpl).blockOfSequence = function (terms) {
|
|
8042
|
-
return this.
|
|
8196
|
+
return this.h1g_1.blockOfSequence(terms);
|
|
8043
8197
|
};
|
|
8044
8198
|
protoOf(VariablesProviderImpl).factOf = function (head) {
|
|
8045
|
-
return this.
|
|
8199
|
+
return this.h1g_1.factOf(head);
|
|
8046
8200
|
};
|
|
8047
8201
|
protoOf(VariablesProviderImpl).ruleOf = function (head, body1, body) {
|
|
8048
|
-
return this.
|
|
8202
|
+
return this.h1g_1.ruleOf(head, body1, body);
|
|
8049
8203
|
};
|
|
8050
8204
|
protoOf(VariablesProviderImpl).directiveOf = function (body1, body) {
|
|
8051
|
-
return this.
|
|
8205
|
+
return this.h1g_1.directiveOf(body1, body);
|
|
8052
8206
|
};
|
|
8053
8207
|
protoOf(VariablesProviderImpl).clauseOf = function (head, body) {
|
|
8054
|
-
return this.
|
|
8208
|
+
return this.h1g_1.clauseOf(head, body);
|
|
8055
8209
|
};
|
|
8056
8210
|
protoOf(VariablesProviderImpl).consOf = function (head, tail) {
|
|
8057
|
-
return this.
|
|
8211
|
+
return this.h1g_1.consOf(head, tail);
|
|
8058
8212
|
};
|
|
8059
8213
|
protoOf(VariablesProviderImpl).indicatorOf = function (name, arity) {
|
|
8060
|
-
return this.
|
|
8214
|
+
return this.h1g_1.indicatorOf(name, arity);
|
|
8061
8215
|
};
|
|
8062
8216
|
protoOf(VariablesProviderImpl).indicatorOfStringInt = function (name, arity) {
|
|
8063
|
-
return this.
|
|
8217
|
+
return this.h1g_1.indicatorOfStringInt(name, arity);
|
|
8064
8218
|
};
|
|
8065
8219
|
protoOf(VariablesProviderImpl).anonymous = function () {
|
|
8066
|
-
return this.
|
|
8220
|
+
return this.h1g_1.anonymous();
|
|
8067
8221
|
};
|
|
8068
8222
|
protoOf(VariablesProviderImpl).whatever = function () {
|
|
8069
|
-
return this.
|
|
8223
|
+
return this.h1g_1.whatever();
|
|
8070
8224
|
};
|
|
8071
8225
|
protoOf(VariablesProviderImpl).numOfBigDecimal = function (value) {
|
|
8072
|
-
return this.
|
|
8226
|
+
return this.h1g_1.numOfBigDecimal(value);
|
|
8073
8227
|
};
|
|
8074
8228
|
protoOf(VariablesProviderImpl).numOfDouble = function (value) {
|
|
8075
|
-
return this.
|
|
8229
|
+
return this.h1g_1.numOfDouble(value);
|
|
8076
8230
|
};
|
|
8077
8231
|
protoOf(VariablesProviderImpl).numOfFloat = function (value) {
|
|
8078
|
-
return this.
|
|
8232
|
+
return this.h1g_1.numOfFloat(value);
|
|
8079
8233
|
};
|
|
8080
8234
|
protoOf(VariablesProviderImpl).numOfBigInteger = function (value) {
|
|
8081
|
-
return this.
|
|
8235
|
+
return this.h1g_1.numOfBigInteger(value);
|
|
8082
8236
|
};
|
|
8083
8237
|
protoOf(VariablesProviderImpl).numOfInt = function (value) {
|
|
8084
|
-
return this.
|
|
8238
|
+
return this.h1g_1.numOfInt(value);
|
|
8085
8239
|
};
|
|
8086
8240
|
protoOf(VariablesProviderImpl).numOfLong = function (value) {
|
|
8087
|
-
return this.
|
|
8241
|
+
return this.h1g_1.numOfLong(value);
|
|
8088
8242
|
};
|
|
8089
8243
|
protoOf(VariablesProviderImpl).numOfShort = function (value) {
|
|
8090
|
-
return this.
|
|
8244
|
+
return this.h1g_1.numOfShort(value);
|
|
8091
8245
|
};
|
|
8092
8246
|
protoOf(VariablesProviderImpl).numOfByte = function (value) {
|
|
8093
|
-
return this.
|
|
8247
|
+
return this.h1g_1.numOfByte(value);
|
|
8094
8248
|
};
|
|
8095
8249
|
protoOf(VariablesProviderImpl).parseNum = function (value) {
|
|
8096
|
-
return this.
|
|
8250
|
+
return this.h1g_1.parseNum(value);
|
|
8097
8251
|
};
|
|
8098
8252
|
protoOf(VariablesProviderImpl).numOf = function (value) {
|
|
8099
|
-
return this.
|
|
8253
|
+
return this.h1g_1.numOf(value);
|
|
8100
8254
|
};
|
|
8101
8255
|
protoOf(VariablesProviderImpl).intOfBigInteger = function (value) {
|
|
8102
|
-
return this.
|
|
8256
|
+
return this.h1g_1.intOfBigInteger(value);
|
|
8103
8257
|
};
|
|
8104
8258
|
protoOf(VariablesProviderImpl).intOf = function (value) {
|
|
8105
|
-
return this.
|
|
8259
|
+
return this.h1g_1.intOf(value);
|
|
8106
8260
|
};
|
|
8107
8261
|
protoOf(VariablesProviderImpl).intOfLong = function (value) {
|
|
8108
|
-
return this.
|
|
8262
|
+
return this.h1g_1.intOfLong(value);
|
|
8109
8263
|
};
|
|
8110
8264
|
protoOf(VariablesProviderImpl).intOfShort = function (value) {
|
|
8111
|
-
return this.
|
|
8265
|
+
return this.h1g_1.intOfShort(value);
|
|
8112
8266
|
};
|
|
8113
8267
|
protoOf(VariablesProviderImpl).intOfByte = function (value) {
|
|
8114
|
-
return this.
|
|
8268
|
+
return this.h1g_1.intOfByte(value);
|
|
8115
8269
|
};
|
|
8116
8270
|
protoOf(VariablesProviderImpl).parseInt = function (value) {
|
|
8117
|
-
return this.
|
|
8271
|
+
return this.h1g_1.parseInt(value);
|
|
8118
8272
|
};
|
|
8119
8273
|
protoOf(VariablesProviderImpl).parseIntRadix = function (value, radix) {
|
|
8120
|
-
return this.
|
|
8274
|
+
return this.h1g_1.parseIntRadix(value, radix);
|
|
8121
8275
|
};
|
|
8122
8276
|
protoOf(VariablesProviderImpl).realOfBigDecimal = function (value) {
|
|
8123
|
-
return this.
|
|
8277
|
+
return this.h1g_1.realOfBigDecimal(value);
|
|
8124
8278
|
};
|
|
8125
8279
|
protoOf(VariablesProviderImpl).realOf = function (value) {
|
|
8126
|
-
return this.
|
|
8280
|
+
return this.h1g_1.realOf(value);
|
|
8127
8281
|
};
|
|
8128
8282
|
protoOf(VariablesProviderImpl).realOfFloat = function (value) {
|
|
8129
|
-
return this.
|
|
8283
|
+
return this.h1g_1.realOfFloat(value);
|
|
8130
8284
|
};
|
|
8131
8285
|
protoOf(VariablesProviderImpl).parseReal = function (value) {
|
|
8132
|
-
return this.
|
|
8286
|
+
return this.h1g_1.parseReal(value);
|
|
8133
8287
|
};
|
|
8134
8288
|
protoOf(VariablesProviderImpl).truthOf = function (value) {
|
|
8135
|
-
return this.
|
|
8289
|
+
return this.h1g_1.truthOf(value);
|
|
8136
8290
|
};
|
|
8137
8291
|
protoOf(VariablesProviderImpl).unifierOf = function (assignments) {
|
|
8138
|
-
return this.
|
|
8292
|
+
return this.h1g_1.unifierOf(assignments);
|
|
8139
8293
|
};
|
|
8140
8294
|
protoOf(VariablesProviderImpl).unifierOfIterable = function (assignments) {
|
|
8141
|
-
return this.
|
|
8295
|
+
return this.h1g_1.unifierOfIterable(assignments);
|
|
8142
8296
|
};
|
|
8143
8297
|
protoOf(VariablesProviderImpl).unifierOfSequence = function (assignments) {
|
|
8144
|
-
return this.
|
|
8298
|
+
return this.h1g_1.unifierOfSequence(assignments);
|
|
8145
8299
|
};
|
|
8146
8300
|
protoOf(VariablesProviderImpl).substitutionOf = function (assignments) {
|
|
8147
|
-
return this.
|
|
8301
|
+
return this.h1g_1.substitutionOf(assignments);
|
|
8148
8302
|
};
|
|
8149
8303
|
protoOf(VariablesProviderImpl).substitutionOfIterable = function (assignments) {
|
|
8150
|
-
return this.
|
|
8304
|
+
return this.h1g_1.substitutionOfIterable(assignments);
|
|
8151
8305
|
};
|
|
8152
8306
|
protoOf(VariablesProviderImpl).substitutionOfSequence = function (assignments) {
|
|
8153
|
-
return this.
|
|
8307
|
+
return this.h1g_1.substitutionOfSequence(assignments);
|
|
8154
8308
|
};
|
|
8155
8309
|
function Companion_30() {
|
|
8156
8310
|
Companion_instance_31 = this;
|
|
8157
|
-
this.
|
|
8158
|
-
this.
|
|
8311
|
+
this.j1g_1 = 'op';
|
|
8312
|
+
this.k1g_1 = Companion_getInstance_18().of('op', [Companion_getInstance_25().of('P'), Companion_getInstance_25().of('A'), Companion_getInstance_25().of('F')]);
|
|
8159
8313
|
}
|
|
8160
8314
|
protoOf(Companion_30).fromTerms = function (priority, specifier, functor) {
|
|
8161
8315
|
return this.fromTerm(Companion_getInstance_18().of('op', [priority, specifier, functor]));
|
|
@@ -8248,31 +8402,31 @@
|
|
|
8248
8402
|
}
|
|
8249
8403
|
function Operator(functor, specifier, priority) {
|
|
8250
8404
|
Companion_getInstance_32();
|
|
8251
|
-
this.
|
|
8252
|
-
this.
|
|
8253
|
-
this.
|
|
8405
|
+
this.l1g_1 = functor;
|
|
8406
|
+
this.m1g_1 = specifier;
|
|
8407
|
+
this.n1g_1 = priority;
|
|
8254
8408
|
}
|
|
8255
|
-
protoOf(Operator).
|
|
8409
|
+
protoOf(Operator).o1g = function (other) {
|
|
8256
8410
|
var tmp;
|
|
8257
|
-
if (this.
|
|
8411
|
+
if (this.n1g_1 > other.n1g_1) {
|
|
8258
8412
|
tmp = 1;
|
|
8259
|
-
} else if (this.
|
|
8413
|
+
} else if (this.n1g_1 < other.n1g_1) {
|
|
8260
8414
|
tmp = -1;
|
|
8261
8415
|
} else {
|
|
8262
8416
|
// Inline function 'kotlin.let' call
|
|
8263
|
-
var specifierCompareTo = this.
|
|
8264
|
-
tmp = specifierCompareTo === 0 ? compareTo(this.
|
|
8417
|
+
var specifierCompareTo = this.m1g_1.o2(other.m1g_1);
|
|
8418
|
+
tmp = specifierCompareTo === 0 ? compareTo(this.l1g_1, other.l1g_1) : specifierCompareTo;
|
|
8265
8419
|
}
|
|
8266
8420
|
return tmp;
|
|
8267
8421
|
};
|
|
8268
8422
|
protoOf(Operator).d = function (other) {
|
|
8269
|
-
return this.
|
|
8423
|
+
return this.o1g(other instanceof Operator ? other : THROW_CCE());
|
|
8270
8424
|
};
|
|
8271
|
-
protoOf(Operator).
|
|
8272
|
-
return Companion_getInstance_18().of('op', [intToTerm(this.
|
|
8425
|
+
protoOf(Operator).p1g = function () {
|
|
8426
|
+
return Companion_getInstance_18().of('op', [intToTerm(this.n1g_1), this.m1g_1.p1g(), stringToAtom(this.l1g_1)]);
|
|
8273
8427
|
};
|
|
8274
8428
|
protoOf(Operator).toTerm = function () {
|
|
8275
|
-
return this.
|
|
8429
|
+
return this.p1g();
|
|
8276
8430
|
};
|
|
8277
8431
|
protoOf(Operator).equals = function (other) {
|
|
8278
8432
|
if (this === other)
|
|
@@ -8281,19 +8435,19 @@
|
|
|
8281
8435
|
return false;
|
|
8282
8436
|
if (!(other instanceof Operator))
|
|
8283
8437
|
THROW_CCE();
|
|
8284
|
-
if (!(this.
|
|
8438
|
+
if (!(this.l1g_1 === other.l1g_1))
|
|
8285
8439
|
return false;
|
|
8286
|
-
if (!this.
|
|
8440
|
+
if (!this.m1g_1.equals(other.m1g_1))
|
|
8287
8441
|
return false;
|
|
8288
8442
|
return true;
|
|
8289
8443
|
};
|
|
8290
8444
|
protoOf(Operator).hashCode = function () {
|
|
8291
|
-
var result = getStringHashCode(this.
|
|
8292
|
-
result = imul(31, result) + this.
|
|
8445
|
+
var result = getStringHashCode(this.l1g_1);
|
|
8446
|
+
result = imul(31, result) + this.m1g_1.hashCode() | 0;
|
|
8293
8447
|
return result;
|
|
8294
8448
|
};
|
|
8295
8449
|
protoOf(Operator).toString = function () {
|
|
8296
|
-
return 'Operator(' + this.
|
|
8450
|
+
return 'Operator(' + this.n1g_1 + ', ' + toString(this.m1g_1) + ", '" + this.l1g_1 + "')";
|
|
8297
8451
|
};
|
|
8298
8452
|
function OperatorSet$Companion$ARITHMETIC$lambda(it) {
|
|
8299
8453
|
return new Operator(it, Specifier_FY_getInstance(), 200);
|
|
@@ -8344,7 +8498,7 @@
|
|
|
8344
8498
|
return new Operator(it, Specifier_XFX_getInstance(), 1200);
|
|
8345
8499
|
}
|
|
8346
8500
|
function _get_operators__lk0kke($this) {
|
|
8347
|
-
var tmp0 = $this.
|
|
8501
|
+
var tmp0 = $this.r1g_1;
|
|
8348
8502
|
var tmp = KProperty1;
|
|
8349
8503
|
// Inline function 'kotlin.getValue' call
|
|
8350
8504
|
getPropertyCallableRef('operators', 1, tmp, OperatorSet$_get_operators_$ref_odbydx(), null);
|
|
@@ -8407,28 +8561,28 @@
|
|
|
8407
8561
|
this.STANDARD = new OperatorSet(plus_2(plus_2(plus_2(plus_2(asSequence_0(this.ARITHMETIC), asSequence_0(this.ARITHMETIC_COMPARISON)), asSequence_0(this.TERM_COMPARISON)), asSequence_0(this.CONTROL_FLOW)), asSequence_0(this.CLAUSES)));
|
|
8408
8562
|
this.DEFAULT = this.STANDARD;
|
|
8409
8563
|
}
|
|
8410
|
-
protoOf(Companion_31).
|
|
8564
|
+
protoOf(Companion_31).s1g = function () {
|
|
8411
8565
|
return this.EMPTY;
|
|
8412
8566
|
};
|
|
8413
|
-
protoOf(Companion_31).
|
|
8567
|
+
protoOf(Companion_31).t1g = function () {
|
|
8414
8568
|
return this.ARITHMETIC;
|
|
8415
8569
|
};
|
|
8416
|
-
protoOf(Companion_31).
|
|
8570
|
+
protoOf(Companion_31).u1g = function () {
|
|
8417
8571
|
return this.ARITHMETIC_COMPARISON;
|
|
8418
8572
|
};
|
|
8419
|
-
protoOf(Companion_31).
|
|
8573
|
+
protoOf(Companion_31).v1g = function () {
|
|
8420
8574
|
return this.TERM_COMPARISON;
|
|
8421
8575
|
};
|
|
8422
|
-
protoOf(Companion_31).
|
|
8576
|
+
protoOf(Companion_31).w1g = function () {
|
|
8423
8577
|
return this.CONTROL_FLOW;
|
|
8424
8578
|
};
|
|
8425
|
-
protoOf(Companion_31).
|
|
8579
|
+
protoOf(Companion_31).x1g = function () {
|
|
8426
8580
|
return this.CLAUSES;
|
|
8427
8581
|
};
|
|
8428
|
-
protoOf(Companion_31).
|
|
8582
|
+
protoOf(Companion_31).y1g = function () {
|
|
8429
8583
|
return this.STANDARD;
|
|
8430
8584
|
};
|
|
8431
|
-
protoOf(Companion_31).
|
|
8585
|
+
protoOf(Companion_31).z1g = function () {
|
|
8432
8586
|
return this.DEFAULT;
|
|
8433
8587
|
};
|
|
8434
8588
|
var Companion_instance_32;
|
|
@@ -8449,9 +8603,9 @@
|
|
|
8449
8603
|
}
|
|
8450
8604
|
function OperatorSet(operators) {
|
|
8451
8605
|
Companion_getInstance_33();
|
|
8452
|
-
this.
|
|
8606
|
+
this.q1g_1 = toHashSet(operators);
|
|
8453
8607
|
var tmp = this;
|
|
8454
|
-
tmp.
|
|
8608
|
+
tmp.r1g_1 = lazy(OperatorSet$operators$delegate$lambda(operators));
|
|
8455
8609
|
}
|
|
8456
8610
|
protoOf(OperatorSet).plus = function (operator) {
|
|
8457
8611
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
@@ -8488,27 +8642,27 @@
|
|
|
8488
8642
|
return 'OperatorSet(' + toString(_get_operators__lk0kke(this)) + ')';
|
|
8489
8643
|
};
|
|
8490
8644
|
protoOf(OperatorSet).h = function () {
|
|
8491
|
-
return this.
|
|
8645
|
+
return this.q1g_1.h();
|
|
8492
8646
|
};
|
|
8493
|
-
protoOf(OperatorSet).
|
|
8494
|
-
return this.
|
|
8647
|
+
protoOf(OperatorSet).a1h = function (element) {
|
|
8648
|
+
return this.q1g_1.y(element);
|
|
8495
8649
|
};
|
|
8496
8650
|
protoOf(OperatorSet).y = function (element) {
|
|
8497
8651
|
if (!(element instanceof Operator))
|
|
8498
8652
|
return false;
|
|
8499
|
-
return this.
|
|
8653
|
+
return this.a1h(element instanceof Operator ? element : THROW_CCE());
|
|
8500
8654
|
};
|
|
8501
8655
|
protoOf(OperatorSet).n = function () {
|
|
8502
|
-
return this.
|
|
8656
|
+
return this.q1g_1.n();
|
|
8503
8657
|
};
|
|
8504
|
-
protoOf(OperatorSet).
|
|
8505
|
-
return this.
|
|
8658
|
+
protoOf(OperatorSet).b1h = function (elements) {
|
|
8659
|
+
return this.q1g_1.c2(elements);
|
|
8506
8660
|
};
|
|
8507
8661
|
protoOf(OperatorSet).c2 = function (elements) {
|
|
8508
|
-
return this.
|
|
8662
|
+
return this.b1h(elements);
|
|
8509
8663
|
};
|
|
8510
8664
|
protoOf(OperatorSet).s = function () {
|
|
8511
|
-
return this.
|
|
8665
|
+
return this.q1g_1.s();
|
|
8512
8666
|
};
|
|
8513
8667
|
function toOperatorsIndex(_this__u8e3s4) {
|
|
8514
8668
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
@@ -8518,17 +8672,17 @@
|
|
|
8518
8672
|
var op = _iterator__ex2g4s.r();
|
|
8519
8673
|
// Inline function 'kotlin.collections.contains' call
|
|
8520
8674
|
// Inline function 'kotlin.collections.containsKey' call
|
|
8521
|
-
var key = op.
|
|
8675
|
+
var key = op.l1g_1;
|
|
8522
8676
|
if ((isInterface(temp, KtMap) ? temp : THROW_CCE()).f2(key)) {
|
|
8523
|
-
var opsWithFunctor = ensureNotNull(temp.h2(op.
|
|
8524
|
-
var tmp2 = op.
|
|
8677
|
+
var opsWithFunctor = ensureNotNull(temp.h2(op.l1g_1));
|
|
8678
|
+
var tmp2 = op.m1g_1;
|
|
8525
8679
|
// Inline function 'kotlin.collections.set' call
|
|
8526
|
-
var value = op.
|
|
8680
|
+
var value = op.n1g_1;
|
|
8527
8681
|
opsWithFunctor.k4(tmp2, value);
|
|
8528
8682
|
} else {
|
|
8529
|
-
var tmp2_0 = op.
|
|
8683
|
+
var tmp2_0 = op.l1g_1;
|
|
8530
8684
|
// Inline function 'kotlin.collections.set' call
|
|
8531
|
-
var value_0 = mutableMapOf([to(op.
|
|
8685
|
+
var value_0 = mutableMapOf([to(op.m1g_1, op.n1g_1)]);
|
|
8532
8686
|
temp.k4(tmp2_0, value_0);
|
|
8533
8687
|
}
|
|
8534
8688
|
}
|
|
@@ -8550,10 +8704,10 @@
|
|
|
8550
8704
|
}
|
|
8551
8705
|
function Companion_32() {
|
|
8552
8706
|
Companion_instance_33 = this;
|
|
8553
|
-
this.
|
|
8554
|
-
this.
|
|
8555
|
-
this.
|
|
8556
|
-
this.
|
|
8707
|
+
this.c1h_1 = setOf([Specifier_FX_getInstance(), Specifier_FY_getInstance()]);
|
|
8708
|
+
this.d1h_1 = setOf([Specifier_YF_getInstance(), Specifier_XF_getInstance()]);
|
|
8709
|
+
this.e1h_1 = setOf([Specifier_XFX_getInstance(), Specifier_YFX_getInstance(), Specifier_XFY_getInstance()]);
|
|
8710
|
+
this.f1h_1 = plus_3(this.d1h_1, this.e1h_1);
|
|
8557
8711
|
}
|
|
8558
8712
|
protoOf(Companion_32).fromAtom = function (atom) {
|
|
8559
8713
|
try {
|
|
@@ -8625,20 +8779,20 @@
|
|
|
8625
8779
|
function Specifier(name, ordinal) {
|
|
8626
8780
|
Enum.call(this, name, ordinal);
|
|
8627
8781
|
}
|
|
8628
|
-
protoOf(Specifier).
|
|
8629
|
-
return Companion_getInstance_34().
|
|
8782
|
+
protoOf(Specifier).v1e = function () {
|
|
8783
|
+
return Companion_getInstance_34().c1h_1.y(this);
|
|
8630
8784
|
};
|
|
8631
|
-
protoOf(Specifier).
|
|
8632
|
-
return Companion_getInstance_34().
|
|
8785
|
+
protoOf(Specifier).x1e = function () {
|
|
8786
|
+
return Companion_getInstance_34().e1h_1.y(this);
|
|
8633
8787
|
};
|
|
8634
|
-
protoOf(Specifier).
|
|
8635
|
-
return Companion_getInstance_34().
|
|
8788
|
+
protoOf(Specifier).w1e = function () {
|
|
8789
|
+
return Companion_getInstance_34().d1h_1.y(this);
|
|
8636
8790
|
};
|
|
8637
|
-
protoOf(Specifier).
|
|
8791
|
+
protoOf(Specifier).p1g = function () {
|
|
8638
8792
|
return _get_atomRepresentation__p7qnyl(this);
|
|
8639
8793
|
};
|
|
8640
8794
|
protoOf(Specifier).toTerm = function () {
|
|
8641
|
-
return this.
|
|
8795
|
+
return this.p1g();
|
|
8642
8796
|
};
|
|
8643
8797
|
function Specifier_XF_getInstance() {
|
|
8644
8798
|
Specifier_initEntries();
|
|
@@ -8860,7 +9014,7 @@
|
|
|
8860
9014
|
protoOf(TermImpl).apply = apply;
|
|
8861
9015
|
protoOf(TermImpl).getSubstituted = getSubstituted;
|
|
8862
9016
|
protoOf(TermImpl).bv = get_isGround;
|
|
8863
|
-
defineProp(protoOf(TermImpl), 'termMark', protoOf(TermImpl).
|
|
9017
|
+
defineProp(protoOf(TermImpl), 'termMark', protoOf(TermImpl).o14);
|
|
8864
9018
|
protoOf(AbstractStruct).du = get_isStruct_0;
|
|
8865
9019
|
protoOf(AbstractStruct).st = get_isAtom_0;
|
|
8866
9020
|
protoOf(AbstractStruct).ju = get_isList_0;
|
|
@@ -8893,7 +9047,7 @@
|
|
|
8893
9047
|
protoOf(AbstractCons).xw = asList_0;
|
|
8894
9048
|
protoOf(AbstractCons).rt = get_arity_2;
|
|
8895
9049
|
protoOf(AbstractCons).s = get_size;
|
|
8896
|
-
protoOf(AbstractTermFormatter).
|
|
9050
|
+
protoOf(AbstractTermFormatter).i12 = format;
|
|
8897
9051
|
protoOf(AbstractTermFormatter).visitTerm = visitTerm;
|
|
8898
9052
|
protoOf(AbstractTermFormatter).visitVar = visitVar;
|
|
8899
9053
|
protoOf(AbstractTermFormatter).visitConstant = visitConstant;
|
|
@@ -9039,9 +9193,9 @@
|
|
|
9039
9193
|
protoOf(ScopeImpl).mz = get__;
|
|
9040
9194
|
protoOf(TruthImpl).uu = get_isTruth_0;
|
|
9041
9195
|
protoOf(TruthImpl).wt = get_isFail_2;
|
|
9042
|
-
protoOf(TruthImpl).
|
|
9196
|
+
protoOf(TruthImpl).j12 = asTruth_0;
|
|
9043
9197
|
protoOf(TupleImpl).iu = get_isTuple_1;
|
|
9044
|
-
protoOf(TupleImpl).
|
|
9198
|
+
protoOf(TupleImpl).o12 = asTuple_0;
|
|
9045
9199
|
protoOf(TupleImpl).rt = get_arity_4;
|
|
9046
9200
|
protoOf(TupleImpl).t4 = toArray_4;
|
|
9047
9201
|
protoOf(TupleImpl).fv = toList_7;
|
|
@@ -9068,14 +9222,14 @@
|
|
|
9068
9222
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).visitFact = visitFact;
|
|
9069
9223
|
protoOf(TupleUnfolder$tupleUnfolderVisitor$1).visitDirective = visitDirective;
|
|
9070
9224
|
protoOf(VarImpl).tu = get_isVar_0;
|
|
9071
|
-
protoOf(VarImpl).
|
|
9225
|
+
protoOf(VarImpl).x12 = asVar_0;
|
|
9072
9226
|
protoOf(VarImpl).zt = get_variables_2;
|
|
9073
9227
|
protoOf(VariablesProviderImpl).logicListFromFrom = logicListFromFrom;
|
|
9074
9228
|
protoOf(VariablesProviderImpl).logicListFromIterable = logicListFromIterable;
|
|
9075
9229
|
protoOf(VariablesProviderImpl).logicListFromSequence = logicListFromSequence;
|
|
9076
|
-
defineProp(protoOf(Specifier), 'isPrefix', protoOf(Specifier).
|
|
9077
|
-
defineProp(protoOf(Specifier), 'isInfix', protoOf(Specifier).
|
|
9078
|
-
defineProp(protoOf(Specifier), 'isPostfix', protoOf(Specifier).
|
|
9230
|
+
defineProp(protoOf(Specifier), 'isPrefix', protoOf(Specifier).v1e);
|
|
9231
|
+
defineProp(protoOf(Specifier), 'isInfix', protoOf(Specifier).x1e);
|
|
9232
|
+
defineProp(protoOf(Specifier), 'isPostfix', protoOf(Specifier).w1e);
|
|
9079
9233
|
//endregion
|
|
9080
9234
|
//region block: init
|
|
9081
9235
|
Companion_instance_1 = new Companion_0();
|