@tuprolog/2p-full 0.31.1 → 0.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-bdd.js +141 -141
- package/2p-core.js +1 -1
- package/2p-io-lib.js +479 -479
- package/2p-oop-lib.js +606 -606
- package/2p-parser-core.js +116 -116
- package/2p-parser-theory.js +9 -9
- package/2p-repl.js +56 -56
- package/2p-solve-classic.js +760 -760
- package/2p-solve-problog.js +751 -751
- package/2p-solve-streams.js +549 -549
- package/2p-solve.js +2549 -2438
- package/2p-solve.js.map +1 -1
- package/clikt-clikt-js-ir.js +1034 -1026
- package/clikt-clikt-js-ir.js.map +1 -1
- package/package.json +4 -4
package/2p-io-lib.js
CHANGED
|
@@ -141,16 +141,16 @@
|
|
|
141
141
|
setMetadataFor(UrlField, 'UrlField', classMeta, Enum, undefined, undefined, undefined, []);
|
|
142
142
|
setMetadataFor(Companion_0, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
143
143
|
function resolve(child) {
|
|
144
|
-
return Companion_getInstance_22().
|
|
144
|
+
return Companion_getInstance_22().l3k(this.p3k(), this.q3k(), this.r3k(), this.n31() + '/' + child, this.x1v());
|
|
145
145
|
}
|
|
146
146
|
function div(child) {
|
|
147
147
|
return this.resolve(child);
|
|
148
148
|
}
|
|
149
149
|
function get_isFile() {
|
|
150
|
-
return this.
|
|
150
|
+
return this.p3k() === 'file';
|
|
151
151
|
}
|
|
152
152
|
function get_isHttp() {
|
|
153
|
-
var tmp = this.
|
|
153
|
+
var tmp = this.p3k();
|
|
154
154
|
return startsWith$default(tmp, 'http', false, 2, null);
|
|
155
155
|
}
|
|
156
156
|
setMetadataFor(Url, 'Url', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
@@ -210,10 +210,10 @@
|
|
|
210
210
|
IOLib_instance = this;
|
|
211
211
|
AbstractLibrary.call(this);
|
|
212
212
|
}
|
|
213
|
-
IOLib.prototype.
|
|
213
|
+
IOLib.prototype.o2e = function () {
|
|
214
214
|
return 'prolog.io';
|
|
215
215
|
};
|
|
216
|
-
IOLib.prototype.
|
|
216
|
+
IOLib.prototype.n2e = function () {
|
|
217
217
|
var tmp = Companion_getInstance();
|
|
218
218
|
var tmp$ret$3;
|
|
219
219
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
var tmp = this;
|
|
268
268
|
var tmp_0 = asSequence(values());
|
|
269
269
|
var tmp_1 = map(tmp_0, IOMode$Companion$atomValues$lambda);
|
|
270
|
-
tmp.
|
|
270
|
+
tmp.i3k_1 = toSet(map(tmp_1, Atom$Companion$of$ref(Companion_getInstance_0())));
|
|
271
271
|
}
|
|
272
272
|
var Companion_instance;
|
|
273
273
|
function Companion_getInstance_21() {
|
|
@@ -433,9 +433,9 @@
|
|
|
433
433
|
function Companion_0() {
|
|
434
434
|
Companion_instance_0 = this;
|
|
435
435
|
var tmp = this;
|
|
436
|
-
tmp.
|
|
436
|
+
tmp.j3k_1 = urlRegex$default(this, null, null, null, null, null, null, null, 254, null);
|
|
437
437
|
}
|
|
438
|
-
Companion_0.prototype.
|
|
438
|
+
Companion_0.prototype.k3k = function (_this__u8e3s4) {
|
|
439
439
|
var tmp;
|
|
440
440
|
if (_this__u8e3s4 < 0) {
|
|
441
441
|
throw IllegalArgumentException_init_$Create$('Invalid port: ' + _this__u8e3s4);
|
|
@@ -444,8 +444,8 @@
|
|
|
444
444
|
}
|
|
445
445
|
return tmp;
|
|
446
446
|
};
|
|
447
|
-
Companion_0.prototype.
|
|
448
|
-
var tmp0_safe_receiver = this.
|
|
447
|
+
Companion_0.prototype.h31 = function (string) {
|
|
448
|
+
var tmp0_safe_receiver = this.j3k_1.jf(string);
|
|
449
449
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l9();
|
|
450
450
|
var match = tmp1_safe_receiver == null ? null : toList(tmp1_safe_receiver);
|
|
451
451
|
var tmp2_safe_receiver = match;
|
|
@@ -491,22 +491,22 @@
|
|
|
491
491
|
return fileUrl(path);
|
|
492
492
|
};
|
|
493
493
|
Companion_0.prototype.remote = function (protocol, host, port, path, query) {
|
|
494
|
-
return this.
|
|
494
|
+
return this.l3k(protocol, host === void 1 ? '' : host, port === void 1 ? null : port, path === void 1 ? '' : path, query === void 1 ? null : query);
|
|
495
495
|
};
|
|
496
|
-
Companion_0.prototype.
|
|
496
|
+
Companion_0.prototype.l3k = function (protocol, host, port, path, query) {
|
|
497
497
|
return remoteUrl(protocol, host, port, path, query);
|
|
498
498
|
};
|
|
499
499
|
Companion_0.prototype.http = function (host, port, path, query) {
|
|
500
|
-
return this.
|
|
500
|
+
return this.m3k(host === void 1 ? '' : host, port === void 1 ? null : port, path === void 1 ? '' : path, query === void 1 ? null : query);
|
|
501
501
|
};
|
|
502
|
-
Companion_0.prototype.
|
|
503
|
-
return this.
|
|
502
|
+
Companion_0.prototype.m3k = function (host, port, path, query) {
|
|
503
|
+
return this.l3k('http', host, port, path, query);
|
|
504
504
|
};
|
|
505
505
|
Companion_0.prototype.https = function (host, port, path, query) {
|
|
506
|
-
return this.
|
|
506
|
+
return this.n3k(host === void 1 ? '' : host, port === void 1 ? null : port, path === void 1 ? '' : path, query === void 1 ? null : query);
|
|
507
507
|
};
|
|
508
|
-
Companion_0.prototype.
|
|
509
|
-
return this.
|
|
508
|
+
Companion_0.prototype.n3k = function (host, port, path, query) {
|
|
509
|
+
return this.l3k('https', host, port, path, query);
|
|
510
510
|
};
|
|
511
511
|
Companion_0.prototype.of = function (string) {
|
|
512
512
|
var tmp;
|
|
@@ -535,9 +535,9 @@
|
|
|
535
535
|
}
|
|
536
536
|
return tmp;
|
|
537
537
|
};
|
|
538
|
-
Companion_0.prototype.
|
|
538
|
+
Companion_0.prototype.o3k = function (protocol, host, port, path, query) {
|
|
539
539
|
var tmp0_safe_receiver = port;
|
|
540
|
-
var tmp = tmp0_safe_receiver == null ? null : this.
|
|
540
|
+
var tmp = tmp0_safe_receiver == null ? null : this.k3k(tmp0_safe_receiver);
|
|
541
541
|
var tmp_0 = str(tmp, this, Url$Companion$toString$lambda);
|
|
542
542
|
return protocol + '://' + host + tmp_0 + path + str(query, this, Url$Companion$toString$lambda_0);
|
|
543
543
|
};
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
captureStack(tmp, IOException_init_$Create$_0);
|
|
570
570
|
return tmp;
|
|
571
571
|
}
|
|
572
|
-
IOException.prototype.
|
|
572
|
+
IOException.prototype.u3k = function (context) {
|
|
573
573
|
return Companion_getInstance_1().forUncaughtKtException(context, this);
|
|
574
574
|
};
|
|
575
575
|
function IOException() {
|
|
@@ -585,8 +585,8 @@
|
|
|
585
585
|
captureStack(tmp, InvalidUrlException_init_$Create$);
|
|
586
586
|
return tmp;
|
|
587
587
|
}
|
|
588
|
-
InvalidUrlException.prototype.
|
|
589
|
-
return Companion_getInstance_2().
|
|
588
|
+
InvalidUrlException.prototype.v3k = function (context, signature, culprit, index) {
|
|
589
|
+
return Companion_getInstance_2().y25(context, signature, Expected_URL_getInstance(), culprit, index);
|
|
590
590
|
};
|
|
591
591
|
function InvalidUrlException() {
|
|
592
592
|
captureStack(this, InvalidUrlException);
|
|
@@ -595,19 +595,19 @@
|
|
|
595
595
|
AtEndOfStream0_instance = this;
|
|
596
596
|
Predicative.call(this, 'at_end_of_stream');
|
|
597
597
|
}
|
|
598
|
-
AtEndOfStream0.prototype.
|
|
598
|
+
AtEndOfStream0.prototype.x3k = function (_this__u8e3s4) {
|
|
599
599
|
var tmp$ret$1;
|
|
600
600
|
// Inline function 'kotlin.let' call
|
|
601
|
-
var tmp0_let = IOPrimitiveUtils_getInstance().
|
|
601
|
+
var tmp0_let = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4);
|
|
602
602
|
// Inline function 'kotlin.contracts.contract' call
|
|
603
603
|
var tmp$ret$0;
|
|
604
604
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.AtEndOfStream0.compute.<anonymous>' call
|
|
605
|
-
tmp$ret$0 = tmp0_let.
|
|
605
|
+
tmp$ret$0 = tmp0_let.u1z() ? true : tmp0_let.wq();
|
|
606
606
|
tmp$ret$1 = tmp$ret$0;
|
|
607
607
|
return tmp$ret$1;
|
|
608
608
|
};
|
|
609
|
-
AtEndOfStream0.prototype.
|
|
610
|
-
return this.
|
|
609
|
+
AtEndOfStream0.prototype.y2g = function (_this__u8e3s4) {
|
|
610
|
+
return this.x3k(_this__u8e3s4);
|
|
611
611
|
};
|
|
612
612
|
var AtEndOfStream0_instance;
|
|
613
613
|
function AtEndOfStream0_getInstance() {
|
|
@@ -619,19 +619,19 @@
|
|
|
619
619
|
AtEndOfStream1_instance = this;
|
|
620
620
|
Predicative_0.call(this, 'at_end_of_stream');
|
|
621
621
|
}
|
|
622
|
-
AtEndOfStream1.prototype.
|
|
622
|
+
AtEndOfStream1.prototype.r3l = function (_this__u8e3s4, first) {
|
|
623
623
|
var tmp$ret$1;
|
|
624
624
|
// Inline function 'kotlin.let' call
|
|
625
|
-
var tmp0_let = IOPrimitiveUtils_getInstance().
|
|
625
|
+
var tmp0_let = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
626
626
|
// Inline function 'kotlin.contracts.contract' call
|
|
627
627
|
var tmp$ret$0;
|
|
628
628
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.AtEndOfStream1.compute.<anonymous>' call
|
|
629
|
-
tmp$ret$0 = tmp0_let.
|
|
629
|
+
tmp$ret$0 = tmp0_let.u1z() ? true : tmp0_let.wq();
|
|
630
630
|
tmp$ret$1 = tmp$ret$0;
|
|
631
631
|
return tmp$ret$1;
|
|
632
632
|
};
|
|
633
|
-
AtEndOfStream1.prototype.
|
|
634
|
-
return this.
|
|
633
|
+
AtEndOfStream1.prototype.a2k = function (_this__u8e3s4, first) {
|
|
634
|
+
return this.r3l(_this__u8e3s4, first);
|
|
635
635
|
};
|
|
636
636
|
var AtEndOfStream1_instance;
|
|
637
637
|
function AtEndOfStream1_getInstance() {
|
|
@@ -643,12 +643,12 @@
|
|
|
643
643
|
CharConversion_instance = this;
|
|
644
644
|
NonBacktrackable.call(this, 'char_conversion');
|
|
645
645
|
}
|
|
646
|
-
CharConversion.prototype.
|
|
646
|
+
CharConversion.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
647
647
|
var tmp = Companion_getInstance_3();
|
|
648
|
-
return tmp.
|
|
648
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
649
649
|
};
|
|
650
|
-
CharConversion.prototype.
|
|
651
|
-
return this.
|
|
650
|
+
CharConversion.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
651
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
652
652
|
};
|
|
653
653
|
var CharConversion_instance;
|
|
654
654
|
function CharConversion_getInstance() {
|
|
@@ -659,14 +659,14 @@
|
|
|
659
659
|
function Close1$computeOne$lambda($this_computeOne, $channel) {
|
|
660
660
|
return function ($this$replySuccess) {
|
|
661
661
|
var tmp = $this_computeOne.context.a1v();
|
|
662
|
-
$this$replySuccess.
|
|
662
|
+
$this$replySuccess.k2n(tmp.aliasesOf(isInterface($channel, InputChannel) ? $channel : THROW_CCE()));
|
|
663
663
|
return Unit_getInstance();
|
|
664
664
|
};
|
|
665
665
|
}
|
|
666
666
|
function Close1$computeOne$lambda_0($this_computeOne, $channel) {
|
|
667
667
|
return function ($this$replySuccess) {
|
|
668
668
|
var tmp = $this_computeOne.context.b1v();
|
|
669
|
-
$this$replySuccess.
|
|
669
|
+
$this$replySuccess.n2n(tmp.aliasesOf(isInterface($channel, OutputChannel) ? $channel : THROW_CCE()));
|
|
670
670
|
return Unit_getInstance();
|
|
671
671
|
};
|
|
672
672
|
}
|
|
@@ -674,17 +674,17 @@
|
|
|
674
674
|
Close1_instance = this;
|
|
675
675
|
NonBacktrackable_0.call(this, 'close');
|
|
676
676
|
}
|
|
677
|
-
Close1.prototype.
|
|
678
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
677
|
+
Close1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
678
|
+
var channel = IOPrimitiveUtils_getInstance().v3l(_this__u8e3s4, 0);
|
|
679
679
|
try {
|
|
680
680
|
channel.close();
|
|
681
681
|
var tmp0_subject = channel;
|
|
682
682
|
var tmp;
|
|
683
683
|
if (isInterface(tmp0_subject, InputChannel)) {
|
|
684
|
-
tmp = _this__u8e3s4.
|
|
684
|
+
tmp = _this__u8e3s4.e2j(null, null, Close1$computeOne$lambda(_this__u8e3s4, channel), 3, null);
|
|
685
685
|
} else {
|
|
686
686
|
if (isInterface(tmp0_subject, OutputChannel)) {
|
|
687
|
-
tmp = _this__u8e3s4.
|
|
687
|
+
tmp = _this__u8e3s4.e2j(null, null, Close1$computeOne$lambda_0(_this__u8e3s4, channel), 3, null);
|
|
688
688
|
} else {
|
|
689
689
|
throw IllegalStateException_init_$Create$('This should never happen');
|
|
690
690
|
}
|
|
@@ -692,14 +692,14 @@
|
|
|
692
692
|
return tmp;
|
|
693
693
|
} catch ($p) {
|
|
694
694
|
if ($p instanceof IllegalStateException) {
|
|
695
|
-
return _this__u8e3s4.
|
|
695
|
+
return _this__u8e3s4.o2g(null, [], 3, null);
|
|
696
696
|
} else {
|
|
697
697
|
throw $p;
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
Close1.prototype.
|
|
702
|
-
return this.
|
|
701
|
+
Close1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
702
|
+
return this.j2p(_this__u8e3s4, first);
|
|
703
703
|
};
|
|
704
704
|
var Close1_instance;
|
|
705
705
|
function Close1_getInstance() {
|
|
@@ -711,12 +711,12 @@
|
|
|
711
711
|
Close2_instance = this;
|
|
712
712
|
NonBacktrackable.call(this, 'close');
|
|
713
713
|
}
|
|
714
|
-
Close2.prototype.
|
|
714
|
+
Close2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
715
715
|
var tmp = Companion_getInstance_3();
|
|
716
|
-
return tmp.
|
|
716
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
717
717
|
};
|
|
718
|
-
Close2.prototype.
|
|
719
|
-
return this.
|
|
718
|
+
Close2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
719
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
720
720
|
};
|
|
721
721
|
var Close2_instance;
|
|
722
722
|
function Close2_getInstance() {
|
|
@@ -728,29 +728,29 @@
|
|
|
728
728
|
Consult_instance = this;
|
|
729
729
|
NonBacktrackable_0.call(this, 'consult');
|
|
730
730
|
}
|
|
731
|
-
Consult.prototype.
|
|
732
|
-
Companion_getInstance_3().
|
|
733
|
-
Companion_getInstance_3().
|
|
731
|
+
Consult.prototype.j2p = function (_this__u8e3s4, first) {
|
|
732
|
+
Companion_getInstance_3().k2h(_this__u8e3s4, 0);
|
|
733
|
+
Companion_getInstance_3().t2h(_this__u8e3s4, 0);
|
|
734
734
|
var urlString = (isInterface(first, Atom) ? first : THROW_CCE()).b1();
|
|
735
735
|
try {
|
|
736
736
|
var url = Companion_getInstance_22().of(urlString);
|
|
737
737
|
var text = url.readAsText();
|
|
738
738
|
var tmp = SetTheory_getInstance();
|
|
739
|
-
return tmp.
|
|
739
|
+
return tmp.z3l(_this__u8e3s4, text, false, 2, null);
|
|
740
740
|
} catch ($p) {
|
|
741
741
|
if ($p instanceof InvalidUrlException) {
|
|
742
|
-
throw $p.
|
|
742
|
+
throw $p.v3k(_this__u8e3s4.context, _this__u8e3s4.signature, first, 0);
|
|
743
743
|
} else {
|
|
744
744
|
if ($p instanceof IOException) {
|
|
745
|
-
throw $p.
|
|
745
|
+
throw $p.u3k(_this__u8e3s4.context);
|
|
746
746
|
} else {
|
|
747
747
|
throw $p;
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
751
|
};
|
|
752
|
-
Consult.prototype.
|
|
753
|
-
return this.
|
|
752
|
+
Consult.prototype.d2k = function (_this__u8e3s4, first) {
|
|
753
|
+
return this.j2p(_this__u8e3s4, first);
|
|
754
754
|
};
|
|
755
755
|
var Consult_instance;
|
|
756
756
|
function Consult_getInstance() {
|
|
@@ -762,12 +762,12 @@
|
|
|
762
762
|
CurrentCharConversion_instance = this;
|
|
763
763
|
NonBacktrackable.call(this, 'current_char_conversion');
|
|
764
764
|
}
|
|
765
|
-
CurrentCharConversion.prototype.
|
|
765
|
+
CurrentCharConversion.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
766
766
|
var tmp = Companion_getInstance_3();
|
|
767
|
-
return tmp.
|
|
767
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
768
768
|
};
|
|
769
|
-
CurrentCharConversion.prototype.
|
|
770
|
-
return this.
|
|
769
|
+
CurrentCharConversion.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
770
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
771
771
|
};
|
|
772
772
|
var CurrentCharConversion_instance;
|
|
773
773
|
function CurrentCharConversion_getInstance() {
|
|
@@ -779,8 +779,8 @@
|
|
|
779
779
|
CurrentInput_instance = this;
|
|
780
780
|
NonBacktrackable_0.call(this, 'current_input');
|
|
781
781
|
}
|
|
782
|
-
CurrentInput.prototype.
|
|
783
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
782
|
+
CurrentInput.prototype.j2p = function (_this__u8e3s4, first) {
|
|
783
|
+
var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
|
|
784
784
|
var tmp$ret$1;
|
|
785
785
|
// Inline function 'kotlin.let' call
|
|
786
786
|
var tmp0_let = _this__u8e3s4.context.a1v();
|
|
@@ -794,17 +794,17 @@
|
|
|
794
794
|
var tmp0_subject = channel;
|
|
795
795
|
var tmp;
|
|
796
796
|
if (tmp0_subject == null) {
|
|
797
|
-
var tmp_0 = Companion_getInstance_3().
|
|
798
|
-
tmp = _this__u8e3s4.
|
|
797
|
+
var tmp_0 = Companion_getInstance_3().e2h(_this__u8e3s4, first, currentChannel.o1z());
|
|
798
|
+
tmp = _this__u8e3s4.j2g(tmp_0, null, [], 6, null);
|
|
799
799
|
} else if (equals(tmp0_subject, currentChannel)) {
|
|
800
|
-
tmp = _this__u8e3s4.
|
|
800
|
+
tmp = _this__u8e3s4.p2g(null, null, [], 7, null);
|
|
801
801
|
} else {
|
|
802
|
-
tmp = _this__u8e3s4.
|
|
802
|
+
tmp = _this__u8e3s4.o2g(null, [], 3, null);
|
|
803
803
|
}
|
|
804
804
|
return tmp;
|
|
805
805
|
};
|
|
806
|
-
CurrentInput.prototype.
|
|
807
|
-
return this.
|
|
806
|
+
CurrentInput.prototype.d2k = function (_this__u8e3s4, first) {
|
|
807
|
+
return this.j2p(_this__u8e3s4, first);
|
|
808
808
|
};
|
|
809
809
|
var CurrentInput_instance;
|
|
810
810
|
function CurrentInput_getInstance() {
|
|
@@ -816,8 +816,8 @@
|
|
|
816
816
|
CurrentOutput_instance = this;
|
|
817
817
|
NonBacktrackable_0.call(this, 'current_output');
|
|
818
818
|
}
|
|
819
|
-
CurrentOutput.prototype.
|
|
820
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
819
|
+
CurrentOutput.prototype.j2p = function (_this__u8e3s4, first) {
|
|
820
|
+
var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
|
|
821
821
|
var tmp$ret$1;
|
|
822
822
|
// Inline function 'kotlin.let' call
|
|
823
823
|
var tmp0_let = _this__u8e3s4.context.b1v();
|
|
@@ -831,17 +831,17 @@
|
|
|
831
831
|
var tmp0_subject = channel;
|
|
832
832
|
var tmp;
|
|
833
833
|
if (tmp0_subject == null) {
|
|
834
|
-
var tmp_0 = Companion_getInstance_3().
|
|
835
|
-
tmp = _this__u8e3s4.
|
|
834
|
+
var tmp_0 = Companion_getInstance_3().e2h(_this__u8e3s4, first, currentChannel.o1z());
|
|
835
|
+
tmp = _this__u8e3s4.j2g(tmp_0, null, [], 6, null);
|
|
836
836
|
} else if (equals(tmp0_subject, currentChannel)) {
|
|
837
|
-
tmp = _this__u8e3s4.
|
|
837
|
+
tmp = _this__u8e3s4.p2g(null, null, [], 7, null);
|
|
838
838
|
} else {
|
|
839
|
-
tmp = _this__u8e3s4.
|
|
839
|
+
tmp = _this__u8e3s4.o2g(null, [], 3, null);
|
|
840
840
|
}
|
|
841
841
|
return tmp;
|
|
842
842
|
};
|
|
843
|
-
CurrentOutput.prototype.
|
|
844
|
-
return this.
|
|
843
|
+
CurrentOutput.prototype.d2k = function (_this__u8e3s4, first) {
|
|
844
|
+
return this.j2p(_this__u8e3s4, first);
|
|
845
845
|
};
|
|
846
846
|
var CurrentOutput_instance;
|
|
847
847
|
function CurrentOutput_getInstance() {
|
|
@@ -853,16 +853,16 @@
|
|
|
853
853
|
FlushOutput_instance = this;
|
|
854
854
|
NonBacktrackable_0.call(this, 'flush_output');
|
|
855
855
|
}
|
|
856
|
-
FlushOutput.prototype.
|
|
857
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
856
|
+
FlushOutput.prototype.j2p = function (_this__u8e3s4, first) {
|
|
857
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
858
858
|
var tmp;
|
|
859
859
|
try {
|
|
860
860
|
channel.flush();
|
|
861
|
-
tmp = _this__u8e3s4.
|
|
861
|
+
tmp = _this__u8e3s4.p2g(null, null, [], 7, null);
|
|
862
862
|
} catch ($p) {
|
|
863
863
|
var tmp_0;
|
|
864
864
|
if ($p instanceof IllegalStateException) {
|
|
865
|
-
tmp_0 = _this__u8e3s4.
|
|
865
|
+
tmp_0 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
866
866
|
} else {
|
|
867
867
|
throw $p;
|
|
868
868
|
}
|
|
@@ -870,8 +870,8 @@
|
|
|
870
870
|
}
|
|
871
871
|
return tmp;
|
|
872
872
|
};
|
|
873
|
-
FlushOutput.prototype.
|
|
874
|
-
return this.
|
|
873
|
+
FlushOutput.prototype.d2k = function (_this__u8e3s4, first) {
|
|
874
|
+
return this.j2p(_this__u8e3s4, first);
|
|
875
875
|
};
|
|
876
876
|
var FlushOutput_instance;
|
|
877
877
|
function FlushOutput_getInstance() {
|
|
@@ -883,12 +883,12 @@
|
|
|
883
883
|
GetByte1_instance = this;
|
|
884
884
|
NonBacktrackable_0.call(this, 'get_byte');
|
|
885
885
|
}
|
|
886
|
-
GetByte1.prototype.
|
|
886
|
+
GetByte1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
887
887
|
var tmp = Companion_getInstance_3();
|
|
888
|
-
return tmp.
|
|
888
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
889
889
|
};
|
|
890
|
-
GetByte1.prototype.
|
|
891
|
-
return this.
|
|
890
|
+
GetByte1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
891
|
+
return this.j2p(_this__u8e3s4, first);
|
|
892
892
|
};
|
|
893
893
|
var GetByte1_instance;
|
|
894
894
|
function GetByte1_getInstance() {
|
|
@@ -900,12 +900,12 @@
|
|
|
900
900
|
GetByte2_instance = this;
|
|
901
901
|
NonBacktrackable.call(this, 'get_byte');
|
|
902
902
|
}
|
|
903
|
-
GetByte2.prototype.
|
|
903
|
+
GetByte2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
904
904
|
var tmp = Companion_getInstance_3();
|
|
905
|
-
return tmp.
|
|
905
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
906
906
|
};
|
|
907
|
-
GetByte2.prototype.
|
|
908
|
-
return this.
|
|
907
|
+
GetByte2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
908
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
909
909
|
};
|
|
910
910
|
var GetByte2_instance;
|
|
911
911
|
function GetByte2_getInstance() {
|
|
@@ -917,12 +917,12 @@
|
|
|
917
917
|
GetChar1_instance = this;
|
|
918
918
|
NonBacktrackable_0.call(this, 'get_char');
|
|
919
919
|
}
|
|
920
|
-
GetChar1.prototype.
|
|
921
|
-
IOPrimitiveUtils_getInstance().
|
|
922
|
-
return IOPrimitiveUtils_getInstance().
|
|
920
|
+
GetChar1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
921
|
+
IOPrimitiveUtils_getInstance().j3m(_this__u8e3s4, 0);
|
|
922
|
+
return IOPrimitiveUtils_getInstance().k3m(_this__u8e3s4, IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4), first);
|
|
923
923
|
};
|
|
924
|
-
GetChar1.prototype.
|
|
925
|
-
return this.
|
|
924
|
+
GetChar1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
925
|
+
return this.j2p(_this__u8e3s4, first);
|
|
926
926
|
};
|
|
927
927
|
var GetChar1_instance;
|
|
928
928
|
function GetChar1_getInstance() {
|
|
@@ -934,13 +934,13 @@
|
|
|
934
934
|
GetChar2_instance = this;
|
|
935
935
|
NonBacktrackable.call(this, 'get_char');
|
|
936
936
|
}
|
|
937
|
-
GetChar2.prototype.
|
|
938
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
939
|
-
IOPrimitiveUtils_getInstance().
|
|
940
|
-
return IOPrimitiveUtils_getInstance().
|
|
937
|
+
GetChar2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
938
|
+
var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
939
|
+
IOPrimitiveUtils_getInstance().j3m(_this__u8e3s4, 1);
|
|
940
|
+
return IOPrimitiveUtils_getInstance().k3m(_this__u8e3s4, channel, second);
|
|
941
941
|
};
|
|
942
|
-
GetChar2.prototype.
|
|
943
|
-
return this.
|
|
942
|
+
GetChar2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
943
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
944
944
|
};
|
|
945
945
|
var GetChar2_instance;
|
|
946
946
|
function GetChar2_getInstance() {
|
|
@@ -952,12 +952,12 @@
|
|
|
952
952
|
GetCode1_instance = this;
|
|
953
953
|
NonBacktrackable_0.call(this, 'get_code');
|
|
954
954
|
}
|
|
955
|
-
GetCode1.prototype.
|
|
956
|
-
IOPrimitiveUtils_getInstance().
|
|
957
|
-
return IOPrimitiveUtils_getInstance().
|
|
955
|
+
GetCode1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
956
|
+
IOPrimitiveUtils_getInstance().n3m(_this__u8e3s4, 0);
|
|
957
|
+
return IOPrimitiveUtils_getInstance().o3m(_this__u8e3s4, IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4), first);
|
|
958
958
|
};
|
|
959
|
-
GetCode1.prototype.
|
|
960
|
-
return this.
|
|
959
|
+
GetCode1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
960
|
+
return this.j2p(_this__u8e3s4, first);
|
|
961
961
|
};
|
|
962
962
|
var GetCode1_instance;
|
|
963
963
|
function GetCode1_getInstance() {
|
|
@@ -969,13 +969,13 @@
|
|
|
969
969
|
GetCode2_instance = this;
|
|
970
970
|
NonBacktrackable.call(this, 'get_code');
|
|
971
971
|
}
|
|
972
|
-
GetCode2.prototype.
|
|
973
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
974
|
-
IOPrimitiveUtils_getInstance().
|
|
975
|
-
return IOPrimitiveUtils_getInstance().
|
|
972
|
+
GetCode2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
973
|
+
var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
974
|
+
IOPrimitiveUtils_getInstance().n3m(_this__u8e3s4, 0);
|
|
975
|
+
return IOPrimitiveUtils_getInstance().o3m(_this__u8e3s4, channel, first);
|
|
976
976
|
};
|
|
977
|
-
GetCode2.prototype.
|
|
978
|
-
return this.
|
|
977
|
+
GetCode2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
978
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
979
979
|
};
|
|
980
980
|
var GetCode2_instance;
|
|
981
981
|
function GetCode2_getInstance() {
|
|
@@ -1009,119 +1009,119 @@
|
|
|
1009
1009
|
var tmp$ret$0;
|
|
1010
1010
|
// Inline function 'kotlin.getValue' call
|
|
1011
1011
|
var tmp0_getValue = INPUT_STREAM_TERM_PATTERN$factory();
|
|
1012
|
-
tmp$ret$0 = $this.
|
|
1012
|
+
tmp$ret$0 = $this.y3k_1.b1();
|
|
1013
1013
|
return tmp$ret$0;
|
|
1014
1014
|
}
|
|
1015
1015
|
function _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf($this) {
|
|
1016
1016
|
var tmp$ret$0;
|
|
1017
1017
|
// Inline function 'kotlin.getValue' call
|
|
1018
1018
|
var tmp0_getValue = OUTPUT_STREAM_TERM_PATTERN$factory();
|
|
1019
|
-
tmp$ret$0 = $this.
|
|
1019
|
+
tmp$ret$0 = $this.z3k_1.b1();
|
|
1020
1020
|
return tmp$ret$0;
|
|
1021
1021
|
}
|
|
1022
1022
|
function _get_PROPERTY_TYPE_PATTERN__5nq864($this) {
|
|
1023
1023
|
var tmp$ret$0;
|
|
1024
1024
|
// Inline function 'kotlin.getValue' call
|
|
1025
1025
|
var tmp0_getValue = PROPERTY_TYPE_PATTERN$factory();
|
|
1026
|
-
tmp$ret$0 = $this.
|
|
1026
|
+
tmp$ret$0 = $this.a3l_1.b1();
|
|
1027
1027
|
return tmp$ret$0;
|
|
1028
1028
|
}
|
|
1029
1029
|
function _get_PROPERTY_REPOSITION_PATTERN__lznuii($this) {
|
|
1030
1030
|
var tmp$ret$0;
|
|
1031
1031
|
// Inline function 'kotlin.getValue' call
|
|
1032
1032
|
var tmp0_getValue = PROPERTY_REPOSITION_PATTERN$factory();
|
|
1033
|
-
tmp$ret$0 = $this.
|
|
1033
|
+
tmp$ret$0 = $this.b3l_1.b1();
|
|
1034
1034
|
return tmp$ret$0;
|
|
1035
1035
|
}
|
|
1036
1036
|
function _get_PROPERTY_EOF_ACTION_PATTERN__8k2shv($this) {
|
|
1037
1037
|
var tmp$ret$0;
|
|
1038
1038
|
// Inline function 'kotlin.getValue' call
|
|
1039
1039
|
var tmp0_getValue = PROPERTY_EOF_ACTION_PATTERN$factory();
|
|
1040
|
-
tmp$ret$0 = $this.
|
|
1040
|
+
tmp$ret$0 = $this.c3l_1.b1();
|
|
1041
1041
|
return tmp$ret$0;
|
|
1042
1042
|
}
|
|
1043
1043
|
function _get_PROPERTY_ALIAS_PATTERN__wipd2s($this) {
|
|
1044
1044
|
var tmp$ret$0;
|
|
1045
1045
|
// Inline function 'kotlin.getValue' call
|
|
1046
1046
|
var tmp0_getValue = PROPERTY_ALIAS_PATTERN$factory();
|
|
1047
|
-
tmp$ret$0 = $this.
|
|
1047
|
+
tmp$ret$0 = $this.d3l_1.b1();
|
|
1048
1048
|
return tmp$ret$0;
|
|
1049
1049
|
}
|
|
1050
1050
|
function _get_PROPERTY_INPUT__z2zr91($this) {
|
|
1051
1051
|
var tmp$ret$0;
|
|
1052
1052
|
// Inline function 'kotlin.getValue' call
|
|
1053
1053
|
var tmp0_getValue = PROPERTY_INPUT$factory();
|
|
1054
|
-
tmp$ret$0 = $this.
|
|
1054
|
+
tmp$ret$0 = $this.e3l_1.b1();
|
|
1055
1055
|
return tmp$ret$0;
|
|
1056
1056
|
}
|
|
1057
1057
|
function _get_PROPERTY_OUTPUT__1pem9m($this) {
|
|
1058
1058
|
var tmp$ret$0;
|
|
1059
1059
|
// Inline function 'kotlin.getValue' call
|
|
1060
1060
|
var tmp0_getValue = PROPERTY_OUTPUT$factory();
|
|
1061
|
-
tmp$ret$0 = $this.
|
|
1061
|
+
tmp$ret$0 = $this.f3l_1.b1();
|
|
1062
1062
|
return tmp$ret$0;
|
|
1063
1063
|
}
|
|
1064
1064
|
function _get_PROPERTY_TYPE_TEXT__9rpcwt($this) {
|
|
1065
1065
|
var tmp$ret$0;
|
|
1066
1066
|
// Inline function 'kotlin.getValue' call
|
|
1067
1067
|
var tmp0_getValue = PROPERTY_TYPE_TEXT$factory();
|
|
1068
|
-
tmp$ret$0 = $this.
|
|
1068
|
+
tmp$ret$0 = $this.g3l_1.b1();
|
|
1069
1069
|
return tmp$ret$0;
|
|
1070
1070
|
}
|
|
1071
1071
|
function _get_PROPERTY_REPOSITION_FALSE__i73t3b($this) {
|
|
1072
1072
|
var tmp$ret$0;
|
|
1073
1073
|
// Inline function 'kotlin.getValue' call
|
|
1074
1074
|
var tmp0_getValue = PROPERTY_REPOSITION_FALSE$factory();
|
|
1075
|
-
tmp$ret$0 = $this.
|
|
1075
|
+
tmp$ret$0 = $this.h3l_1.b1();
|
|
1076
1076
|
return tmp$ret$0;
|
|
1077
1077
|
}
|
|
1078
1078
|
function _get_PROPERTY_EOF_ACTION_EOF_CODE__he3pvl($this) {
|
|
1079
1079
|
var tmp$ret$0;
|
|
1080
1080
|
// Inline function 'kotlin.getValue' call
|
|
1081
1081
|
var tmp0_getValue = PROPERTY_EOF_ACTION_EOF_CODE$factory();
|
|
1082
|
-
tmp$ret$0 = $this.
|
|
1082
|
+
tmp$ret$0 = $this.i3l_1.b1();
|
|
1083
1083
|
return tmp$ret$0;
|
|
1084
1084
|
}
|
|
1085
1085
|
function _get_OPTION_QUOTED_PATTERN__n2ri42($this) {
|
|
1086
1086
|
var tmp$ret$0;
|
|
1087
1087
|
// Inline function 'kotlin.getValue' call
|
|
1088
1088
|
var tmp0_getValue = OPTION_QUOTED_PATTERN$factory();
|
|
1089
|
-
tmp$ret$0 = $this.
|
|
1089
|
+
tmp$ret$0 = $this.j3l_1.b1();
|
|
1090
1090
|
return tmp$ret$0;
|
|
1091
1091
|
}
|
|
1092
1092
|
function _get_OPTION_NUMBER_VARS_PATTERN__p98ste($this) {
|
|
1093
1093
|
var tmp$ret$0;
|
|
1094
1094
|
// Inline function 'kotlin.getValue' call
|
|
1095
1095
|
var tmp0_getValue = OPTION_NUMBER_VARS_PATTERN$factory();
|
|
1096
|
-
tmp$ret$0 = $this.
|
|
1096
|
+
tmp$ret$0 = $this.k3l_1.b1();
|
|
1097
1097
|
return tmp$ret$0;
|
|
1098
1098
|
}
|
|
1099
1099
|
function _get_OPTION_IGNORE_OPS_PATTERN__cpse4v($this) {
|
|
1100
1100
|
var tmp$ret$0;
|
|
1101
1101
|
// Inline function 'kotlin.getValue' call
|
|
1102
1102
|
var tmp0_getValue = OPTION_IGNORE_OPS_PATTERN$factory();
|
|
1103
|
-
tmp$ret$0 = $this.
|
|
1103
|
+
tmp$ret$0 = $this.l3l_1.b1();
|
|
1104
1104
|
return tmp$ret$0;
|
|
1105
1105
|
}
|
|
1106
1106
|
function _get_INFO_VARIABLES_PATTERN__bhp1h0($this) {
|
|
1107
1107
|
var tmp$ret$0;
|
|
1108
1108
|
// Inline function 'kotlin.getValue' call
|
|
1109
1109
|
var tmp0_getValue = INFO_VARIABLES_PATTERN$factory();
|
|
1110
|
-
tmp$ret$0 = $this.
|
|
1110
|
+
tmp$ret$0 = $this.m3l_1.b1();
|
|
1111
1111
|
return tmp$ret$0;
|
|
1112
1112
|
}
|
|
1113
1113
|
function _get_INFO_VARIABLE_NAMES_PATTERN__j3oaom($this) {
|
|
1114
1114
|
var tmp$ret$0;
|
|
1115
1115
|
// Inline function 'kotlin.getValue' call
|
|
1116
1116
|
var tmp0_getValue = INFO_VARIABLE_NAMES_PATTERN$factory();
|
|
1117
|
-
tmp$ret$0 = $this.
|
|
1117
|
+
tmp$ret$0 = $this.n3l_1.b1();
|
|
1118
1118
|
return tmp$ret$0;
|
|
1119
1119
|
}
|
|
1120
1120
|
function _get_INFO_SINGLETONS_PATTERN__y21s87($this) {
|
|
1121
1121
|
var tmp$ret$0;
|
|
1122
1122
|
// Inline function 'kotlin.getValue' call
|
|
1123
1123
|
var tmp0_getValue = INFO_SINGLETONS_PATTERN$factory();
|
|
1124
|
-
tmp$ret$0 = $this.
|
|
1124
|
+
tmp$ret$0 = $this.o3l_1.b1();
|
|
1125
1125
|
return tmp$ret$0;
|
|
1126
1126
|
}
|
|
1127
1127
|
function _get_validPropertiesPattern__7s1t06($this) {
|
|
@@ -1487,22 +1487,22 @@
|
|
|
1487
1487
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b1();
|
|
1488
1488
|
}
|
|
1489
1489
|
function replyOpeningStream(_this__u8e3s4, $this, channel, third, alias) {
|
|
1490
|
-
var streamTerm = channel.
|
|
1491
|
-
var tmp = Companion_getInstance_3().
|
|
1492
|
-
return _this__u8e3s4.
|
|
1490
|
+
var streamTerm = channel.o1z();
|
|
1491
|
+
var tmp = Companion_getInstance_3().e2h(_this__u8e3s4, third, streamTerm);
|
|
1492
|
+
return _this__u8e3s4.x2i(tmp, null, IOPrimitiveUtils$replyOpeningStream$lambda(alias, channel), 2, null);
|
|
1493
1493
|
}
|
|
1494
1494
|
function replyOpeningStream_0(_this__u8e3s4, $this, channel, third, alias) {
|
|
1495
|
-
var streamTerm = channel.
|
|
1496
|
-
var tmp = Companion_getInstance_3().
|
|
1497
|
-
return _this__u8e3s4.
|
|
1495
|
+
var streamTerm = channel.o1z();
|
|
1496
|
+
var tmp = Companion_getInstance_3().e2h(_this__u8e3s4, third, streamTerm);
|
|
1497
|
+
return _this__u8e3s4.x2i(tmp, null, IOPrimitiveUtils$replyOpeningStream$lambda_0(alias, channel), 2, null);
|
|
1498
1498
|
}
|
|
1499
1499
|
function IOPrimitiveUtils$INPUT_STREAM_TERM_PATTERN$delegate$lambda() {
|
|
1500
1500
|
var tmp = Companion_getInstance_10();
|
|
1501
|
-
return tmp.
|
|
1501
|
+
return tmp.s1z(null, 1, null);
|
|
1502
1502
|
}
|
|
1503
1503
|
function IOPrimitiveUtils$OUTPUT_STREAM_TERM_PATTERN$delegate$lambda() {
|
|
1504
1504
|
var tmp = Companion_getInstance_11();
|
|
1505
|
-
return tmp.
|
|
1505
|
+
return tmp.s1z(null, 1, null);
|
|
1506
1506
|
}
|
|
1507
1507
|
function IOPrimitiveUtils$PROPERTY_TYPE_PATTERN$delegate$lambda() {
|
|
1508
1508
|
return Companion_getInstance_5().of('type', [Companion_getInstance_6().anonymous()]);
|
|
@@ -1581,18 +1581,18 @@
|
|
|
1581
1581
|
return map(sequenceOf([true, false]), it);
|
|
1582
1582
|
}
|
|
1583
1583
|
function IOPrimitiveUtils$propertiesOf$slambda($channel, $this_propertiesOf, resultContinuation) {
|
|
1584
|
-
this.
|
|
1585
|
-
this.
|
|
1584
|
+
this.y3m_1 = $channel;
|
|
1585
|
+
this.z3m_1 = $this_propertiesOf;
|
|
1586
1586
|
CoroutineImpl.call(this, resultContinuation);
|
|
1587
1587
|
}
|
|
1588
|
-
IOPrimitiveUtils$propertiesOf$slambda.prototype.
|
|
1589
|
-
var tmp = this.
|
|
1588
|
+
IOPrimitiveUtils$propertiesOf$slambda.prototype.c3n = function ($this$sequence, $cont) {
|
|
1589
|
+
var tmp = this.d3n($this$sequence, $cont);
|
|
1590
1590
|
tmp.ei_1 = Unit_getInstance();
|
|
1591
1591
|
tmp.fi_1 = null;
|
|
1592
1592
|
return tmp.ki();
|
|
1593
1593
|
};
|
|
1594
1594
|
IOPrimitiveUtils$propertiesOf$slambda.prototype.wi = function (p1, $cont) {
|
|
1595
|
-
return this.
|
|
1595
|
+
return this.c3n(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
|
|
1596
1596
|
};
|
|
1597
1597
|
IOPrimitiveUtils$propertiesOf$slambda.prototype.ki = function () {
|
|
1598
1598
|
var suspendResult = this.ei_1;
|
|
@@ -1602,20 +1602,20 @@
|
|
|
1602
1602
|
switch (tmp) {
|
|
1603
1603
|
case 0:
|
|
1604
1604
|
this.di_1 = 7;
|
|
1605
|
-
this.
|
|
1606
|
-
var tmp_0 = this.
|
|
1605
|
+
this.b3n_1 = this.y3m_1;
|
|
1606
|
+
var tmp_0 = this.b3n_1;
|
|
1607
1607
|
if (isInterface(tmp_0, InputChannel)) {
|
|
1608
1608
|
this.ci_1 = 3;
|
|
1609
|
-
suspendResult = this.
|
|
1609
|
+
suspendResult = this.a3n_1.z4(_get_PROPERTY_INPUT__z2zr91(IOPrimitiveUtils_getInstance()), this);
|
|
1610
1610
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1611
1611
|
return suspendResult;
|
|
1612
1612
|
}
|
|
1613
1613
|
continue $sm;
|
|
1614
1614
|
} else {
|
|
1615
|
-
var tmp_1 = this.
|
|
1615
|
+
var tmp_1 = this.b3n_1;
|
|
1616
1616
|
if (isInterface(tmp_1, OutputChannel)) {
|
|
1617
1617
|
this.ci_1 = 1;
|
|
1618
|
-
suspendResult = this.
|
|
1618
|
+
suspendResult = this.a3n_1.z4(_get_PROPERTY_OUTPUT__1pem9m(IOPrimitiveUtils_getInstance()), this);
|
|
1619
1619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1620
1620
|
return suspendResult;
|
|
1621
1621
|
}
|
|
@@ -1629,11 +1629,11 @@
|
|
|
1629
1629
|
break;
|
|
1630
1630
|
case 1:
|
|
1631
1631
|
this.ci_1 = 2;
|
|
1632
|
-
var tmp_2 = this.
|
|
1633
|
-
var tmp_3 = this.
|
|
1632
|
+
var tmp_2 = this.z3m_1.context.b1v();
|
|
1633
|
+
var tmp_3 = this.y3m_1;
|
|
1634
1634
|
var tmp_4 = tmp_2.aliasesOf(isInterface(tmp_3, OutputChannel) ? tmp_3 : THROW_CCE());
|
|
1635
1635
|
var tmp_5 = filterNot(tmp_4, IOPrimitiveUtils$propertiesOf$slambda$lambda_0);
|
|
1636
|
-
suspendResult = this.
|
|
1636
|
+
suspendResult = this.a3n_1.c5(map(tmp_5, IOPrimitiveUtils$alias$ref_0(IOPrimitiveUtils_getInstance())), this);
|
|
1637
1637
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1638
1638
|
return suspendResult;
|
|
1639
1639
|
}
|
|
@@ -1644,11 +1644,11 @@
|
|
|
1644
1644
|
continue $sm;
|
|
1645
1645
|
case 3:
|
|
1646
1646
|
this.ci_1 = 4;
|
|
1647
|
-
var tmp_6 = this.
|
|
1648
|
-
var tmp_7 = this.
|
|
1647
|
+
var tmp_6 = this.z3m_1.context.a1v();
|
|
1648
|
+
var tmp_7 = this.y3m_1;
|
|
1649
1649
|
var tmp_8 = tmp_6.aliasesOf(isInterface(tmp_7, InputChannel) ? tmp_7 : THROW_CCE());
|
|
1650
1650
|
var tmp_9 = filterNot(tmp_8, IOPrimitiveUtils$propertiesOf$slambda$lambda);
|
|
1651
|
-
suspendResult = this.
|
|
1651
|
+
suspendResult = this.a3n_1.c5(map(tmp_9, IOPrimitiveUtils$alias$ref(IOPrimitiveUtils_getInstance())), this);
|
|
1652
1652
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1653
1653
|
return suspendResult;
|
|
1654
1654
|
}
|
|
@@ -1659,7 +1659,7 @@
|
|
|
1659
1659
|
continue $sm;
|
|
1660
1660
|
case 5:
|
|
1661
1661
|
this.ci_1 = 6;
|
|
1662
|
-
suspendResult = this.
|
|
1662
|
+
suspendResult = this.a3n_1.z4(_get_PROPERTY_TYPE_TEXT__9rpcwt(IOPrimitiveUtils_getInstance()), this);
|
|
1663
1663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1664
1664
|
return suspendResult;
|
|
1665
1665
|
}
|
|
@@ -1680,15 +1680,15 @@
|
|
|
1680
1680
|
}
|
|
1681
1681
|
while (true);
|
|
1682
1682
|
};
|
|
1683
|
-
IOPrimitiveUtils$propertiesOf$slambda.prototype.
|
|
1684
|
-
var i = new IOPrimitiveUtils$propertiesOf$slambda(this.
|
|
1685
|
-
i.
|
|
1683
|
+
IOPrimitiveUtils$propertiesOf$slambda.prototype.d3n = function ($this$sequence, completion) {
|
|
1684
|
+
var i = new IOPrimitiveUtils$propertiesOf$slambda(this.y3m_1, this.z3m_1, completion);
|
|
1685
|
+
i.a3n_1 = $this$sequence;
|
|
1686
1686
|
return i;
|
|
1687
1687
|
};
|
|
1688
1688
|
function IOPrimitiveUtils$propertiesOf$slambda_0($channel, $this_propertiesOf, resultContinuation) {
|
|
1689
1689
|
var i = new IOPrimitiveUtils$propertiesOf$slambda($channel, $this_propertiesOf, resultContinuation);
|
|
1690
1690
|
var l = function ($this$sequence, $cont) {
|
|
1691
|
-
return i.
|
|
1691
|
+
return i.c3n($this$sequence, $cont);
|
|
1692
1692
|
};
|
|
1693
1693
|
l.$arity = 1;
|
|
1694
1694
|
return l;
|
|
@@ -1726,69 +1726,69 @@
|
|
|
1726
1726
|
}
|
|
1727
1727
|
function IOPrimitiveUtils$open$lambda($this_open) {
|
|
1728
1728
|
return function (it) {
|
|
1729
|
-
return IOPrimitiveUtils_getInstance().
|
|
1729
|
+
return IOPrimitiveUtils_getInstance().e3n($this_open, it);
|
|
1730
1730
|
};
|
|
1731
1731
|
}
|
|
1732
1732
|
function IOPrimitiveUtils$open$lambda_0($this_open) {
|
|
1733
1733
|
return function (it) {
|
|
1734
|
-
return IOPrimitiveUtils_getInstance().
|
|
1734
|
+
return IOPrimitiveUtils_getInstance().f3n($this_open, it);
|
|
1735
1735
|
};
|
|
1736
1736
|
}
|
|
1737
1737
|
function IOPrimitiveUtils$replyOpeningStream$lambda($alias, $channel) {
|
|
1738
1738
|
return function ($this$replyWith) {
|
|
1739
1739
|
var tmp0_elvis_lhs = $alias;
|
|
1740
|
-
$this$replyWith.
|
|
1740
|
+
$this$replyWith.l2n(tmp0_elvis_lhs == null ? 'output_channel' + $channel.o1z().get(1) : tmp0_elvis_lhs, $channel);
|
|
1741
1741
|
return Unit_getInstance();
|
|
1742
1742
|
};
|
|
1743
1743
|
}
|
|
1744
1744
|
function IOPrimitiveUtils$replyOpeningStream$lambda_0($alias, $channel) {
|
|
1745
1745
|
return function ($this$replyWith) {
|
|
1746
1746
|
var tmp0_elvis_lhs = $alias;
|
|
1747
|
-
$this$replyWith.
|
|
1747
|
+
$this$replyWith.i2n(tmp0_elvis_lhs == null ? 'input_channel' + $channel.o1z().get(1) : tmp0_elvis_lhs, $channel);
|
|
1748
1748
|
return Unit_getInstance();
|
|
1749
1749
|
};
|
|
1750
1750
|
}
|
|
1751
1751
|
function IOPrimitiveUtils() {
|
|
1752
1752
|
IOPrimitiveUtils_instance = this;
|
|
1753
1753
|
var tmp = this;
|
|
1754
|
-
tmp.
|
|
1754
|
+
tmp.y3k_1 = lazy(IOPrimitiveUtils$INPUT_STREAM_TERM_PATTERN$delegate$lambda);
|
|
1755
1755
|
var tmp_0 = this;
|
|
1756
|
-
tmp_0.
|
|
1756
|
+
tmp_0.z3k_1 = lazy(IOPrimitiveUtils$OUTPUT_STREAM_TERM_PATTERN$delegate$lambda);
|
|
1757
1757
|
var tmp_1 = this;
|
|
1758
|
-
tmp_1.
|
|
1758
|
+
tmp_1.a3l_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_PATTERN$delegate$lambda);
|
|
1759
1759
|
var tmp_2 = this;
|
|
1760
|
-
tmp_2.
|
|
1760
|
+
tmp_2.b3l_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_PATTERN$delegate$lambda);
|
|
1761
1761
|
var tmp_3 = this;
|
|
1762
|
-
tmp_3.
|
|
1762
|
+
tmp_3.c3l_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_PATTERN$delegate$lambda);
|
|
1763
1763
|
var tmp_4 = this;
|
|
1764
|
-
tmp_4.
|
|
1764
|
+
tmp_4.d3l_1 = lazy(IOPrimitiveUtils$PROPERTY_ALIAS_PATTERN$delegate$lambda);
|
|
1765
1765
|
var tmp_5 = this;
|
|
1766
|
-
tmp_5.
|
|
1766
|
+
tmp_5.e3l_1 = lazy(IOPrimitiveUtils$PROPERTY_INPUT$delegate$lambda);
|
|
1767
1767
|
var tmp_6 = this;
|
|
1768
|
-
tmp_6.
|
|
1768
|
+
tmp_6.f3l_1 = lazy(IOPrimitiveUtils$PROPERTY_OUTPUT$delegate$lambda);
|
|
1769
1769
|
var tmp_7 = this;
|
|
1770
|
-
tmp_7.
|
|
1770
|
+
tmp_7.g3l_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_TEXT$delegate$lambda);
|
|
1771
1771
|
var tmp_8 = this;
|
|
1772
|
-
tmp_8.
|
|
1772
|
+
tmp_8.h3l_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_FALSE$delegate$lambda);
|
|
1773
1773
|
var tmp_9 = this;
|
|
1774
|
-
tmp_9.
|
|
1774
|
+
tmp_9.i3l_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_EOF_CODE$delegate$lambda);
|
|
1775
1775
|
var tmp_10 = this;
|
|
1776
|
-
tmp_10.
|
|
1776
|
+
tmp_10.j3l_1 = lazy(IOPrimitiveUtils$OPTION_QUOTED_PATTERN$delegate$lambda);
|
|
1777
1777
|
var tmp_11 = this;
|
|
1778
|
-
tmp_11.
|
|
1778
|
+
tmp_11.k3l_1 = lazy(IOPrimitiveUtils$OPTION_NUMBER_VARS_PATTERN$delegate$lambda);
|
|
1779
1779
|
var tmp_12 = this;
|
|
1780
|
-
tmp_12.
|
|
1780
|
+
tmp_12.l3l_1 = lazy(IOPrimitiveUtils$OPTION_IGNORE_OPS_PATTERN$delegate$lambda);
|
|
1781
1781
|
var tmp_13 = this;
|
|
1782
|
-
tmp_13.
|
|
1782
|
+
tmp_13.m3l_1 = lazy(IOPrimitiveUtils$INFO_VARIABLES_PATTERN$delegate$lambda);
|
|
1783
1783
|
var tmp_14 = this;
|
|
1784
|
-
tmp_14.
|
|
1784
|
+
tmp_14.n3l_1 = lazy(IOPrimitiveUtils$INFO_VARIABLE_NAMES_PATTERN$delegate$lambda);
|
|
1785
1785
|
var tmp_15 = this;
|
|
1786
|
-
tmp_15.
|
|
1786
|
+
tmp_15.o3l_1 = lazy(IOPrimitiveUtils$INFO_SINGLETONS_PATTERN$delegate$lambda);
|
|
1787
1787
|
}
|
|
1788
|
-
IOPrimitiveUtils.prototype.
|
|
1788
|
+
IOPrimitiveUtils.prototype.g3n = function (_this__u8e3s4, channel) {
|
|
1789
1789
|
return sequence(IOPrimitiveUtils$propertiesOf$slambda_0(channel, _this__u8e3s4, null));
|
|
1790
1790
|
};
|
|
1791
|
-
IOPrimitiveUtils.prototype.
|
|
1791
|
+
IOPrimitiveUtils.prototype.p3l = function (_this__u8e3s4) {
|
|
1792
1792
|
var tmp$ret$1;
|
|
1793
1793
|
// Inline function 'kotlin.let' call
|
|
1794
1794
|
var tmp0_let = _this__u8e3s4.context.a1v();
|
|
@@ -1800,7 +1800,7 @@
|
|
|
1800
1800
|
tmp$ret$1 = tmp$ret$0;
|
|
1801
1801
|
return tmp$ret$1;
|
|
1802
1802
|
};
|
|
1803
|
-
IOPrimitiveUtils.prototype.
|
|
1803
|
+
IOPrimitiveUtils.prototype.h3n = function (_this__u8e3s4) {
|
|
1804
1804
|
var tmp$ret$1;
|
|
1805
1805
|
// Inline function 'kotlin.let' call
|
|
1806
1806
|
var tmp0_let = _this__u8e3s4.context.b1v();
|
|
@@ -1812,7 +1812,7 @@
|
|
|
1812
1812
|
tmp$ret$1 = tmp$ret$0;
|
|
1813
1813
|
return tmp$ret$1;
|
|
1814
1814
|
};
|
|
1815
|
-
IOPrimitiveUtils.prototype.
|
|
1815
|
+
IOPrimitiveUtils.prototype.e3n = function (_this__u8e3s4, term) {
|
|
1816
1816
|
var tmp;
|
|
1817
1817
|
var tmp$ret$1;
|
|
1818
1818
|
$l$block: {
|
|
@@ -1823,7 +1823,7 @@
|
|
|
1823
1823
|
var element = tmp0_iterator.p();
|
|
1824
1824
|
var tmp$ret$0;
|
|
1825
1825
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidProperty.<anonymous>' call
|
|
1826
|
-
tmp$ret$0 = Companion_getInstance_3().
|
|
1826
|
+
tmp$ret$0 = Companion_getInstance_3().f2h(_this__u8e3s4, element, term);
|
|
1827
1827
|
if (tmp$ret$0) {
|
|
1828
1828
|
tmp$ret$1 = true;
|
|
1829
1829
|
break $l$block;
|
|
@@ -1838,7 +1838,7 @@
|
|
|
1838
1838
|
}
|
|
1839
1839
|
return tmp;
|
|
1840
1840
|
};
|
|
1841
|
-
IOPrimitiveUtils.prototype.
|
|
1841
|
+
IOPrimitiveUtils.prototype.f3n = function (_this__u8e3s4, term) {
|
|
1842
1842
|
var tmp;
|
|
1843
1843
|
var tmp$ret$1;
|
|
1844
1844
|
$l$block: {
|
|
@@ -1849,7 +1849,7 @@
|
|
|
1849
1849
|
var element = tmp0_iterator.p();
|
|
1850
1850
|
var tmp$ret$0;
|
|
1851
1851
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsSupportedProperty.<anonymous>' call
|
|
1852
|
-
tmp$ret$0 = Companion_getInstance_3().
|
|
1852
|
+
tmp$ret$0 = Companion_getInstance_3().f2h(_this__u8e3s4, element, term);
|
|
1853
1853
|
if (tmp$ret$0) {
|
|
1854
1854
|
tmp$ret$1 = true;
|
|
1855
1855
|
break $l$block;
|
|
@@ -1864,7 +1864,7 @@
|
|
|
1864
1864
|
}
|
|
1865
1865
|
return tmp;
|
|
1866
1866
|
};
|
|
1867
|
-
IOPrimitiveUtils.prototype.
|
|
1867
|
+
IOPrimitiveUtils.prototype.i3n = function (_this__u8e3s4, term) {
|
|
1868
1868
|
var tmp;
|
|
1869
1869
|
var tmp$ret$1;
|
|
1870
1870
|
$l$block: {
|
|
@@ -1875,7 +1875,7 @@
|
|
|
1875
1875
|
var element = tmp0_iterator.p();
|
|
1876
1876
|
var tmp$ret$0;
|
|
1877
1877
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidOption.<anonymous>' call
|
|
1878
|
-
tmp$ret$0 = Companion_getInstance_3().
|
|
1878
|
+
tmp$ret$0 = Companion_getInstance_3().f2h(_this__u8e3s4, element, term);
|
|
1879
1879
|
if (tmp$ret$0) {
|
|
1880
1880
|
tmp$ret$1 = true;
|
|
1881
1881
|
break $l$block;
|
|
@@ -1890,7 +1890,7 @@
|
|
|
1890
1890
|
}
|
|
1891
1891
|
return tmp;
|
|
1892
1892
|
};
|
|
1893
|
-
IOPrimitiveUtils.prototype.
|
|
1893
|
+
IOPrimitiveUtils.prototype.j3n = function (_this__u8e3s4, term) {
|
|
1894
1894
|
var tmp;
|
|
1895
1895
|
var tmp$ret$1;
|
|
1896
1896
|
$l$block: {
|
|
@@ -1901,7 +1901,7 @@
|
|
|
1901
1901
|
var element = tmp0_iterator.p();
|
|
1902
1902
|
var tmp$ret$0;
|
|
1903
1903
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidInfo.<anonymous>' call
|
|
1904
|
-
tmp$ret$0 = Companion_getInstance_3().
|
|
1904
|
+
tmp$ret$0 = Companion_getInstance_3().f2h(_this__u8e3s4, element, term);
|
|
1905
1905
|
if (tmp$ret$0) {
|
|
1906
1906
|
tmp$ret$1 = true;
|
|
1907
1907
|
break $l$block;
|
|
@@ -1916,36 +1916,36 @@
|
|
|
1916
1916
|
}
|
|
1917
1917
|
return tmp;
|
|
1918
1918
|
};
|
|
1919
|
-
IOPrimitiveUtils.prototype.
|
|
1920
|
-
Companion_getInstance_3().
|
|
1919
|
+
IOPrimitiveUtils.prototype.k3n = function (_this__u8e3s4, index) {
|
|
1920
|
+
Companion_getInstance_3().y2h(_this__u8e3s4, index);
|
|
1921
1921
|
var tmp = _this__u8e3s4.arguments.n(index);
|
|
1922
1922
|
var list = isInterface(tmp, List) ? tmp : THROW_CCE();
|
|
1923
1923
|
var tmp0_iterator = list.ju().j();
|
|
1924
1924
|
while (tmp0_iterator.m()) {
|
|
1925
1925
|
var term = tmp0_iterator.p();
|
|
1926
|
-
this.
|
|
1926
|
+
this.i3n(_this__u8e3s4, term);
|
|
1927
1927
|
}
|
|
1928
1928
|
return _this__u8e3s4;
|
|
1929
1929
|
};
|
|
1930
|
-
IOPrimitiveUtils.prototype.
|
|
1930
|
+
IOPrimitiveUtils.prototype.l3n = function (_this__u8e3s4, index) {
|
|
1931
1931
|
var list = _this__u8e3s4.arguments.n(index);
|
|
1932
1932
|
var tmp;
|
|
1933
1933
|
if (isInterface(list, Var)) {
|
|
1934
1934
|
tmp = null;
|
|
1935
1935
|
} else {
|
|
1936
|
-
Companion_getInstance_3().
|
|
1936
|
+
Companion_getInstance_3().y2h(_this__u8e3s4, index);
|
|
1937
1937
|
var listOfInfo = (isInterface(list, List) ? list : THROW_CCE()).toList();
|
|
1938
1938
|
var tmp0_iterator = listOfInfo.j();
|
|
1939
1939
|
while (tmp0_iterator.m()) {
|
|
1940
1940
|
var term = tmp0_iterator.p();
|
|
1941
|
-
this.
|
|
1941
|
+
this.j3n(_this__u8e3s4, term);
|
|
1942
1942
|
}
|
|
1943
1943
|
tmp = listOfInfo;
|
|
1944
1944
|
}
|
|
1945
1945
|
return tmp;
|
|
1946
1946
|
};
|
|
1947
|
-
IOPrimitiveUtils.prototype.
|
|
1948
|
-
this.
|
|
1947
|
+
IOPrimitiveUtils.prototype.m3n = function (_this__u8e3s4, index) {
|
|
1948
|
+
this.k3n(_this__u8e3s4, index);
|
|
1949
1949
|
var tmp = _this__u8e3s4.arguments.n(index);
|
|
1950
1950
|
var optionList = (isInterface(tmp, List) ? tmp : THROW_CCE()).toList();
|
|
1951
1951
|
var tmp_0;
|
|
@@ -1965,7 +1965,7 @@
|
|
|
1965
1965
|
var numberVars = getOption(optionList, this, _this__u8e3s4.context.k1l(), _get_OPTION_NUMBER_VARS_PATTERN__p98ste(this));
|
|
1966
1966
|
return Companion_getInstance_13().h14(VarFormat_UNDERSCORE_getInstance(), opFormat, funcFormat, numberVars, _this__u8e3s4.context.h1v());
|
|
1967
1967
|
};
|
|
1968
|
-
IOPrimitiveUtils.prototype.
|
|
1968
|
+
IOPrimitiveUtils.prototype.n3n = function (_this__u8e3s4, index) {
|
|
1969
1969
|
var term = _this__u8e3s4.arguments.n(index);
|
|
1970
1970
|
var tmp0_subject = term;
|
|
1971
1971
|
if (isInterface(tmp0_subject, Var))
|
|
@@ -1981,7 +1981,7 @@
|
|
|
1981
1981
|
var element = tmp0_iterator.p();
|
|
1982
1982
|
var tmp$ret$0;
|
|
1983
1983
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensuringArgumentIsStreamProperty.<anonymous>' call
|
|
1984
|
-
tmp$ret$0 = Companion_getInstance_3().
|
|
1984
|
+
tmp$ret$0 = Companion_getInstance_3().f2h(_this__u8e3s4, element, term);
|
|
1985
1985
|
if (tmp$ret$0) {
|
|
1986
1986
|
tmp$ret$1 = true;
|
|
1987
1987
|
break $l$block;
|
|
@@ -1994,12 +1994,12 @@
|
|
|
1994
1994
|
}
|
|
1995
1995
|
}
|
|
1996
1996
|
}
|
|
1997
|
-
throw Companion_getInstance_12().
|
|
1997
|
+
throw Companion_getInstance_12().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_PROPERTY_getInstance(), term, index);
|
|
1998
1998
|
};
|
|
1999
|
-
IOPrimitiveUtils.prototype.
|
|
2000
|
-
Companion_getInstance_3().
|
|
1999
|
+
IOPrimitiveUtils.prototype.o3n = function (_this__u8e3s4, index) {
|
|
2000
|
+
Companion_getInstance_3().k2h(_this__u8e3s4, index);
|
|
2001
2001
|
var term = _this__u8e3s4.arguments.n(index);
|
|
2002
|
-
var error = Companion_getInstance_12().
|
|
2002
|
+
var error = Companion_getInstance_12().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_SOURCE_SINK_getInstance(), term, index);
|
|
2003
2003
|
if (!isInterface(term, Atom)) {
|
|
2004
2004
|
throw error;
|
|
2005
2005
|
}
|
|
@@ -2013,13 +2013,13 @@
|
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
};
|
|
2016
|
-
IOPrimitiveUtils.prototype.
|
|
2017
|
-
Companion_getInstance_3().
|
|
2018
|
-
Companion_getInstance_3().
|
|
2016
|
+
IOPrimitiveUtils.prototype.p3n = function (_this__u8e3s4, index) {
|
|
2017
|
+
Companion_getInstance_3().k2h(_this__u8e3s4, index);
|
|
2018
|
+
Companion_getInstance_3().t2h(_this__u8e3s4, index);
|
|
2019
2019
|
var tmp = _this__u8e3s4.arguments.n(index);
|
|
2020
2020
|
var term = isInterface(tmp, Atom) ? tmp : THROW_CCE();
|
|
2021
|
-
if (!Companion_getInstance_21().
|
|
2022
|
-
throw Companion_getInstance_12().
|
|
2021
|
+
if (!Companion_getInstance_21().i3k_1.v(term)) {
|
|
2022
|
+
throw Companion_getInstance_12().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IO_MODE_getInstance(), term, index);
|
|
2023
2023
|
}
|
|
2024
2024
|
var tmp$ret$1;
|
|
2025
2025
|
// Inline function 'kotlin.text.uppercase' call
|
|
@@ -2030,14 +2030,14 @@
|
|
|
2030
2030
|
tmp$ret$1 = tmp$ret$0.toUpperCase();
|
|
2031
2031
|
return valueOf(tmp$ret$1);
|
|
2032
2032
|
};
|
|
2033
|
-
IOPrimitiveUtils.prototype.
|
|
2033
|
+
IOPrimitiveUtils.prototype.c3m = function (_this__u8e3s4, index) {
|
|
2034
2034
|
var term = _this__u8e3s4.arguments.n(index);
|
|
2035
2035
|
var tmp0_subject = term;
|
|
2036
2036
|
if (isInterface(tmp0_subject, Var))
|
|
2037
2037
|
return null;
|
|
2038
2038
|
else {
|
|
2039
2039
|
if (isInterface(tmp0_subject, Struct))
|
|
2040
|
-
if (Companion_getInstance_3().
|
|
2040
|
+
if (Companion_getInstance_3().f2h(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
|
|
2041
2041
|
var tmp1_elvis_lhs = firstOrNull(_this__u8e3s4.context.b1v().findByTerm(term));
|
|
2042
2042
|
var tmp;
|
|
2043
2043
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2046,7 +2046,7 @@
|
|
|
2046
2046
|
tmp = tmp1_elvis_lhs;
|
|
2047
2047
|
}
|
|
2048
2048
|
return tmp;
|
|
2049
|
-
} else if (Companion_getInstance_3().
|
|
2049
|
+
} else if (Companion_getInstance_3().f2h(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
|
|
2050
2050
|
var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.a1v().findByTerm(term));
|
|
2051
2051
|
var tmp_0;
|
|
2052
2052
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2057,9 +2057,9 @@
|
|
|
2057
2057
|
return tmp_0;
|
|
2058
2058
|
}
|
|
2059
2059
|
}
|
|
2060
|
-
throw Companion_getInstance_12().
|
|
2060
|
+
throw Companion_getInstance_12().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
|
|
2061
2061
|
};
|
|
2062
|
-
IOPrimitiveUtils.prototype.
|
|
2062
|
+
IOPrimitiveUtils.prototype.j3m = function (_this__u8e3s4, index) {
|
|
2063
2063
|
var arg = _this__u8e3s4.arguments.n(index);
|
|
2064
2064
|
var tmp;
|
|
2065
2065
|
if (isInterface(arg, Var)) {
|
|
@@ -2072,31 +2072,31 @@
|
|
|
2072
2072
|
} else if (arg.b1().length === 1) {
|
|
2073
2073
|
tmp_0 = _this__u8e3s4;
|
|
2074
2074
|
} else {
|
|
2075
|
-
throw Companion_getInstance_2().
|
|
2075
|
+
throw Companion_getInstance_2().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
|
|
2076
2076
|
}
|
|
2077
2077
|
tmp = tmp_0;
|
|
2078
2078
|
} else {
|
|
2079
|
-
throw Companion_getInstance_2().
|
|
2079
|
+
throw Companion_getInstance_2().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
2082
2082
|
return tmp;
|
|
2083
2083
|
};
|
|
2084
|
-
IOPrimitiveUtils.prototype.
|
|
2084
|
+
IOPrimitiveUtils.prototype.n3m = function (_this__u8e3s4, index) {
|
|
2085
2085
|
var term = _this__u8e3s4.arguments.n(index);
|
|
2086
2086
|
var tmp;
|
|
2087
2087
|
if (isInterface(term, Var)) {
|
|
2088
2088
|
tmp = _this__u8e3s4;
|
|
2089
2089
|
} else {
|
|
2090
2090
|
if (!isInterface(term, Integer)) {
|
|
2091
|
-
tmp = Companion_getInstance_3().
|
|
2091
|
+
tmp = Companion_getInstance_3().x2h(_this__u8e3s4, index);
|
|
2092
2092
|
} else {
|
|
2093
2093
|
if (term.equals(Companion_getInstance_16().w10_1)) {
|
|
2094
2094
|
tmp = _this__u8e3s4;
|
|
2095
2095
|
} else {
|
|
2096
|
-
if (Companion_getInstance_3().
|
|
2096
|
+
if (Companion_getInstance_3().b2i(term)) {
|
|
2097
2097
|
var tmp_0 = Companion_getInstance_15();
|
|
2098
2098
|
var tmp_1 = Limit_CHARACTER_CODE_getInstance();
|
|
2099
|
-
throw tmp_0.
|
|
2099
|
+
throw tmp_0.c28(_this__u8e3s4.context, _this__u8e3s4.signature, tmp_1, null, 8, null);
|
|
2100
2100
|
} else {
|
|
2101
2101
|
tmp = _this__u8e3s4;
|
|
2102
2102
|
}
|
|
@@ -2105,9 +2105,9 @@
|
|
|
2105
2105
|
}
|
|
2106
2106
|
return tmp;
|
|
2107
2107
|
};
|
|
2108
|
-
IOPrimitiveUtils.prototype.
|
|
2109
|
-
Companion_getInstance_3().
|
|
2110
|
-
Companion_getInstance_3().
|
|
2108
|
+
IOPrimitiveUtils.prototype.v3l = function (_this__u8e3s4, index) {
|
|
2109
|
+
Companion_getInstance_3().k2h(_this__u8e3s4, index);
|
|
2110
|
+
Companion_getInstance_3().o2h(_this__u8e3s4, index);
|
|
2111
2111
|
var tmp = _this__u8e3s4.arguments.n(index);
|
|
2112
2112
|
var term = isInterface(tmp, Struct) ? tmp : THROW_CCE();
|
|
2113
2113
|
var tmp_0;
|
|
@@ -2146,7 +2146,7 @@
|
|
|
2146
2146
|
}
|
|
2147
2147
|
tmp_0 = tmp_1;
|
|
2148
2148
|
} else {
|
|
2149
|
-
if (Companion_getInstance_3().
|
|
2149
|
+
if (Companion_getInstance_3().f2h(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
|
|
2150
2150
|
var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.b1v().findByTerm(term));
|
|
2151
2151
|
var tmp_2;
|
|
2152
2152
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2156,7 +2156,7 @@
|
|
|
2156
2156
|
}
|
|
2157
2157
|
tmp_0 = tmp_2;
|
|
2158
2158
|
} else {
|
|
2159
|
-
if (Companion_getInstance_3().
|
|
2159
|
+
if (Companion_getInstance_3().f2h(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
|
|
2160
2160
|
var tmp3_elvis_lhs = firstOrNull(_this__u8e3s4.context.a1v().findByTerm(term));
|
|
2161
2161
|
var tmp_3;
|
|
2162
2162
|
if (tmp3_elvis_lhs == null) {
|
|
@@ -2166,41 +2166,41 @@
|
|
|
2166
2166
|
}
|
|
2167
2167
|
tmp_0 = tmp_3;
|
|
2168
2168
|
} else {
|
|
2169
|
-
throw Companion_getInstance_12().
|
|
2169
|
+
throw Companion_getInstance_12().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
|
|
2170
2170
|
}
|
|
2171
2171
|
}
|
|
2172
2172
|
}
|
|
2173
2173
|
return tmp_0;
|
|
2174
2174
|
};
|
|
2175
|
-
IOPrimitiveUtils.prototype.
|
|
2176
|
-
var channel = this.
|
|
2175
|
+
IOPrimitiveUtils.prototype.s3l = function (_this__u8e3s4, index) {
|
|
2176
|
+
var channel = this.v3l(_this__u8e3s4, index);
|
|
2177
2177
|
var tmp;
|
|
2178
2178
|
if (isInterface(channel, InputChannel)) {
|
|
2179
2179
|
tmp = channel;
|
|
2180
2180
|
} else {
|
|
2181
|
-
throw Companion_getInstance_12().
|
|
2181
|
+
throw Companion_getInstance_12().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.n(index), index);
|
|
2182
2182
|
}
|
|
2183
2183
|
return tmp;
|
|
2184
2184
|
};
|
|
2185
|
-
IOPrimitiveUtils.prototype.
|
|
2186
|
-
var channel = this.
|
|
2185
|
+
IOPrimitiveUtils.prototype.f3m = function (_this__u8e3s4, index) {
|
|
2186
|
+
var channel = this.v3l(_this__u8e3s4, index);
|
|
2187
2187
|
var tmp;
|
|
2188
2188
|
if (isInterface(channel, OutputChannel)) {
|
|
2189
2189
|
tmp = channel;
|
|
2190
2190
|
} else {
|
|
2191
|
-
throw Companion_getInstance_12().
|
|
2191
|
+
throw Companion_getInstance_12().y25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.n(index), index);
|
|
2192
2192
|
}
|
|
2193
2193
|
return tmp;
|
|
2194
2194
|
};
|
|
2195
|
-
IOPrimitiveUtils.prototype.
|
|
2195
|
+
IOPrimitiveUtils.prototype.q3n = function (_this__u8e3s4, channel, term, formatter) {
|
|
2196
2196
|
var tmp;
|
|
2197
2197
|
try {
|
|
2198
2198
|
channel.write(format(term, formatter));
|
|
2199
|
-
tmp = _this__u8e3s4.
|
|
2199
|
+
tmp = _this__u8e3s4.p2g(null, null, [], 7, null);
|
|
2200
2200
|
} catch ($p) {
|
|
2201
2201
|
var tmp_0;
|
|
2202
2202
|
if ($p instanceof IllegalStateException) {
|
|
2203
|
-
tmp_0 = _this__u8e3s4.
|
|
2203
|
+
tmp_0 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2204
2204
|
} else {
|
|
2205
2205
|
throw $p;
|
|
2206
2206
|
}
|
|
@@ -2208,15 +2208,15 @@
|
|
|
2208
2208
|
}
|
|
2209
2209
|
return tmp;
|
|
2210
2210
|
};
|
|
2211
|
-
IOPrimitiveUtils.prototype.
|
|
2211
|
+
IOPrimitiveUtils.prototype.r3n = function (_this__u8e3s4, channel, arg) {
|
|
2212
2212
|
var tmp;
|
|
2213
2213
|
try {
|
|
2214
2214
|
channel.write('' + new Char(arg.p10().toChar()));
|
|
2215
|
-
tmp = _this__u8e3s4.
|
|
2215
|
+
tmp = _this__u8e3s4.p2g(null, null, [], 7, null);
|
|
2216
2216
|
} catch ($p) {
|
|
2217
2217
|
var tmp_0;
|
|
2218
2218
|
if ($p instanceof IllegalStateException) {
|
|
2219
|
-
tmp_0 = _this__u8e3s4.
|
|
2219
|
+
tmp_0 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2220
2220
|
} else {
|
|
2221
2221
|
throw $p;
|
|
2222
2222
|
}
|
|
@@ -2224,15 +2224,15 @@
|
|
|
2224
2224
|
}
|
|
2225
2225
|
return tmp;
|
|
2226
2226
|
};
|
|
2227
|
-
IOPrimitiveUtils.prototype.
|
|
2227
|
+
IOPrimitiveUtils.prototype.s3n = function (_this__u8e3s4, channel, arg) {
|
|
2228
2228
|
var tmp;
|
|
2229
2229
|
try {
|
|
2230
2230
|
channel.write(arg.b1());
|
|
2231
|
-
tmp = _this__u8e3s4.
|
|
2231
|
+
tmp = _this__u8e3s4.p2g(null, null, [], 7, null);
|
|
2232
2232
|
} catch ($p) {
|
|
2233
2233
|
var tmp_0;
|
|
2234
2234
|
if ($p instanceof IllegalStateException) {
|
|
2235
|
-
tmp_0 = _this__u8e3s4.
|
|
2235
|
+
tmp_0 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2236
2236
|
} else {
|
|
2237
2237
|
throw $p;
|
|
2238
2238
|
}
|
|
@@ -2240,7 +2240,7 @@
|
|
|
2240
2240
|
}
|
|
2241
2241
|
return tmp;
|
|
2242
2242
|
};
|
|
2243
|
-
IOPrimitiveUtils.prototype.
|
|
2243
|
+
IOPrimitiveUtils.prototype.t3n = function (_this__u8e3s4, channel, arg) {
|
|
2244
2244
|
var tmp;
|
|
2245
2245
|
try {
|
|
2246
2246
|
var tmp0_safe_receiver = channel.peek();
|
|
@@ -2257,12 +2257,12 @@
|
|
|
2257
2257
|
}
|
|
2258
2258
|
var tmp2_elvis_lhs = tmp_0;
|
|
2259
2259
|
var code = tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2260
|
-
var tmp_2 = Companion_getInstance_3().
|
|
2261
|
-
tmp = _this__u8e3s4.
|
|
2260
|
+
var tmp_2 = Companion_getInstance_3().e2h(_this__u8e3s4, arg, Companion_getInstance_16().ofInt(code));
|
|
2261
|
+
tmp = _this__u8e3s4.j2g(tmp_2, null, [], 6, null);
|
|
2262
2262
|
} catch ($p) {
|
|
2263
2263
|
var tmp_3;
|
|
2264
2264
|
if ($p instanceof IllegalStateException) {
|
|
2265
|
-
tmp_3 = _this__u8e3s4.
|
|
2265
|
+
tmp_3 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2266
2266
|
} else {
|
|
2267
2267
|
throw $p;
|
|
2268
2268
|
}
|
|
@@ -2270,17 +2270,17 @@
|
|
|
2270
2270
|
}
|
|
2271
2271
|
return tmp;
|
|
2272
2272
|
};
|
|
2273
|
-
IOPrimitiveUtils.prototype.
|
|
2273
|
+
IOPrimitiveUtils.prototype.u3n = function (_this__u8e3s4, channel, arg) {
|
|
2274
2274
|
var tmp;
|
|
2275
2275
|
try {
|
|
2276
2276
|
var tmp0_elvis_lhs = channel.peek();
|
|
2277
2277
|
var char = tmp0_elvis_lhs == null ? 'end_of_file' : tmp0_elvis_lhs;
|
|
2278
|
-
var tmp_0 = Companion_getInstance_3().
|
|
2279
|
-
tmp = _this__u8e3s4.
|
|
2278
|
+
var tmp_0 = Companion_getInstance_3().e2h(_this__u8e3s4, arg, Companion_getInstance_0().of(char));
|
|
2279
|
+
tmp = _this__u8e3s4.j2g(tmp_0, null, [], 6, null);
|
|
2280
2280
|
} catch ($p) {
|
|
2281
2281
|
var tmp_1;
|
|
2282
2282
|
if ($p instanceof IllegalStateException) {
|
|
2283
|
-
tmp_1 = _this__u8e3s4.
|
|
2283
|
+
tmp_1 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2284
2284
|
} else {
|
|
2285
2285
|
throw $p;
|
|
2286
2286
|
}
|
|
@@ -2288,7 +2288,7 @@
|
|
|
2288
2288
|
}
|
|
2289
2289
|
return tmp;
|
|
2290
2290
|
};
|
|
2291
|
-
IOPrimitiveUtils.prototype.
|
|
2291
|
+
IOPrimitiveUtils.prototype.o3m = function (_this__u8e3s4, channel, arg) {
|
|
2292
2292
|
var tmp;
|
|
2293
2293
|
try {
|
|
2294
2294
|
var tmp0_safe_receiver = channel.read();
|
|
@@ -2305,12 +2305,12 @@
|
|
|
2305
2305
|
}
|
|
2306
2306
|
var tmp2_elvis_lhs = tmp_0;
|
|
2307
2307
|
var code = tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2308
|
-
var tmp_2 = Companion_getInstance_3().
|
|
2309
|
-
tmp = _this__u8e3s4.
|
|
2308
|
+
var tmp_2 = Companion_getInstance_3().e2h(_this__u8e3s4, arg, Companion_getInstance_16().ofInt(code));
|
|
2309
|
+
tmp = _this__u8e3s4.j2g(tmp_2, null, [], 6, null);
|
|
2310
2310
|
} catch ($p) {
|
|
2311
2311
|
var tmp_3;
|
|
2312
2312
|
if ($p instanceof IllegalStateException) {
|
|
2313
|
-
tmp_3 = _this__u8e3s4.
|
|
2313
|
+
tmp_3 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2314
2314
|
} else {
|
|
2315
2315
|
throw $p;
|
|
2316
2316
|
}
|
|
@@ -2318,17 +2318,17 @@
|
|
|
2318
2318
|
}
|
|
2319
2319
|
return tmp;
|
|
2320
2320
|
};
|
|
2321
|
-
IOPrimitiveUtils.prototype.
|
|
2321
|
+
IOPrimitiveUtils.prototype.k3m = function (_this__u8e3s4, channel, arg) {
|
|
2322
2322
|
var tmp;
|
|
2323
2323
|
try {
|
|
2324
2324
|
var tmp0_elvis_lhs = channel.read();
|
|
2325
2325
|
var char = tmp0_elvis_lhs == null ? 'end_of_file' : tmp0_elvis_lhs;
|
|
2326
|
-
var tmp_0 = Companion_getInstance_3().
|
|
2327
|
-
tmp = _this__u8e3s4.
|
|
2326
|
+
var tmp_0 = Companion_getInstance_3().e2h(_this__u8e3s4, arg, Companion_getInstance_0().of(char));
|
|
2327
|
+
tmp = _this__u8e3s4.j2g(tmp_0, null, [], 6, null);
|
|
2328
2328
|
} catch ($p) {
|
|
2329
2329
|
var tmp_1;
|
|
2330
2330
|
if ($p instanceof IllegalStateException) {
|
|
2331
|
-
tmp_1 = _this__u8e3s4.
|
|
2331
|
+
tmp_1 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2332
2332
|
} else {
|
|
2333
2333
|
throw $p;
|
|
2334
2334
|
}
|
|
@@ -2336,23 +2336,23 @@
|
|
|
2336
2336
|
}
|
|
2337
2337
|
return tmp;
|
|
2338
2338
|
};
|
|
2339
|
-
IOPrimitiveUtils.prototype.
|
|
2339
|
+
IOPrimitiveUtils.prototype.v3n = function (_this__u8e3s4, channel, arg, lastIsInfoList) {
|
|
2340
2340
|
try {
|
|
2341
2341
|
var termsChannel = asTermChannel(channel, _this__u8e3s4.context.h1v());
|
|
2342
2342
|
var tmp;
|
|
2343
2343
|
if (lastIsInfoList) {
|
|
2344
|
-
tmp = this.
|
|
2344
|
+
tmp = this.l3n(_this__u8e3s4, get_lastIndex(_this__u8e3s4.arguments));
|
|
2345
2345
|
} else {
|
|
2346
2346
|
tmp = emptyList();
|
|
2347
2347
|
}
|
|
2348
2348
|
var infoList = tmp;
|
|
2349
|
-
if (!termsChannel.
|
|
2350
|
-
return _this__u8e3s4.
|
|
2349
|
+
if (!termsChannel.t1z()) {
|
|
2350
|
+
return _this__u8e3s4.o2g(null, [], 3, null);
|
|
2351
2351
|
}
|
|
2352
2352
|
var read = termsChannel.read();
|
|
2353
2353
|
var tmp_0;
|
|
2354
2354
|
if (read == null) {
|
|
2355
|
-
tmp_0 = _this__u8e3s4.
|
|
2355
|
+
tmp_0 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2356
2356
|
} else {
|
|
2357
2357
|
var variables_0 = variables(this, toList_0(read.hw()));
|
|
2358
2358
|
var variableNames_0 = variableNames(this, toAssignments_0(read.hw(), this));
|
|
@@ -2373,9 +2373,9 @@
|
|
|
2373
2373
|
tmp_1 = tmp$ret$1;
|
|
2374
2374
|
}
|
|
2375
2375
|
var tmp1_elvis_lhs = tmp_1;
|
|
2376
|
-
var info = tmp1_elvis_lhs == null ? Companion_getInstance_3().
|
|
2377
|
-
var tmp_2 = Companion_getInstance_3().
|
|
2378
|
-
tmp_0 = _this__u8e3s4.
|
|
2376
|
+
var info = tmp1_elvis_lhs == null ? Companion_getInstance_3().e2h(_this__u8e3s4, last(_this__u8e3s4.arguments), Companion_getInstance_8().of([variables_0, variableNames_0, singletons_0])) : tmp1_elvis_lhs;
|
|
2377
|
+
var tmp_2 = Companion_getInstance_3().e2h(_this__u8e3s4, arg, read).plus(info);
|
|
2378
|
+
tmp_0 = _this__u8e3s4.j2g(tmp_2, null, [], 6, null);
|
|
2379
2379
|
}
|
|
2380
2380
|
return tmp_0;
|
|
2381
2381
|
} catch ($p) {
|
|
@@ -2384,7 +2384,7 @@
|
|
|
2384
2384
|
} else {
|
|
2385
2385
|
if ($p instanceof ParseException) {
|
|
2386
2386
|
var tmp_3 = Companion_getInstance_17();
|
|
2387
|
-
var tmp_4 = channel.
|
|
2387
|
+
var tmp_4 = channel.o1z().toString();
|
|
2388
2388
|
var tmp_5 = $p.line;
|
|
2389
2389
|
var tmp_6 = $p.column;
|
|
2390
2390
|
var tmp2_elvis_lhs = $p.message;
|
|
@@ -2395,18 +2395,18 @@
|
|
|
2395
2395
|
}
|
|
2396
2396
|
}
|
|
2397
2397
|
};
|
|
2398
|
-
IOPrimitiveUtils.prototype.
|
|
2398
|
+
IOPrimitiveUtils.prototype.w3n = function (_this__u8e3s4, channel, arg, lastIsInfoList, $mask0, $handler) {
|
|
2399
2399
|
if (!(($mask0 & 4) === 0))
|
|
2400
2400
|
lastIsInfoList = false;
|
|
2401
|
-
return this.
|
|
2401
|
+
return this.v3n(_this__u8e3s4, channel, arg, lastIsInfoList);
|
|
2402
2402
|
};
|
|
2403
|
-
IOPrimitiveUtils.prototype.
|
|
2404
|
-
var url = this.
|
|
2405
|
-
var mode = this.
|
|
2406
|
-
Companion_getInstance_3().
|
|
2403
|
+
IOPrimitiveUtils.prototype.x3n = function (_this__u8e3s4, third) {
|
|
2404
|
+
var url = this.o3n(_this__u8e3s4, 0);
|
|
2405
|
+
var mode = this.p3n(_this__u8e3s4, 1);
|
|
2406
|
+
Companion_getInstance_3().r2h(_this__u8e3s4, 2);
|
|
2407
2407
|
var tmp;
|
|
2408
2408
|
if (_this__u8e3s4.arguments.o() >= 4) {
|
|
2409
|
-
Companion_getInstance_3().
|
|
2409
|
+
Companion_getInstance_3().y2h(_this__u8e3s4, 3);
|
|
2410
2410
|
var tmp_0 = _this__u8e3s4.arguments.n(3);
|
|
2411
2411
|
var tmp_1 = (isInterface(tmp_0, List) ? tmp_0 : THROW_CCE()).ju();
|
|
2412
2412
|
var tmp_2 = map(tmp_1, IOPrimitiveUtils$open$lambda(_this__u8e3s4));
|
|
@@ -2423,7 +2423,7 @@
|
|
|
2423
2423
|
var element = tmp0_iterator.p();
|
|
2424
2424
|
var tmp$ret$0;
|
|
2425
2425
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.open.<anonymous>' call
|
|
2426
|
-
tmp$ret$0 = Companion_getInstance_3().
|
|
2426
|
+
tmp$ret$0 = Companion_getInstance_3().f2h(_this__u8e3s4, element, _get_PROPERTY_ALIAS_PATTERN__wipd2s(IOPrimitiveUtils_getInstance()));
|
|
2427
2427
|
if (tmp$ret$0) {
|
|
2428
2428
|
tmp$ret$1 = element;
|
|
2429
2429
|
break $l$block;
|
|
@@ -2547,16 +2547,16 @@
|
|
|
2547
2547
|
Nl1_instance = this;
|
|
2548
2548
|
NonBacktrackable_0.call(this, 'nl');
|
|
2549
2549
|
}
|
|
2550
|
-
Nl1.prototype.
|
|
2551
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2550
|
+
Nl1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2551
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
2552
2552
|
var tmp;
|
|
2553
2553
|
try {
|
|
2554
2554
|
channel.write('\n');
|
|
2555
|
-
tmp = _this__u8e3s4.
|
|
2555
|
+
tmp = _this__u8e3s4.p2g(null, null, [], 7, null);
|
|
2556
2556
|
} catch ($p) {
|
|
2557
2557
|
var tmp_0;
|
|
2558
2558
|
if ($p instanceof IllegalStateException) {
|
|
2559
|
-
tmp_0 = _this__u8e3s4.
|
|
2559
|
+
tmp_0 = _this__u8e3s4.o2g(null, [], 3, null);
|
|
2560
2560
|
} else {
|
|
2561
2561
|
throw $p;
|
|
2562
2562
|
}
|
|
@@ -2564,8 +2564,8 @@
|
|
|
2564
2564
|
}
|
|
2565
2565
|
return tmp;
|
|
2566
2566
|
};
|
|
2567
|
-
Nl1.prototype.
|
|
2568
|
-
return this.
|
|
2567
|
+
Nl1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2568
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2569
2569
|
};
|
|
2570
2570
|
var Nl1_instance;
|
|
2571
2571
|
function Nl1_getInstance() {
|
|
@@ -2577,11 +2577,11 @@
|
|
|
2577
2577
|
Open3_instance = this;
|
|
2578
2578
|
NonBacktrackable_1.call(this, 'open');
|
|
2579
2579
|
}
|
|
2580
|
-
Open3.prototype.
|
|
2581
|
-
return IOPrimitiveUtils_getInstance().
|
|
2580
|
+
Open3.prototype.c2s = function (_this__u8e3s4, first, second, third) {
|
|
2581
|
+
return IOPrimitiveUtils_getInstance().x3n(_this__u8e3s4, third);
|
|
2582
2582
|
};
|
|
2583
|
-
Open3.prototype.
|
|
2584
|
-
return this.
|
|
2583
|
+
Open3.prototype.u2j = function (_this__u8e3s4, first, second, third) {
|
|
2584
|
+
return this.c2s(_this__u8e3s4, first, second, third);
|
|
2585
2585
|
};
|
|
2586
2586
|
var Open3_instance;
|
|
2587
2587
|
function Open3_getInstance() {
|
|
@@ -2593,11 +2593,11 @@
|
|
|
2593
2593
|
Open4_instance = this;
|
|
2594
2594
|
NonBacktrackable_2.call(this, 'open');
|
|
2595
2595
|
}
|
|
2596
|
-
Open4.prototype.
|
|
2597
|
-
return IOPrimitiveUtils_getInstance().
|
|
2596
|
+
Open4.prototype.b3o = function (_this__u8e3s4, first, second, third, fourth) {
|
|
2597
|
+
return IOPrimitiveUtils_getInstance().x3n(_this__u8e3s4, third);
|
|
2598
2598
|
};
|
|
2599
|
-
Open4.prototype.
|
|
2600
|
-
return this.
|
|
2599
|
+
Open4.prototype.k2i = function (_this__u8e3s4, first, second, third, fourth) {
|
|
2600
|
+
return this.b3o(_this__u8e3s4, first, second, third, fourth);
|
|
2601
2601
|
};
|
|
2602
2602
|
var Open4_instance;
|
|
2603
2603
|
function Open4_getInstance() {
|
|
@@ -2609,12 +2609,12 @@
|
|
|
2609
2609
|
PeekByte1_instance = this;
|
|
2610
2610
|
NonBacktrackable_0.call(this, 'peek_byte');
|
|
2611
2611
|
}
|
|
2612
|
-
PeekByte1.prototype.
|
|
2612
|
+
PeekByte1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2613
2613
|
var tmp = Companion_getInstance_3();
|
|
2614
|
-
return tmp.
|
|
2614
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
2615
2615
|
};
|
|
2616
|
-
PeekByte1.prototype.
|
|
2617
|
-
return this.
|
|
2616
|
+
PeekByte1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2617
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2618
2618
|
};
|
|
2619
2619
|
var PeekByte1_instance;
|
|
2620
2620
|
function PeekByte1_getInstance() {
|
|
@@ -2626,12 +2626,12 @@
|
|
|
2626
2626
|
PeekByte2_instance = this;
|
|
2627
2627
|
NonBacktrackable.call(this, 'peek_byte');
|
|
2628
2628
|
}
|
|
2629
|
-
PeekByte2.prototype.
|
|
2629
|
+
PeekByte2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2630
2630
|
var tmp = Companion_getInstance_3();
|
|
2631
|
-
return tmp.
|
|
2631
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
2632
2632
|
};
|
|
2633
|
-
PeekByte2.prototype.
|
|
2634
|
-
return this.
|
|
2633
|
+
PeekByte2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2634
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2635
2635
|
};
|
|
2636
2636
|
var PeekByte2_instance;
|
|
2637
2637
|
function PeekByte2_getInstance() {
|
|
@@ -2643,12 +2643,12 @@
|
|
|
2643
2643
|
PeekChar1_instance = this;
|
|
2644
2644
|
NonBacktrackable_0.call(this, 'peek_char');
|
|
2645
2645
|
}
|
|
2646
|
-
PeekChar1.prototype.
|
|
2647
|
-
IOPrimitiveUtils_getInstance().
|
|
2648
|
-
return IOPrimitiveUtils_getInstance().
|
|
2646
|
+
PeekChar1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2647
|
+
IOPrimitiveUtils_getInstance().j3m(_this__u8e3s4, 0);
|
|
2648
|
+
return IOPrimitiveUtils_getInstance().u3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4), first);
|
|
2649
2649
|
};
|
|
2650
|
-
PeekChar1.prototype.
|
|
2651
|
-
return this.
|
|
2650
|
+
PeekChar1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2651
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2652
2652
|
};
|
|
2653
2653
|
var PeekChar1_instance;
|
|
2654
2654
|
function PeekChar1_getInstance() {
|
|
@@ -2660,13 +2660,13 @@
|
|
|
2660
2660
|
PeekChar2_instance = this;
|
|
2661
2661
|
NonBacktrackable.call(this, 'peek_char');
|
|
2662
2662
|
}
|
|
2663
|
-
PeekChar2.prototype.
|
|
2664
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2665
|
-
IOPrimitiveUtils_getInstance().
|
|
2666
|
-
return IOPrimitiveUtils_getInstance().
|
|
2663
|
+
PeekChar2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2664
|
+
var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
2665
|
+
IOPrimitiveUtils_getInstance().j3m(_this__u8e3s4, 1);
|
|
2666
|
+
return IOPrimitiveUtils_getInstance().u3n(_this__u8e3s4, channel, second);
|
|
2667
2667
|
};
|
|
2668
|
-
PeekChar2.prototype.
|
|
2669
|
-
return this.
|
|
2668
|
+
PeekChar2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2669
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2670
2670
|
};
|
|
2671
2671
|
var PeekChar2_instance;
|
|
2672
2672
|
function PeekChar2_getInstance() {
|
|
@@ -2678,12 +2678,12 @@
|
|
|
2678
2678
|
PeekCode1_instance = this;
|
|
2679
2679
|
NonBacktrackable_0.call(this, 'peek_code');
|
|
2680
2680
|
}
|
|
2681
|
-
PeekCode1.prototype.
|
|
2682
|
-
IOPrimitiveUtils_getInstance().
|
|
2683
|
-
return IOPrimitiveUtils_getInstance().
|
|
2681
|
+
PeekCode1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2682
|
+
IOPrimitiveUtils_getInstance().n3m(_this__u8e3s4, 0);
|
|
2683
|
+
return IOPrimitiveUtils_getInstance().t3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4), first);
|
|
2684
2684
|
};
|
|
2685
|
-
PeekCode1.prototype.
|
|
2686
|
-
return this.
|
|
2685
|
+
PeekCode1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2686
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2687
2687
|
};
|
|
2688
2688
|
var PeekCode1_instance;
|
|
2689
2689
|
function PeekCode1_getInstance() {
|
|
@@ -2695,13 +2695,13 @@
|
|
|
2695
2695
|
PeekCode2_instance = this;
|
|
2696
2696
|
NonBacktrackable.call(this, 'peek_code');
|
|
2697
2697
|
}
|
|
2698
|
-
PeekCode2.prototype.
|
|
2699
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2700
|
-
IOPrimitiveUtils_getInstance().
|
|
2701
|
-
return IOPrimitiveUtils_getInstance().
|
|
2698
|
+
PeekCode2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2699
|
+
var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
2700
|
+
IOPrimitiveUtils_getInstance().n3m(_this__u8e3s4, 0);
|
|
2701
|
+
return IOPrimitiveUtils_getInstance().t3n(_this__u8e3s4, channel, first);
|
|
2702
2702
|
};
|
|
2703
|
-
PeekCode2.prototype.
|
|
2704
|
-
return this.
|
|
2703
|
+
PeekCode2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2704
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2705
2705
|
};
|
|
2706
2706
|
var PeekCode2_instance;
|
|
2707
2707
|
function PeekCode2_getInstance() {
|
|
@@ -2713,12 +2713,12 @@
|
|
|
2713
2713
|
PutByte1_instance = this;
|
|
2714
2714
|
NonBacktrackable_0.call(this, 'put_byte');
|
|
2715
2715
|
}
|
|
2716
|
-
PutByte1.prototype.
|
|
2716
|
+
PutByte1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2717
2717
|
var tmp = Companion_getInstance_3();
|
|
2718
|
-
return tmp.
|
|
2718
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
2719
2719
|
};
|
|
2720
|
-
PutByte1.prototype.
|
|
2721
|
-
return this.
|
|
2720
|
+
PutByte1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2721
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2722
2722
|
};
|
|
2723
2723
|
var PutByte1_instance;
|
|
2724
2724
|
function PutByte1_getInstance() {
|
|
@@ -2730,12 +2730,12 @@
|
|
|
2730
2730
|
PutByte2_instance = this;
|
|
2731
2731
|
NonBacktrackable.call(this, 'put_byte');
|
|
2732
2732
|
}
|
|
2733
|
-
PutByte2.prototype.
|
|
2733
|
+
PutByte2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2734
2734
|
var tmp = Companion_getInstance_3();
|
|
2735
|
-
return tmp.
|
|
2735
|
+
return tmp.m2h(_this__u8e3s4, null, 1, null);
|
|
2736
2736
|
};
|
|
2737
|
-
PutByte2.prototype.
|
|
2738
|
-
return this.
|
|
2737
|
+
PutByte2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2738
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2739
2739
|
};
|
|
2740
2740
|
var PutByte2_instance;
|
|
2741
2741
|
function PutByte2_getInstance() {
|
|
@@ -2747,14 +2747,14 @@
|
|
|
2747
2747
|
PutChar1_instance = this;
|
|
2748
2748
|
NonBacktrackable_0.call(this, 'put_char');
|
|
2749
2749
|
}
|
|
2750
|
-
PutChar1.prototype.
|
|
2751
|
-
Companion_getInstance_3().
|
|
2750
|
+
PutChar1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2751
|
+
Companion_getInstance_3().v2h(_this__u8e3s4, 0);
|
|
2752
2752
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2753
|
-
var tmp_0 = IOPrimitiveUtils_getInstance().
|
|
2754
|
-
return tmp.
|
|
2753
|
+
var tmp_0 = IOPrimitiveUtils_getInstance().h3n(_this__u8e3s4);
|
|
2754
|
+
return tmp.s3n(_this__u8e3s4, tmp_0, isInterface(first, Atom) ? first : THROW_CCE());
|
|
2755
2755
|
};
|
|
2756
|
-
PutChar1.prototype.
|
|
2757
|
-
return this.
|
|
2756
|
+
PutChar1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2757
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2758
2758
|
};
|
|
2759
2759
|
var PutChar1_instance;
|
|
2760
2760
|
function PutChar1_getInstance() {
|
|
@@ -2766,14 +2766,14 @@
|
|
|
2766
2766
|
PutChar2_instance = this;
|
|
2767
2767
|
NonBacktrackable.call(this, 'put_char');
|
|
2768
2768
|
}
|
|
2769
|
-
PutChar2.prototype.
|
|
2770
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2771
|
-
Companion_getInstance_3().
|
|
2769
|
+
PutChar2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2770
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
2771
|
+
Companion_getInstance_3().v2h(_this__u8e3s4, 1);
|
|
2772
2772
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2773
|
-
return tmp.
|
|
2773
|
+
return tmp.s3n(_this__u8e3s4, channel, isInterface(first, Atom) ? first : THROW_CCE());
|
|
2774
2774
|
};
|
|
2775
|
-
PutChar2.prototype.
|
|
2776
|
-
return this.
|
|
2775
|
+
PutChar2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2776
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2777
2777
|
};
|
|
2778
2778
|
var PutChar2_instance;
|
|
2779
2779
|
function PutChar2_getInstance() {
|
|
@@ -2785,14 +2785,14 @@
|
|
|
2785
2785
|
PutCode1_instance = this;
|
|
2786
2786
|
NonBacktrackable_0.call(this, 'put_code');
|
|
2787
2787
|
}
|
|
2788
|
-
PutCode1.prototype.
|
|
2789
|
-
Companion_getInstance_3().
|
|
2788
|
+
PutCode1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2789
|
+
Companion_getInstance_3().e2i(_this__u8e3s4, 0);
|
|
2790
2790
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2791
|
-
var tmp_0 = IOPrimitiveUtils_getInstance().
|
|
2792
|
-
return tmp.
|
|
2791
|
+
var tmp_0 = IOPrimitiveUtils_getInstance().h3n(_this__u8e3s4);
|
|
2792
|
+
return tmp.r3n(_this__u8e3s4, tmp_0, isInterface(first, Integer) ? first : THROW_CCE());
|
|
2793
2793
|
};
|
|
2794
|
-
PutCode1.prototype.
|
|
2795
|
-
return this.
|
|
2794
|
+
PutCode1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2795
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2796
2796
|
};
|
|
2797
2797
|
var PutCode1_instance;
|
|
2798
2798
|
function PutCode1_getInstance() {
|
|
@@ -2804,14 +2804,14 @@
|
|
|
2804
2804
|
PutCode2_instance = this;
|
|
2805
2805
|
NonBacktrackable.call(this, 'put_code');
|
|
2806
2806
|
}
|
|
2807
|
-
PutCode2.prototype.
|
|
2808
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2809
|
-
Companion_getInstance_3().
|
|
2807
|
+
PutCode2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2808
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
2809
|
+
Companion_getInstance_3().e2i(_this__u8e3s4, 1);
|
|
2810
2810
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2811
|
-
return tmp.
|
|
2811
|
+
return tmp.r3n(_this__u8e3s4, channel, isInterface(first, Integer) ? first : THROW_CCE());
|
|
2812
2812
|
};
|
|
2813
|
-
PutCode2.prototype.
|
|
2814
|
-
return this.
|
|
2813
|
+
PutCode2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2814
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2815
2815
|
};
|
|
2816
2816
|
var PutCode2_instance;
|
|
2817
2817
|
function PutCode2_getInstance() {
|
|
@@ -2823,13 +2823,13 @@
|
|
|
2823
2823
|
Read1_instance = this;
|
|
2824
2824
|
NonBacktrackable_0.call(this, 'read');
|
|
2825
2825
|
}
|
|
2826
|
-
Read1.prototype.
|
|
2826
|
+
Read1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2827
2827
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2828
|
-
var tmp_0 = IOPrimitiveUtils_getInstance().
|
|
2829
|
-
return tmp.
|
|
2828
|
+
var tmp_0 = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4);
|
|
2829
|
+
return tmp.w3n(_this__u8e3s4, tmp_0, first, false, 4, null);
|
|
2830
2830
|
};
|
|
2831
|
-
Read1.prototype.
|
|
2832
|
-
return this.
|
|
2831
|
+
Read1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2832
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2833
2833
|
};
|
|
2834
2834
|
var Read1_instance;
|
|
2835
2835
|
function Read1_getInstance() {
|
|
@@ -2841,13 +2841,13 @@
|
|
|
2841
2841
|
Read2_instance = this;
|
|
2842
2842
|
NonBacktrackable.call(this, 'read');
|
|
2843
2843
|
}
|
|
2844
|
-
Read2.prototype.
|
|
2845
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2844
|
+
Read2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2845
|
+
var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
2846
2846
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2847
|
-
return tmp.
|
|
2847
|
+
return tmp.w3n(_this__u8e3s4, channel, second, false, 4, null);
|
|
2848
2848
|
};
|
|
2849
|
-
Read2.prototype.
|
|
2850
|
-
return this.
|
|
2849
|
+
Read2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2850
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2851
2851
|
};
|
|
2852
2852
|
var Read2_instance;
|
|
2853
2853
|
function Read2_getInstance() {
|
|
@@ -2859,11 +2859,11 @@
|
|
|
2859
2859
|
ReadTerm2_instance = this;
|
|
2860
2860
|
NonBacktrackable.call(this, 'read_term');
|
|
2861
2861
|
}
|
|
2862
|
-
ReadTerm2.prototype.
|
|
2863
|
-
return IOPrimitiveUtils_getInstance().
|
|
2862
|
+
ReadTerm2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
2863
|
+
return IOPrimitiveUtils_getInstance().v3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4), first, true);
|
|
2864
2864
|
};
|
|
2865
|
-
ReadTerm2.prototype.
|
|
2866
|
-
return this.
|
|
2865
|
+
ReadTerm2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
2866
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
2867
2867
|
};
|
|
2868
2868
|
var ReadTerm2_instance;
|
|
2869
2869
|
function ReadTerm2_getInstance() {
|
|
@@ -2875,12 +2875,12 @@
|
|
|
2875
2875
|
ReadTerm3_instance = this;
|
|
2876
2876
|
NonBacktrackable_1.call(this, 'read_term');
|
|
2877
2877
|
}
|
|
2878
|
-
ReadTerm3.prototype.
|
|
2879
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2880
|
-
return IOPrimitiveUtils_getInstance().
|
|
2878
|
+
ReadTerm3.prototype.c2s = function (_this__u8e3s4, first, second, third) {
|
|
2879
|
+
var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
2880
|
+
return IOPrimitiveUtils_getInstance().v3n(_this__u8e3s4, channel, second, true);
|
|
2881
2881
|
};
|
|
2882
|
-
ReadTerm3.prototype.
|
|
2883
|
-
return this.
|
|
2882
|
+
ReadTerm3.prototype.u2j = function (_this__u8e3s4, first, second, third) {
|
|
2883
|
+
return this.c2s(_this__u8e3s4, first, second, third);
|
|
2884
2884
|
};
|
|
2885
2885
|
var ReadTerm3_instance;
|
|
2886
2886
|
function ReadTerm3_getInstance() {
|
|
@@ -2890,7 +2890,7 @@
|
|
|
2890
2890
|
}
|
|
2891
2891
|
function SetInput$computeOne$lambda($this_computeOne, $channel) {
|
|
2892
2892
|
return function ($this$replySuccess) {
|
|
2893
|
-
$this$replySuccess.
|
|
2893
|
+
$this$replySuccess.j2n($this_computeOne.context.a1v().setCurrentChannel($channel));
|
|
2894
2894
|
return Unit_getInstance();
|
|
2895
2895
|
};
|
|
2896
2896
|
}
|
|
@@ -2898,12 +2898,12 @@
|
|
|
2898
2898
|
SetInput_instance = this;
|
|
2899
2899
|
NonBacktrackable_0.call(this, 'set_input');
|
|
2900
2900
|
}
|
|
2901
|
-
SetInput.prototype.
|
|
2902
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2903
|
-
return _this__u8e3s4.
|
|
2901
|
+
SetInput.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2902
|
+
var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
|
|
2903
|
+
return _this__u8e3s4.e2j(null, null, SetInput$computeOne$lambda(_this__u8e3s4, channel), 3, null);
|
|
2904
2904
|
};
|
|
2905
|
-
SetInput.prototype.
|
|
2906
|
-
return this.
|
|
2905
|
+
SetInput.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2906
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2907
2907
|
};
|
|
2908
2908
|
var SetInput_instance;
|
|
2909
2909
|
function SetInput_getInstance() {
|
|
@@ -2913,7 +2913,7 @@
|
|
|
2913
2913
|
}
|
|
2914
2914
|
function SetOutput$computeOne$lambda($this_computeOne, $channel) {
|
|
2915
2915
|
return function ($this$replySuccess) {
|
|
2916
|
-
$this$replySuccess.
|
|
2916
|
+
$this$replySuccess.m2n($this_computeOne.context.b1v().setCurrentChannel($channel));
|
|
2917
2917
|
return Unit_getInstance();
|
|
2918
2918
|
};
|
|
2919
2919
|
}
|
|
@@ -2921,12 +2921,12 @@
|
|
|
2921
2921
|
SetOutput_instance = this;
|
|
2922
2922
|
NonBacktrackable_0.call(this, 'set_output');
|
|
2923
2923
|
}
|
|
2924
|
-
SetOutput.prototype.
|
|
2925
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2926
|
-
return _this__u8e3s4.
|
|
2924
|
+
SetOutput.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2925
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
2926
|
+
return _this__u8e3s4.e2j(null, null, SetOutput$computeOne$lambda(_this__u8e3s4, channel), 3, null);
|
|
2927
2927
|
};
|
|
2928
|
-
SetOutput.prototype.
|
|
2929
|
-
return this.
|
|
2928
|
+
SetOutput.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2929
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2930
2930
|
};
|
|
2931
2931
|
var SetOutput_instance;
|
|
2932
2932
|
function SetOutput_getInstance() {
|
|
@@ -2939,17 +2939,17 @@
|
|
|
2939
2939
|
var tmp;
|
|
2940
2940
|
if ($append) {
|
|
2941
2941
|
var tmp_0 = $solver.y1u();
|
|
2942
|
-
$this$replySuccess.
|
|
2942
|
+
$this$replySuccess.w2m(tmp_0, false, 2, null);
|
|
2943
2943
|
var tmp_1 = $solver.z1u();
|
|
2944
|
-
$this$replySuccess.
|
|
2944
|
+
$this$replySuccess.c2n(tmp_1, false, 2, null);
|
|
2945
2945
|
tmp = Unit_getInstance();
|
|
2946
2946
|
} else {
|
|
2947
|
-
$this$replySuccess.
|
|
2948
|
-
$this$replySuccess.
|
|
2947
|
+
$this$replySuccess.u2m($solver.y1u());
|
|
2948
|
+
$this$replySuccess.a2n($solver.z1u());
|
|
2949
2949
|
tmp = Unit_getInstance();
|
|
2950
2950
|
}
|
|
2951
|
-
$this$replySuccess.
|
|
2952
|
-
$this$replySuccess.
|
|
2951
|
+
$this$replySuccess.h2n($solver.h1v());
|
|
2952
|
+
$this$replySuccess.g2n($solver.x1u());
|
|
2953
2953
|
return Unit_getInstance();
|
|
2954
2954
|
};
|
|
2955
2955
|
}
|
|
@@ -2957,21 +2957,21 @@
|
|
|
2957
2957
|
SetTheory_instance = this;
|
|
2958
2958
|
NonBacktrackable_0.call(this, 'set_theory');
|
|
2959
2959
|
}
|
|
2960
|
-
SetTheory.prototype.
|
|
2961
|
-
Companion_getInstance_3().
|
|
2962
|
-
return this.
|
|
2960
|
+
SetTheory.prototype.j2p = function (_this__u8e3s4, first) {
|
|
2961
|
+
Companion_getInstance_3().t2h(_this__u8e3s4, 0);
|
|
2962
|
+
return this.u3o(_this__u8e3s4, first.zw().b1(), false);
|
|
2963
2963
|
};
|
|
2964
|
-
SetTheory.prototype.
|
|
2965
|
-
return this.
|
|
2964
|
+
SetTheory.prototype.d2k = function (_this__u8e3s4, first) {
|
|
2965
|
+
return this.j2p(_this__u8e3s4, first);
|
|
2966
2966
|
};
|
|
2967
|
-
SetTheory.prototype.
|
|
2967
|
+
SetTheory.prototype.u3o = function (_this__u8e3s4, text, append) {
|
|
2968
2968
|
try {
|
|
2969
2969
|
var theory = Companion_getInstance_18().withOperatorSet(_this__u8e3s4.context.h1v()).parseTheoryWithDefaultUnificator(text);
|
|
2970
2970
|
var tmp = Companion_getInstance_19().empty(_this__u8e3s4.context.k1l());
|
|
2971
2971
|
var tmp_0 = Companion_getInstance_20().empty(_this__u8e3s4.context.k1l());
|
|
2972
2972
|
var solver = _this__u8e3s4.context.d1v(null, null, null, tmp, tmp_0, null, null, 103, null);
|
|
2973
2973
|
solver.loadStaticKb(theory);
|
|
2974
|
-
return _this__u8e3s4.
|
|
2974
|
+
return _this__u8e3s4.e2j(null, null, SetTheory$setTheory$lambda(append, solver), 3, null);
|
|
2975
2975
|
} catch ($p) {
|
|
2976
2976
|
if ($p instanceof ParseException) {
|
|
2977
2977
|
var tmp_1 = Companion_getInstance_17();
|
|
@@ -3015,10 +3015,10 @@
|
|
|
3015
3015
|
}
|
|
3016
3016
|
}
|
|
3017
3017
|
};
|
|
3018
|
-
SetTheory.prototype.
|
|
3018
|
+
SetTheory.prototype.z3l = function (_this__u8e3s4, text, append, $mask0, $handler) {
|
|
3019
3019
|
if (!(($mask0 & 2) === 0))
|
|
3020
3020
|
append = true;
|
|
3021
|
-
return this.
|
|
3021
|
+
return this.u3o(_this__u8e3s4, text, append);
|
|
3022
3022
|
};
|
|
3023
3023
|
var SetTheory_instance;
|
|
3024
3024
|
function SetTheory_getInstance() {
|
|
@@ -3031,7 +3031,7 @@
|
|
|
3031
3031
|
}
|
|
3032
3032
|
function StreamProperty$computeAll$lambda_0($this_computeAll) {
|
|
3033
3033
|
return function (it) {
|
|
3034
|
-
return to(it.
|
|
3034
|
+
return to(it.o1z(), IOPrimitiveUtils_getInstance().g3n($this_computeAll, it));
|
|
3035
3035
|
};
|
|
3036
3036
|
}
|
|
3037
3037
|
function StreamProperty$computeAll$lambda_1(_name_for_destructuring_parameter_0__wldtmu) {
|
|
@@ -3048,25 +3048,25 @@
|
|
|
3048
3048
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
3049
3049
|
var streamTerm = _name_for_destructuring_parameter_0__wldtmu.n3();
|
|
3050
3050
|
var property = _name_for_destructuring_parameter_0__wldtmu.o3();
|
|
3051
|
-
var tmp = Companion_getInstance_3().
|
|
3052
|
-
return $this_computeAll.
|
|
3051
|
+
var tmp = Companion_getInstance_3().e2h($this_computeAll, $first, streamTerm).plus(Companion_getInstance_3().e2h($this_computeAll, $second, property));
|
|
3052
|
+
return $this_computeAll.j2g(tmp, null, [], 6, null);
|
|
3053
3053
|
};
|
|
3054
3054
|
}
|
|
3055
3055
|
function StreamProperty() {
|
|
3056
3056
|
StreamProperty_instance = this;
|
|
3057
3057
|
BinaryRelation.call(this, 'stream_property');
|
|
3058
3058
|
}
|
|
3059
|
-
StreamProperty.prototype.
|
|
3060
|
-
IOPrimitiveUtils_getInstance().
|
|
3061
|
-
IOPrimitiveUtils_getInstance().
|
|
3059
|
+
StreamProperty.prototype.w2p = function (_this__u8e3s4, first, second) {
|
|
3060
|
+
IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
|
|
3061
|
+
IOPrimitiveUtils_getInstance().n3n(_this__u8e3s4, 1);
|
|
3062
3062
|
var tmp = sequenceOf([_this__u8e3s4.context.a1v(), _this__u8e3s4.context.b1v()]);
|
|
3063
3063
|
var tmp_0 = distinct(flatMap(tmp, StreamProperty$computeAll$lambda));
|
|
3064
3064
|
var tmp_1 = map(tmp_0, StreamProperty$computeAll$lambda_0(_this__u8e3s4));
|
|
3065
3065
|
var tmp_2 = flatMap(tmp_1, StreamProperty$computeAll$lambda_1);
|
|
3066
3066
|
return map(tmp_2, StreamProperty$computeAll$lambda_2(_this__u8e3s4, first, second));
|
|
3067
3067
|
};
|
|
3068
|
-
StreamProperty.prototype.
|
|
3069
|
-
return this.
|
|
3068
|
+
StreamProperty.prototype.f2g = function (_this__u8e3s4, first, second) {
|
|
3069
|
+
return this.w2p(_this__u8e3s4, first, second);
|
|
3070
3070
|
};
|
|
3071
3071
|
var StreamProperty_instance;
|
|
3072
3072
|
function StreamProperty_getInstance() {
|
|
@@ -3078,12 +3078,12 @@
|
|
|
3078
3078
|
Write2_instance = this;
|
|
3079
3079
|
NonBacktrackable.call(this, 'write');
|
|
3080
3080
|
}
|
|
3081
|
-
Write2.prototype.
|
|
3082
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
3083
|
-
return IOPrimitiveUtils_getInstance().
|
|
3081
|
+
Write2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
3082
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
3083
|
+
return IOPrimitiveUtils_getInstance().q3n(_this__u8e3s4, channel, second, Companion_getInstance_13().j14(_this__u8e3s4.context.h1v()));
|
|
3084
3084
|
};
|
|
3085
|
-
Write2.prototype.
|
|
3086
|
-
return this.
|
|
3085
|
+
Write2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
3086
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
3087
3087
|
};
|
|
3088
3088
|
var Write2_instance;
|
|
3089
3089
|
function Write2_getInstance() {
|
|
@@ -3095,11 +3095,11 @@
|
|
|
3095
3095
|
WriteCanonical1_instance = this;
|
|
3096
3096
|
NonBacktrackable_0.call(this, 'write_canonical');
|
|
3097
3097
|
}
|
|
3098
|
-
WriteCanonical1.prototype.
|
|
3099
|
-
return IOPrimitiveUtils_getInstance().
|
|
3098
|
+
WriteCanonical1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
3099
|
+
return IOPrimitiveUtils_getInstance().q3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3n(_this__u8e3s4), first, Companion_getInstance_13().canonical());
|
|
3100
3100
|
};
|
|
3101
|
-
WriteCanonical1.prototype.
|
|
3102
|
-
return this.
|
|
3101
|
+
WriteCanonical1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
3102
|
+
return this.j2p(_this__u8e3s4, first);
|
|
3103
3103
|
};
|
|
3104
3104
|
var WriteCanonical1_instance;
|
|
3105
3105
|
function WriteCanonical1_getInstance() {
|
|
@@ -3111,12 +3111,12 @@
|
|
|
3111
3111
|
WriteCanonical2_instance = this;
|
|
3112
3112
|
NonBacktrackable.call(this, 'write_canonical');
|
|
3113
3113
|
}
|
|
3114
|
-
WriteCanonical2.prototype.
|
|
3115
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
3116
|
-
return IOPrimitiveUtils_getInstance().
|
|
3114
|
+
WriteCanonical2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
3115
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
3116
|
+
return IOPrimitiveUtils_getInstance().q3n(_this__u8e3s4, channel, second, Companion_getInstance_13().canonical());
|
|
3117
3117
|
};
|
|
3118
|
-
WriteCanonical2.prototype.
|
|
3119
|
-
return this.
|
|
3118
|
+
WriteCanonical2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
3119
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
3120
3120
|
};
|
|
3121
3121
|
var WriteCanonical2_instance;
|
|
3122
3122
|
function WriteCanonical2_getInstance() {
|
|
@@ -3128,14 +3128,14 @@
|
|
|
3128
3128
|
WriteEq1_instance = this;
|
|
3129
3129
|
NonBacktrackable_0.call(this, 'writeq');
|
|
3130
3130
|
}
|
|
3131
|
-
WriteEq1.prototype.
|
|
3131
|
+
WriteEq1.prototype.j2p = function (_this__u8e3s4, first) {
|
|
3132
3132
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
3133
|
-
var tmp_0 = IOPrimitiveUtils_getInstance().
|
|
3133
|
+
var tmp_0 = IOPrimitiveUtils_getInstance().h3n(_this__u8e3s4);
|
|
3134
3134
|
var tmp_1 = Companion_getInstance_13();
|
|
3135
|
-
return tmp.
|
|
3135
|
+
return tmp.q3n(_this__u8e3s4, tmp_0, first, tmp_1.l14(null, 1, null));
|
|
3136
3136
|
};
|
|
3137
|
-
WriteEq1.prototype.
|
|
3138
|
-
return this.
|
|
3137
|
+
WriteEq1.prototype.d2k = function (_this__u8e3s4, first) {
|
|
3138
|
+
return this.j2p(_this__u8e3s4, first);
|
|
3139
3139
|
};
|
|
3140
3140
|
var WriteEq1_instance;
|
|
3141
3141
|
function WriteEq1_getInstance() {
|
|
@@ -3147,14 +3147,14 @@
|
|
|
3147
3147
|
WriteEq2_instance = this;
|
|
3148
3148
|
NonBacktrackable.call(this, 'writeq');
|
|
3149
3149
|
}
|
|
3150
|
-
WriteEq2.prototype.
|
|
3151
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
3150
|
+
WriteEq2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
3151
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
3152
3152
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
3153
3153
|
var tmp_0 = Companion_getInstance_13();
|
|
3154
|
-
return tmp.
|
|
3154
|
+
return tmp.q3n(_this__u8e3s4, channel, second, tmp_0.l14(null, 1, null));
|
|
3155
3155
|
};
|
|
3156
|
-
WriteEq2.prototype.
|
|
3157
|
-
return this.
|
|
3156
|
+
WriteEq2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
3157
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
3158
3158
|
};
|
|
3159
3159
|
var WriteEq2_instance;
|
|
3160
3160
|
function WriteEq2_getInstance() {
|
|
@@ -3166,12 +3166,12 @@
|
|
|
3166
3166
|
WriteTerm2_instance = this;
|
|
3167
3167
|
NonBacktrackable.call(this, 'write_term');
|
|
3168
3168
|
}
|
|
3169
|
-
WriteTerm2.prototype.
|
|
3170
|
-
var formatter = IOPrimitiveUtils_getInstance().
|
|
3171
|
-
return IOPrimitiveUtils_getInstance().
|
|
3169
|
+
WriteTerm2.prototype.a2q = function (_this__u8e3s4, first, second) {
|
|
3170
|
+
var formatter = IOPrimitiveUtils_getInstance().m3n(_this__u8e3s4, 1);
|
|
3171
|
+
return IOPrimitiveUtils_getInstance().q3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3n(_this__u8e3s4), first, formatter);
|
|
3172
3172
|
};
|
|
3173
|
-
WriteTerm2.prototype.
|
|
3174
|
-
return this.
|
|
3173
|
+
WriteTerm2.prototype.d2g = function (_this__u8e3s4, first, second) {
|
|
3174
|
+
return this.a2q(_this__u8e3s4, first, second);
|
|
3175
3175
|
};
|
|
3176
3176
|
var WriteTerm2_instance;
|
|
3177
3177
|
function WriteTerm2_getInstance() {
|
|
@@ -3183,13 +3183,13 @@
|
|
|
3183
3183
|
WriteTerm3_instance = this;
|
|
3184
3184
|
NonBacktrackable_1.call(this, 'write_term');
|
|
3185
3185
|
}
|
|
3186
|
-
WriteTerm3.prototype.
|
|
3187
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
3188
|
-
var formatter = IOPrimitiveUtils_getInstance().
|
|
3189
|
-
return IOPrimitiveUtils_getInstance().
|
|
3186
|
+
WriteTerm3.prototype.c2s = function (_this__u8e3s4, first, second, third) {
|
|
3187
|
+
var channel = IOPrimitiveUtils_getInstance().f3m(_this__u8e3s4, 0);
|
|
3188
|
+
var formatter = IOPrimitiveUtils_getInstance().m3n(_this__u8e3s4, 1);
|
|
3189
|
+
return IOPrimitiveUtils_getInstance().q3n(_this__u8e3s4, channel, first, formatter);
|
|
3190
3190
|
};
|
|
3191
|
-
WriteTerm3.prototype.
|
|
3192
|
-
return this.
|
|
3191
|
+
WriteTerm3.prototype.u2j = function (_this__u8e3s4, first, second, third) {
|
|
3192
|
+
return this.c2s(_this__u8e3s4, first, second, third);
|
|
3193
3193
|
};
|
|
3194
3194
|
var WriteTerm3_instance;
|
|
3195
3195
|
function WriteTerm3_getInstance() {
|
|
@@ -3451,7 +3451,7 @@
|
|
|
3451
3451
|
}
|
|
3452
3452
|
function JsUrl_init_$Init$(url, $this) {
|
|
3453
3453
|
JsUrl.call($this);
|
|
3454
|
-
var tmp0_elvis_lhs = Companion_getInstance_22().
|
|
3454
|
+
var tmp0_elvis_lhs = Companion_getInstance_22().h31(url);
|
|
3455
3455
|
var tmp;
|
|
3456
3456
|
if (tmp0_elvis_lhs == null) {
|
|
3457
3457
|
throw InvalidUrlException_init_$Create$('Invalid URL: ' + url);
|
|
@@ -3461,19 +3461,19 @@
|
|
|
3461
3461
|
var match = tmp;
|
|
3462
3462
|
var tmp_0 = $this;
|
|
3463
3463
|
var tmp1_elvis_lhs = match.a3(UrlField_PROTOCOL_getInstance());
|
|
3464
|
-
tmp_0.
|
|
3464
|
+
tmp_0.e3p_1 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3465
3465
|
var tmp_1 = $this;
|
|
3466
3466
|
var tmp2_elvis_lhs = match.a3(UrlField_HOST_getInstance());
|
|
3467
|
-
tmp_1.
|
|
3467
|
+
tmp_1.f3p_1 = tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs;
|
|
3468
3468
|
var tmp_2 = $this;
|
|
3469
3469
|
var tmp3_elvis_lhs = match.a3(UrlField_PATH_getInstance());
|
|
3470
|
-
tmp_2.
|
|
3470
|
+
tmp_2.g3p_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
3471
3471
|
var tmp_3 = $this;
|
|
3472
3472
|
var tmp4_safe_receiver = match.a3(UrlField_PORT_getInstance());
|
|
3473
3473
|
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : toInt(tmp4_safe_receiver);
|
|
3474
|
-
tmp_3.
|
|
3475
|
-
$this.
|
|
3476
|
-
$this.
|
|
3474
|
+
tmp_3.h3p_1 = tmp5_safe_receiver == null ? null : Companion_getInstance_22().k3k(tmp5_safe_receiver);
|
|
3475
|
+
$this.i3p_1 = match.a3(UrlField_QUERY_getInstance());
|
|
3476
|
+
$this.d3p_1 = url;
|
|
3477
3477
|
return $this;
|
|
3478
3478
|
}
|
|
3479
3479
|
function JsUrl_init_$Create$(url) {
|
|
@@ -3481,12 +3481,12 @@
|
|
|
3481
3481
|
}
|
|
3482
3482
|
function JsUrl_init_$Init$_0(protocol, host, port, path, query, $this) {
|
|
3483
3483
|
JsUrl.call($this);
|
|
3484
|
-
$this.
|
|
3485
|
-
$this.
|
|
3486
|
-
$this.
|
|
3487
|
-
$this.
|
|
3488
|
-
$this.
|
|
3489
|
-
$this.
|
|
3484
|
+
$this.e3p_1 = protocol;
|
|
3485
|
+
$this.f3p_1 = host;
|
|
3486
|
+
$this.h3p_1 = port;
|
|
3487
|
+
$this.g3p_1 = path;
|
|
3488
|
+
$this.i3p_1 = query;
|
|
3489
|
+
$this.d3p_1 = Companion_getInstance_22().o3k(protocol, host, port, path, query);
|
|
3490
3490
|
return $this;
|
|
3491
3491
|
}
|
|
3492
3492
|
function JsUrl_init_$Create$_0(protocol, host, port, path, query) {
|
|
@@ -3507,40 +3507,40 @@
|
|
|
3507
3507
|
function JsUrl_init_$Create$_1(protocol, host, port, path, query, $mask0, $marker) {
|
|
3508
3508
|
return JsUrl_init_$Init$_1(protocol, host, port, path, query, $mask0, $marker, Object.create(JsUrl.prototype));
|
|
3509
3509
|
}
|
|
3510
|
-
JsUrl.prototype.
|
|
3511
|
-
return this.
|
|
3510
|
+
JsUrl.prototype.p3k = function () {
|
|
3511
|
+
return this.e3p_1;
|
|
3512
3512
|
};
|
|
3513
|
-
JsUrl.prototype.
|
|
3514
|
-
return this.
|
|
3513
|
+
JsUrl.prototype.q3k = function () {
|
|
3514
|
+
return this.f3p_1;
|
|
3515
3515
|
};
|
|
3516
|
-
JsUrl.prototype.
|
|
3517
|
-
return this.
|
|
3516
|
+
JsUrl.prototype.n31 = function () {
|
|
3517
|
+
return this.g3p_1;
|
|
3518
3518
|
};
|
|
3519
|
-
JsUrl.prototype.
|
|
3520
|
-
return this.
|
|
3519
|
+
JsUrl.prototype.r3k = function () {
|
|
3520
|
+
return this.h3p_1;
|
|
3521
3521
|
};
|
|
3522
3522
|
JsUrl.prototype.x1v = function () {
|
|
3523
|
-
return this.
|
|
3523
|
+
return this.i3p_1;
|
|
3524
3524
|
};
|
|
3525
|
-
JsUrl.prototype.
|
|
3526
|
-
if (this.
|
|
3527
|
-
return readText(this.
|
|
3525
|
+
JsUrl.prototype.j3p = function () {
|
|
3526
|
+
if (this.s3k()) {
|
|
3527
|
+
return readText(this.g3p_1);
|
|
3528
3528
|
} else {
|
|
3529
|
-
return fetch(this.
|
|
3529
|
+
return fetch(this.d3p_1, 'UTF-8');
|
|
3530
3530
|
}
|
|
3531
3531
|
};
|
|
3532
3532
|
JsUrl.prototype.readAsText = function () {
|
|
3533
|
-
return this.
|
|
3533
|
+
return this.j3p();
|
|
3534
3534
|
};
|
|
3535
|
-
JsUrl.prototype.
|
|
3536
|
-
if (this.
|
|
3537
|
-
return readBin(this.
|
|
3535
|
+
JsUrl.prototype.k3p = function () {
|
|
3536
|
+
if (this.s3k()) {
|
|
3537
|
+
return readBin(this.g3p_1);
|
|
3538
3538
|
} else {
|
|
3539
|
-
return toByteArray(fetch$default(this.
|
|
3539
|
+
return toByteArray(fetch$default(this.d3p_1, null, 2, null));
|
|
3540
3540
|
}
|
|
3541
3541
|
};
|
|
3542
3542
|
JsUrl.prototype.readAsByteArray = function () {
|
|
3543
|
-
return this.
|
|
3543
|
+
return this.k3p();
|
|
3544
3544
|
};
|
|
3545
3545
|
JsUrl.prototype.equals = function (other) {
|
|
3546
3546
|
if (this === other)
|
|
@@ -3551,15 +3551,15 @@
|
|
|
3551
3551
|
other;
|
|
3552
3552
|
else
|
|
3553
3553
|
THROW_CCE();
|
|
3554
|
-
if (!(this.
|
|
3554
|
+
if (!(this.d3p_1 === other.d3p_1))
|
|
3555
3555
|
return false;
|
|
3556
3556
|
return true;
|
|
3557
3557
|
};
|
|
3558
3558
|
JsUrl.prototype.hashCode = function () {
|
|
3559
|
-
return getStringHashCode(this.
|
|
3559
|
+
return getStringHashCode(this.d3p_1);
|
|
3560
3560
|
};
|
|
3561
3561
|
JsUrl.prototype.toString = function () {
|
|
3562
|
-
return this.
|
|
3562
|
+
return this.d3p_1;
|
|
3563
3563
|
};
|
|
3564
3564
|
function JsUrl() {
|
|
3565
3565
|
}
|
|
@@ -3583,12 +3583,12 @@
|
|
|
3583
3583
|
IOLib.prototype.containsOperator = containsOperator;
|
|
3584
3584
|
IOLib.prototype.hasPrimitive = hasPrimitive;
|
|
3585
3585
|
IOLib.prototype.hasFunction = hasFunction;
|
|
3586
|
-
IOLib.prototype.
|
|
3586
|
+
IOLib.prototype.p2e = get_ruleSignatures;
|
|
3587
3587
|
IOLib.prototype.hasProtected = hasProtected;
|
|
3588
3588
|
JsUrl.prototype.resolve = resolve;
|
|
3589
3589
|
JsUrl.prototype.div = div;
|
|
3590
|
-
JsUrl.prototype.
|
|
3591
|
-
JsUrl.prototype.
|
|
3590
|
+
JsUrl.prototype.s3k = get_isFile;
|
|
3591
|
+
JsUrl.prototype.t3k = get_isHttp;
|
|
3592
3592
|
//endregion
|
|
3593
3593
|
//region block: exports
|
|
3594
3594
|
_.$_$ = _.$_$ || {};
|