@tuprolog/2p-full 0.32.4 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-bdd.js +136 -136
- package/2p-core.js +379 -412
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +463 -463
- package/2p-oop-lib.js +594 -594
- package/2p-oop-lib.js.map +1 -1
- package/2p-parser-core.js +114 -114
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-theory.js +11 -11
- package/2p-repl.js +63 -63
- package/2p-repl.js.map +1 -1
- package/2p-solve-classic.js +794 -794
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve-plp.js +1 -1
- package/2p-solve-problog.js +922 -922
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-streams.js +641 -641
- package/2p-solve.js +2877 -2867
- package/2p-solve.js.map +1 -1
- package/2p-test-dsl.js +15 -0
- package/2p-test-dsl.js.map +1 -0
- package/2p-theory.js +1342 -1065
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +160 -160
- package/2p-utils.js +3 -3
- package/2p-utils.js.map +1 -1
- package/clikt-clikt-js-ir.js +1010 -1010
- package/kotlin-kotlin-stdlib.js +31 -31
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-test-kotlin-test-js-ir.js +15 -0
- package/kotlin-kotlin-test-kotlin-test-js-ir.js.map +1 -0
- package/package.json +1 -1
package/2p-io-lib.js
CHANGED
|
@@ -165,16 +165,16 @@
|
|
|
165
165
|
setMetadataFor(UrlField, 'UrlField', classMeta, Enum);
|
|
166
166
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
167
167
|
function resolve(child) {
|
|
168
|
-
return Companion_getInstance_8().
|
|
168
|
+
return Companion_getInstance_8().x3j(this.b3k(), this.c3k(), this.d3k(), this.b31() + '/' + child, this.c1w());
|
|
169
169
|
}
|
|
170
170
|
function div(child) {
|
|
171
171
|
return this.resolve(child);
|
|
172
172
|
}
|
|
173
173
|
function get_isFile() {
|
|
174
|
-
return this.
|
|
174
|
+
return this.b3k() === 'file';
|
|
175
175
|
}
|
|
176
176
|
function get_isHttp() {
|
|
177
|
-
return startsWith(this.
|
|
177
|
+
return startsWith(this.b3k(), 'http');
|
|
178
178
|
}
|
|
179
179
|
setMetadataFor(Url, 'Url', interfaceMeta);
|
|
180
180
|
setMetadataFor(IOException, 'IOException', classMeta, TuPrologException);
|
|
@@ -233,10 +233,10 @@
|
|
|
233
233
|
IOLib_instance = this;
|
|
234
234
|
AbstractLibrary.call(this);
|
|
235
235
|
}
|
|
236
|
-
protoOf(IOLib).
|
|
236
|
+
protoOf(IOLib).j2e = function () {
|
|
237
237
|
return 'prolog.io';
|
|
238
238
|
};
|
|
239
|
-
protoOf(IOLib).
|
|
239
|
+
protoOf(IOLib).i2e = function () {
|
|
240
240
|
var tmp = Companion_getInstance();
|
|
241
241
|
// Inline function 'kotlin.collections.map' call
|
|
242
242
|
var this_0 = listOf([AtEndOfStream0_getInstance(), AtEndOfStream1_getInstance(), CharConversion_getInstance(), Close1_getInstance(), Close2_getInstance(), Consult_getInstance(), CurrentCharConversion_getInstance(), CurrentInput_getInstance(), CurrentOutput_getInstance(), FlushOutput_getInstance(), GetByte1_getInstance(), GetByte2_getInstance(), GetChar1_getInstance(), GetChar2_getInstance(), GetCode1_getInstance(), GetCode2_getInstance(), Nl1_getInstance(), Open3_getInstance(), Open4_getInstance(), PeekByte1_getInstance(), PeekByte2_getInstance(), PeekChar1_getInstance(), PeekChar2_getInstance(), PeekCode1_getInstance(), PeekCode2_getInstance(), PutByte1_getInstance(), PutByte2_getInstance(), PutChar1_getInstance(), PutChar2_getInstance(), PutCode1_getInstance(), PutCode2_getInstance(), Read1_getInstance(), Read2_getInstance(), ReadTerm2_getInstance(), ReadTerm3_getInstance(), SetInput_getInstance(), SetOutput_getInstance(), SetTheory_getInstance(), StreamProperty_getInstance(), Write2_getInstance(), WriteCanonical1_getInstance(), WriteCanonical2_getInstance(), WriteEq1_getInstance(), WriteEq2_getInstance(), WriteTerm2_getInstance(), WriteTerm3_getInstance()]);
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
var item = tmp0_iterator.u();
|
|
248
248
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.IOLib.<get-primitives>.<anonymous>' call
|
|
249
249
|
// Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.descriptionPair' call
|
|
250
|
-
var tmp$ret$1 = to(item.signature, item.
|
|
250
|
+
var tmp$ret$1 = to(item.signature, item.q1u());
|
|
251
251
|
destination.o(tmp$ret$1);
|
|
252
252
|
}
|
|
253
253
|
return tmp.iterableToMapEnsuringNoDuplicates(destination);
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
var tmp = this;
|
|
279
279
|
var tmp_0 = asSequence(values());
|
|
280
280
|
var tmp_1 = map(tmp_0, IOMode$Companion$atomValues$lambda);
|
|
281
|
-
tmp.
|
|
281
|
+
tmp.u3j_1 = toSet(map(tmp_1, Atom$Companion$of$ref(Companion_getInstance_0())));
|
|
282
282
|
}
|
|
283
283
|
var Companion_instance_13;
|
|
284
284
|
function Companion_getInstance_7() {
|
|
@@ -436,9 +436,9 @@
|
|
|
436
436
|
}
|
|
437
437
|
function Companion_0() {
|
|
438
438
|
Companion_instance_14 = this;
|
|
439
|
-
this.
|
|
439
|
+
this.v3j_1 = urlRegex$default(this);
|
|
440
440
|
}
|
|
441
|
-
protoOf(Companion_0).
|
|
441
|
+
protoOf(Companion_0).w3j = function (_this__u8e3s4) {
|
|
442
442
|
var tmp;
|
|
443
443
|
if (_this__u8e3s4 < 0) {
|
|
444
444
|
throw IllegalArgumentException_init_$Create$('Invalid port: ' + _this__u8e3s4);
|
|
@@ -447,8 +447,8 @@
|
|
|
447
447
|
}
|
|
448
448
|
return tmp;
|
|
449
449
|
};
|
|
450
|
-
protoOf(Companion_0).
|
|
451
|
-
var tmp0_safe_receiver = this.
|
|
450
|
+
protoOf(Companion_0).v30 = function (string) {
|
|
451
|
+
var tmp0_safe_receiver = this.v3j_1.t8(string);
|
|
452
452
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j9();
|
|
453
453
|
var match = tmp1_safe_receiver == null ? null : toList(tmp1_safe_receiver);
|
|
454
454
|
var tmp;
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
protoOf(Companion_0).file = function (path) {
|
|
482
482
|
return fileUrl(path);
|
|
483
483
|
};
|
|
484
|
-
protoOf(Companion_0).
|
|
484
|
+
protoOf(Companion_0).x3j = function (protocol, host, port, path, query) {
|
|
485
485
|
return remoteUrl(protocol, host, port, path, query);
|
|
486
486
|
};
|
|
487
487
|
protoOf(Companion_0).remote = function (protocol, host, port, path, query, $super) {
|
|
@@ -489,27 +489,27 @@
|
|
|
489
489
|
port = port === VOID ? null : port;
|
|
490
490
|
path = path === VOID ? '' : path;
|
|
491
491
|
query = query === VOID ? null : query;
|
|
492
|
-
return $super === VOID ? this.
|
|
492
|
+
return $super === VOID ? this.x3j(protocol, host, port, path, query) : $super.x3j.call(this, protocol, host, port, path, query);
|
|
493
493
|
};
|
|
494
|
-
protoOf(Companion_0).
|
|
495
|
-
return this.
|
|
494
|
+
protoOf(Companion_0).y3j = function (host, port, path, query) {
|
|
495
|
+
return this.x3j('http', host, port, path, query);
|
|
496
496
|
};
|
|
497
497
|
protoOf(Companion_0).http = function (host, port, path, query, $super) {
|
|
498
498
|
host = host === VOID ? '' : host;
|
|
499
499
|
port = port === VOID ? null : port;
|
|
500
500
|
path = path === VOID ? '' : path;
|
|
501
501
|
query = query === VOID ? null : query;
|
|
502
|
-
return $super === VOID ? this.
|
|
502
|
+
return $super === VOID ? this.y3j(host, port, path, query) : $super.y3j.call(this, host, port, path, query);
|
|
503
503
|
};
|
|
504
|
-
protoOf(Companion_0).
|
|
505
|
-
return this.
|
|
504
|
+
protoOf(Companion_0).z3j = function (host, port, path, query) {
|
|
505
|
+
return this.x3j('https', host, port, path, query);
|
|
506
506
|
};
|
|
507
507
|
protoOf(Companion_0).https = function (host, port, path, query, $super) {
|
|
508
508
|
host = host === VOID ? '' : host;
|
|
509
509
|
port = port === VOID ? null : port;
|
|
510
510
|
path = path === VOID ? '' : path;
|
|
511
511
|
query = query === VOID ? null : query;
|
|
512
|
-
return $super === VOID ? this.
|
|
512
|
+
return $super === VOID ? this.z3j(host, port, path, query) : $super.z3j.call(this, host, port, path, query);
|
|
513
513
|
};
|
|
514
514
|
protoOf(Companion_0).of = function (string) {
|
|
515
515
|
var tmp;
|
|
@@ -539,8 +539,8 @@
|
|
|
539
539
|
}
|
|
540
540
|
return tmp;
|
|
541
541
|
};
|
|
542
|
-
protoOf(Companion_0).
|
|
543
|
-
var tmp = port == null ? null : this.
|
|
542
|
+
protoOf(Companion_0).a3k = function (protocol, host, port, path, query) {
|
|
543
|
+
var tmp = port == null ? null : this.w3j(port);
|
|
544
544
|
var tmp_0 = str(tmp, this, Url$Companion$toString$lambda);
|
|
545
545
|
return protocol + '://' + host + tmp_0 + path + str(query, this, Url$Companion$toString$lambda_0);
|
|
546
546
|
};
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
captureStack(tmp, IOException_init_$Create$_0);
|
|
573
573
|
return tmp;
|
|
574
574
|
}
|
|
575
|
-
protoOf(IOException).
|
|
575
|
+
protoOf(IOException).g3k = function (context) {
|
|
576
576
|
return Companion_instance.forUncaughtKtException(context, this);
|
|
577
577
|
};
|
|
578
578
|
function IOException() {
|
|
@@ -588,8 +588,8 @@
|
|
|
588
588
|
captureStack(tmp, InvalidUrlException_init_$Create$);
|
|
589
589
|
return tmp;
|
|
590
590
|
}
|
|
591
|
-
protoOf(InvalidUrlException).
|
|
592
|
-
return Companion_instance_0.
|
|
591
|
+
protoOf(InvalidUrlException).h3k = function (context, signature, culprit, index) {
|
|
592
|
+
return Companion_instance_0.l28(context, signature, Expected_URL_getInstance(), culprit, index);
|
|
593
593
|
};
|
|
594
594
|
function InvalidUrlException() {
|
|
595
595
|
captureStack(this, InvalidUrlException);
|
|
@@ -598,15 +598,15 @@
|
|
|
598
598
|
AtEndOfStream0_instance = this;
|
|
599
599
|
Predicative.call(this, 'at_end_of_stream');
|
|
600
600
|
}
|
|
601
|
-
protoOf(AtEndOfStream0).
|
|
601
|
+
protoOf(AtEndOfStream0).j3k = function (_this__u8e3s4) {
|
|
602
602
|
// Inline function 'kotlin.let' call
|
|
603
603
|
// Inline function 'kotlin.contracts.contract' call
|
|
604
604
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.AtEndOfStream0.compute.<anonymous>' call
|
|
605
|
-
var it = IOPrimitiveUtils_getInstance().
|
|
606
|
-
return it.
|
|
605
|
+
var it = IOPrimitiveUtils_getInstance().b3l(_this__u8e3s4);
|
|
606
|
+
return it.i1z() ? true : it.hr();
|
|
607
607
|
};
|
|
608
|
-
protoOf(AtEndOfStream0).
|
|
609
|
-
return this.
|
|
608
|
+
protoOf(AtEndOfStream0).q2g = function (_this__u8e3s4) {
|
|
609
|
+
return this.j3k(_this__u8e3s4);
|
|
610
610
|
};
|
|
611
611
|
var AtEndOfStream0_instance;
|
|
612
612
|
function AtEndOfStream0_getInstance() {
|
|
@@ -618,15 +618,15 @@
|
|
|
618
618
|
AtEndOfStream1_instance = this;
|
|
619
619
|
Predicative_0.call(this, 'at_end_of_stream');
|
|
620
620
|
}
|
|
621
|
-
protoOf(AtEndOfStream1).
|
|
621
|
+
protoOf(AtEndOfStream1).d3l = function (_this__u8e3s4, first) {
|
|
622
622
|
// Inline function 'kotlin.let' call
|
|
623
623
|
// Inline function 'kotlin.contracts.contract' call
|
|
624
624
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.AtEndOfStream1.compute.<anonymous>' call
|
|
625
|
-
var it = IOPrimitiveUtils_getInstance().
|
|
626
|
-
return it.
|
|
625
|
+
var it = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
626
|
+
return it.i1z() ? true : it.hr();
|
|
627
627
|
};
|
|
628
|
-
protoOf(AtEndOfStream1).
|
|
629
|
-
return this.
|
|
628
|
+
protoOf(AtEndOfStream1).n2j = function (_this__u8e3s4, first) {
|
|
629
|
+
return this.d3l(_this__u8e3s4, first);
|
|
630
630
|
};
|
|
631
631
|
var AtEndOfStream1_instance;
|
|
632
632
|
function AtEndOfStream1_getInstance() {
|
|
@@ -638,11 +638,11 @@
|
|
|
638
638
|
CharConversion_instance = this;
|
|
639
639
|
NonBacktrackable.call(this, 'char_conversion');
|
|
640
640
|
}
|
|
641
|
-
protoOf(CharConversion).
|
|
642
|
-
return Companion_getInstance_1().
|
|
641
|
+
protoOf(CharConversion).n2p = function (_this__u8e3s4, first, second) {
|
|
642
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
643
643
|
};
|
|
644
|
-
protoOf(CharConversion).
|
|
645
|
-
return this.
|
|
644
|
+
protoOf(CharConversion).y2f = function (_this__u8e3s4, first, second) {
|
|
645
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
646
646
|
};
|
|
647
647
|
var CharConversion_instance;
|
|
648
648
|
function CharConversion_getInstance() {
|
|
@@ -652,15 +652,15 @@
|
|
|
652
652
|
}
|
|
653
653
|
function Close1$computeOne$lambda($this_computeOne, $channel) {
|
|
654
654
|
return function ($this$replySuccess) {
|
|
655
|
-
var tmp = $this_computeOne.context.
|
|
656
|
-
$this$replySuccess.
|
|
655
|
+
var tmp = $this_computeOne.context.g1v();
|
|
656
|
+
$this$replySuccess.x2m(tmp.aliasesOf(isInterface($channel, InputChannel) ? $channel : THROW_CCE()));
|
|
657
657
|
return Unit_instance;
|
|
658
658
|
};
|
|
659
659
|
}
|
|
660
660
|
function Close1$computeOne$lambda_0($this_computeOne, $channel) {
|
|
661
661
|
return function ($this$replySuccess) {
|
|
662
|
-
var tmp = $this_computeOne.context.
|
|
663
|
-
$this$replySuccess.
|
|
662
|
+
var tmp = $this_computeOne.context.h1v();
|
|
663
|
+
$this$replySuccess.a2n(tmp.aliasesOf(isInterface($channel, OutputChannel) ? $channel : THROW_CCE()));
|
|
664
664
|
return Unit_instance;
|
|
665
665
|
};
|
|
666
666
|
}
|
|
@@ -668,8 +668,8 @@
|
|
|
668
668
|
Close1_instance = this;
|
|
669
669
|
NonBacktrackable_0.call(this, 'close');
|
|
670
670
|
}
|
|
671
|
-
protoOf(Close1).
|
|
672
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
671
|
+
protoOf(Close1).w2o = function (_this__u8e3s4, first) {
|
|
672
|
+
var channel = IOPrimitiveUtils_getInstance().h3l(_this__u8e3s4, 0);
|
|
673
673
|
try {
|
|
674
674
|
channel.close();
|
|
675
675
|
var tmp;
|
|
@@ -692,8 +692,8 @@
|
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
};
|
|
695
|
-
protoOf(Close1).
|
|
696
|
-
return this.
|
|
695
|
+
protoOf(Close1).q2j = function (_this__u8e3s4, first) {
|
|
696
|
+
return this.w2o(_this__u8e3s4, first);
|
|
697
697
|
};
|
|
698
698
|
var Close1_instance;
|
|
699
699
|
function Close1_getInstance() {
|
|
@@ -705,11 +705,11 @@
|
|
|
705
705
|
Close2_instance = this;
|
|
706
706
|
NonBacktrackable.call(this, 'close');
|
|
707
707
|
}
|
|
708
|
-
protoOf(Close2).
|
|
709
|
-
return Companion_getInstance_1().
|
|
708
|
+
protoOf(Close2).n2p = function (_this__u8e3s4, first, second) {
|
|
709
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
710
710
|
};
|
|
711
|
-
protoOf(Close2).
|
|
712
|
-
return this.
|
|
711
|
+
protoOf(Close2).y2f = function (_this__u8e3s4, first, second) {
|
|
712
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
713
713
|
};
|
|
714
714
|
var Close2_instance;
|
|
715
715
|
function Close2_getInstance() {
|
|
@@ -721,30 +721,30 @@
|
|
|
721
721
|
Consult_instance = this;
|
|
722
722
|
NonBacktrackable_0.call(this, 'consult');
|
|
723
723
|
}
|
|
724
|
-
protoOf(Consult).
|
|
725
|
-
Companion_getInstance_1().
|
|
726
|
-
Companion_getInstance_1().
|
|
724
|
+
protoOf(Consult).w2o = function (_this__u8e3s4, first) {
|
|
725
|
+
Companion_getInstance_1().c2h(_this__u8e3s4, 0);
|
|
726
|
+
Companion_getInstance_1().l2h(_this__u8e3s4, 0);
|
|
727
727
|
var urlString = (isInterface(first, Atom) ? first : THROW_CCE()).r2();
|
|
728
728
|
try {
|
|
729
729
|
var url = Companion_getInstance_8().of(urlString);
|
|
730
730
|
var text = url.readAsText();
|
|
731
|
-
return SetTheory_getInstance().
|
|
731
|
+
return SetTheory_getInstance().l3l(_this__u8e3s4, text);
|
|
732
732
|
} catch ($p) {
|
|
733
733
|
if ($p instanceof InvalidUrlException) {
|
|
734
734
|
var e = $p;
|
|
735
|
-
throw e.
|
|
735
|
+
throw e.h3k(_this__u8e3s4.context, _this__u8e3s4.signature, first, 0);
|
|
736
736
|
} else {
|
|
737
737
|
if ($p instanceof IOException) {
|
|
738
738
|
var e_0 = $p;
|
|
739
|
-
throw e_0.
|
|
739
|
+
throw e_0.g3k(_this__u8e3s4.context);
|
|
740
740
|
} else {
|
|
741
741
|
throw $p;
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
745
|
};
|
|
746
|
-
protoOf(Consult).
|
|
747
|
-
return this.
|
|
746
|
+
protoOf(Consult).q2j = function (_this__u8e3s4, first) {
|
|
747
|
+
return this.w2o(_this__u8e3s4, first);
|
|
748
748
|
};
|
|
749
749
|
var Consult_instance;
|
|
750
750
|
function Consult_getInstance() {
|
|
@@ -756,11 +756,11 @@
|
|
|
756
756
|
CurrentCharConversion_instance = this;
|
|
757
757
|
NonBacktrackable.call(this, 'current_char_conversion');
|
|
758
758
|
}
|
|
759
|
-
protoOf(CurrentCharConversion).
|
|
760
|
-
return Companion_getInstance_1().
|
|
759
|
+
protoOf(CurrentCharConversion).n2p = function (_this__u8e3s4, first, second) {
|
|
760
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
761
761
|
};
|
|
762
|
-
protoOf(CurrentCharConversion).
|
|
763
|
-
return this.
|
|
762
|
+
protoOf(CurrentCharConversion).y2f = function (_this__u8e3s4, first, second) {
|
|
763
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
764
764
|
};
|
|
765
765
|
var CurrentCharConversion_instance;
|
|
766
766
|
function CurrentCharConversion_getInstance() {
|
|
@@ -772,18 +772,18 @@
|
|
|
772
772
|
CurrentInput_instance = this;
|
|
773
773
|
NonBacktrackable_0.call(this, 'current_input');
|
|
774
774
|
}
|
|
775
|
-
protoOf(CurrentInput).
|
|
776
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
775
|
+
protoOf(CurrentInput).w2o = function (_this__u8e3s4, first) {
|
|
776
|
+
var channel = IOPrimitiveUtils_getInstance().o3l(_this__u8e3s4, 0);
|
|
777
777
|
// Inline function 'kotlin.let' call
|
|
778
778
|
// Inline function 'kotlin.contracts.contract' call
|
|
779
779
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.CurrentInput.computeOne.<anonymous>' call
|
|
780
|
-
var it = _this__u8e3s4.context.
|
|
780
|
+
var it = _this__u8e3s4.context.g1v();
|
|
781
781
|
var tmp0_elvis_lhs = it.fr();
|
|
782
|
-
var currentChannel = tmp0_elvis_lhs == null ? it.
|
|
783
|
-
return channel == null ? _this__u8e3s4.replyWith(Companion_getInstance_1().
|
|
782
|
+
var currentChannel = tmp0_elvis_lhs == null ? it.q1v() : tmp0_elvis_lhs;
|
|
783
|
+
return channel == null ? _this__u8e3s4.replyWith(Companion_getInstance_1().w2g(_this__u8e3s4, first, currentChannel.j1z()), VOID, []) : equals(channel, currentChannel) ? _this__u8e3s4.replySuccess(VOID, VOID, []) : _this__u8e3s4.replyFail(VOID, []);
|
|
784
784
|
};
|
|
785
|
-
protoOf(CurrentInput).
|
|
786
|
-
return this.
|
|
785
|
+
protoOf(CurrentInput).q2j = function (_this__u8e3s4, first) {
|
|
786
|
+
return this.w2o(_this__u8e3s4, first);
|
|
787
787
|
};
|
|
788
788
|
var CurrentInput_instance;
|
|
789
789
|
function CurrentInput_getInstance() {
|
|
@@ -795,18 +795,18 @@
|
|
|
795
795
|
CurrentOutput_instance = this;
|
|
796
796
|
NonBacktrackable_0.call(this, 'current_output');
|
|
797
797
|
}
|
|
798
|
-
protoOf(CurrentOutput).
|
|
799
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
798
|
+
protoOf(CurrentOutput).w2o = function (_this__u8e3s4, first) {
|
|
799
|
+
var channel = IOPrimitiveUtils_getInstance().o3l(_this__u8e3s4, 0);
|
|
800
800
|
// Inline function 'kotlin.let' call
|
|
801
801
|
// Inline function 'kotlin.contracts.contract' call
|
|
802
802
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.CurrentOutput.computeOne.<anonymous>' call
|
|
803
|
-
var it = _this__u8e3s4.context.
|
|
803
|
+
var it = _this__u8e3s4.context.h1v();
|
|
804
804
|
var tmp0_elvis_lhs = it.fr();
|
|
805
|
-
var currentChannel = tmp0_elvis_lhs == null ? it.
|
|
806
|
-
return channel == null ? _this__u8e3s4.replyWith(Companion_getInstance_1().
|
|
805
|
+
var currentChannel = tmp0_elvis_lhs == null ? it.r1v() : tmp0_elvis_lhs;
|
|
806
|
+
return channel == null ? _this__u8e3s4.replyWith(Companion_getInstance_1().w2g(_this__u8e3s4, first, currentChannel.j1z()), VOID, []) : equals(channel, currentChannel) ? _this__u8e3s4.replySuccess(VOID, VOID, []) : _this__u8e3s4.replyFail(VOID, []);
|
|
807
807
|
};
|
|
808
|
-
protoOf(CurrentOutput).
|
|
809
|
-
return this.
|
|
808
|
+
protoOf(CurrentOutput).q2j = function (_this__u8e3s4, first) {
|
|
809
|
+
return this.w2o(_this__u8e3s4, first);
|
|
810
810
|
};
|
|
811
811
|
var CurrentOutput_instance;
|
|
812
812
|
function CurrentOutput_getInstance() {
|
|
@@ -818,8 +818,8 @@
|
|
|
818
818
|
FlushOutput_instance = this;
|
|
819
819
|
NonBacktrackable_0.call(this, 'flush_output');
|
|
820
820
|
}
|
|
821
|
-
protoOf(FlushOutput).
|
|
822
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
821
|
+
protoOf(FlushOutput).w2o = function (_this__u8e3s4, first) {
|
|
822
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
823
823
|
var tmp;
|
|
824
824
|
try {
|
|
825
825
|
channel.flush();
|
|
@@ -836,8 +836,8 @@
|
|
|
836
836
|
}
|
|
837
837
|
return tmp;
|
|
838
838
|
};
|
|
839
|
-
protoOf(FlushOutput).
|
|
840
|
-
return this.
|
|
839
|
+
protoOf(FlushOutput).q2j = function (_this__u8e3s4, first) {
|
|
840
|
+
return this.w2o(_this__u8e3s4, first);
|
|
841
841
|
};
|
|
842
842
|
var FlushOutput_instance;
|
|
843
843
|
function FlushOutput_getInstance() {
|
|
@@ -849,11 +849,11 @@
|
|
|
849
849
|
GetByte1_instance = this;
|
|
850
850
|
NonBacktrackable_0.call(this, 'get_byte');
|
|
851
851
|
}
|
|
852
|
-
protoOf(GetByte1).
|
|
853
|
-
return Companion_getInstance_1().
|
|
852
|
+
protoOf(GetByte1).w2o = function (_this__u8e3s4, first) {
|
|
853
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
854
854
|
};
|
|
855
|
-
protoOf(GetByte1).
|
|
856
|
-
return this.
|
|
855
|
+
protoOf(GetByte1).q2j = function (_this__u8e3s4, first) {
|
|
856
|
+
return this.w2o(_this__u8e3s4, first);
|
|
857
857
|
};
|
|
858
858
|
var GetByte1_instance;
|
|
859
859
|
function GetByte1_getInstance() {
|
|
@@ -865,11 +865,11 @@
|
|
|
865
865
|
GetByte2_instance = this;
|
|
866
866
|
NonBacktrackable.call(this, 'get_byte');
|
|
867
867
|
}
|
|
868
|
-
protoOf(GetByte2).
|
|
869
|
-
return Companion_getInstance_1().
|
|
868
|
+
protoOf(GetByte2).n2p = function (_this__u8e3s4, first, second) {
|
|
869
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
870
870
|
};
|
|
871
|
-
protoOf(GetByte2).
|
|
872
|
-
return this.
|
|
871
|
+
protoOf(GetByte2).y2f = function (_this__u8e3s4, first, second) {
|
|
872
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
873
873
|
};
|
|
874
874
|
var GetByte2_instance;
|
|
875
875
|
function GetByte2_getInstance() {
|
|
@@ -881,12 +881,12 @@
|
|
|
881
881
|
GetChar1_instance = this;
|
|
882
882
|
NonBacktrackable_0.call(this, 'get_char');
|
|
883
883
|
}
|
|
884
|
-
protoOf(GetChar1).
|
|
885
|
-
IOPrimitiveUtils_getInstance().
|
|
886
|
-
return IOPrimitiveUtils_getInstance().
|
|
884
|
+
protoOf(GetChar1).w2o = function (_this__u8e3s4, first) {
|
|
885
|
+
IOPrimitiveUtils_getInstance().v3l(_this__u8e3s4, 0);
|
|
886
|
+
return IOPrimitiveUtils_getInstance().w3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().b3l(_this__u8e3s4), first);
|
|
887
887
|
};
|
|
888
|
-
protoOf(GetChar1).
|
|
889
|
-
return this.
|
|
888
|
+
protoOf(GetChar1).q2j = function (_this__u8e3s4, first) {
|
|
889
|
+
return this.w2o(_this__u8e3s4, first);
|
|
890
890
|
};
|
|
891
891
|
var GetChar1_instance;
|
|
892
892
|
function GetChar1_getInstance() {
|
|
@@ -898,13 +898,13 @@
|
|
|
898
898
|
GetChar2_instance = this;
|
|
899
899
|
NonBacktrackable.call(this, 'get_char');
|
|
900
900
|
}
|
|
901
|
-
protoOf(GetChar2).
|
|
902
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
903
|
-
IOPrimitiveUtils_getInstance().
|
|
904
|
-
return IOPrimitiveUtils_getInstance().
|
|
901
|
+
protoOf(GetChar2).n2p = function (_this__u8e3s4, first, second) {
|
|
902
|
+
var channel = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
903
|
+
IOPrimitiveUtils_getInstance().v3l(_this__u8e3s4, 1);
|
|
904
|
+
return IOPrimitiveUtils_getInstance().w3l(_this__u8e3s4, channel, second);
|
|
905
905
|
};
|
|
906
|
-
protoOf(GetChar2).
|
|
907
|
-
return this.
|
|
906
|
+
protoOf(GetChar2).y2f = function (_this__u8e3s4, first, second) {
|
|
907
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
908
908
|
};
|
|
909
909
|
var GetChar2_instance;
|
|
910
910
|
function GetChar2_getInstance() {
|
|
@@ -916,12 +916,12 @@
|
|
|
916
916
|
GetCode1_instance = this;
|
|
917
917
|
NonBacktrackable_0.call(this, 'get_code');
|
|
918
918
|
}
|
|
919
|
-
protoOf(GetCode1).
|
|
920
|
-
IOPrimitiveUtils_getInstance().
|
|
921
|
-
return IOPrimitiveUtils_getInstance().
|
|
919
|
+
protoOf(GetCode1).w2o = function (_this__u8e3s4, first) {
|
|
920
|
+
IOPrimitiveUtils_getInstance().z3l(_this__u8e3s4, 0);
|
|
921
|
+
return IOPrimitiveUtils_getInstance().a3m(_this__u8e3s4, IOPrimitiveUtils_getInstance().b3l(_this__u8e3s4), first);
|
|
922
922
|
};
|
|
923
|
-
protoOf(GetCode1).
|
|
924
|
-
return this.
|
|
923
|
+
protoOf(GetCode1).q2j = function (_this__u8e3s4, first) {
|
|
924
|
+
return this.w2o(_this__u8e3s4, first);
|
|
925
925
|
};
|
|
926
926
|
var GetCode1_instance;
|
|
927
927
|
function GetCode1_getInstance() {
|
|
@@ -933,13 +933,13 @@
|
|
|
933
933
|
GetCode2_instance = this;
|
|
934
934
|
NonBacktrackable.call(this, 'get_code');
|
|
935
935
|
}
|
|
936
|
-
protoOf(GetCode2).
|
|
937
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
938
|
-
IOPrimitiveUtils_getInstance().
|
|
939
|
-
return IOPrimitiveUtils_getInstance().
|
|
936
|
+
protoOf(GetCode2).n2p = function (_this__u8e3s4, first, second) {
|
|
937
|
+
var channel = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
938
|
+
IOPrimitiveUtils_getInstance().z3l(_this__u8e3s4, 0);
|
|
939
|
+
return IOPrimitiveUtils_getInstance().a3m(_this__u8e3s4, channel, first);
|
|
940
940
|
};
|
|
941
|
-
protoOf(GetCode2).
|
|
942
|
-
return this.
|
|
941
|
+
protoOf(GetCode2).y2f = function (_this__u8e3s4, first, second) {
|
|
942
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
943
943
|
};
|
|
944
944
|
var GetCode2_instance;
|
|
945
945
|
function GetCode2_getInstance() {
|
|
@@ -969,103 +969,103 @@
|
|
|
969
969
|
}
|
|
970
970
|
function _get_INPUT_STREAM_TERM_PATTERN__5fd8p6($this) {
|
|
971
971
|
// Inline function 'kotlin.getValue' call
|
|
972
|
-
var this_0 = $this.
|
|
972
|
+
var this_0 = $this.k3k_1;
|
|
973
973
|
INPUT_STREAM_TERM_PATTERN$factory();
|
|
974
974
|
return this_0.r2();
|
|
975
975
|
}
|
|
976
976
|
function _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf($this) {
|
|
977
977
|
// Inline function 'kotlin.getValue' call
|
|
978
|
-
var this_0 = $this.
|
|
978
|
+
var this_0 = $this.l3k_1;
|
|
979
979
|
OUTPUT_STREAM_TERM_PATTERN$factory();
|
|
980
980
|
return this_0.r2();
|
|
981
981
|
}
|
|
982
982
|
function _get_PROPERTY_TYPE_PATTERN__5nq864($this) {
|
|
983
983
|
// Inline function 'kotlin.getValue' call
|
|
984
|
-
var this_0 = $this.
|
|
984
|
+
var this_0 = $this.m3k_1;
|
|
985
985
|
PROPERTY_TYPE_PATTERN$factory();
|
|
986
986
|
return this_0.r2();
|
|
987
987
|
}
|
|
988
988
|
function _get_PROPERTY_REPOSITION_PATTERN__lznuii($this) {
|
|
989
989
|
// Inline function 'kotlin.getValue' call
|
|
990
|
-
var this_0 = $this.
|
|
990
|
+
var this_0 = $this.n3k_1;
|
|
991
991
|
PROPERTY_REPOSITION_PATTERN$factory();
|
|
992
992
|
return this_0.r2();
|
|
993
993
|
}
|
|
994
994
|
function _get_PROPERTY_EOF_ACTION_PATTERN__8k2shv($this) {
|
|
995
995
|
// Inline function 'kotlin.getValue' call
|
|
996
|
-
var this_0 = $this.
|
|
996
|
+
var this_0 = $this.o3k_1;
|
|
997
997
|
PROPERTY_EOF_ACTION_PATTERN$factory();
|
|
998
998
|
return this_0.r2();
|
|
999
999
|
}
|
|
1000
1000
|
function _get_PROPERTY_ALIAS_PATTERN__wipd2s($this) {
|
|
1001
1001
|
// Inline function 'kotlin.getValue' call
|
|
1002
|
-
var this_0 = $this.
|
|
1002
|
+
var this_0 = $this.p3k_1;
|
|
1003
1003
|
PROPERTY_ALIAS_PATTERN$factory();
|
|
1004
1004
|
return this_0.r2();
|
|
1005
1005
|
}
|
|
1006
1006
|
function _get_PROPERTY_INPUT__z2zr91($this) {
|
|
1007
1007
|
// Inline function 'kotlin.getValue' call
|
|
1008
|
-
var this_0 = $this.
|
|
1008
|
+
var this_0 = $this.q3k_1;
|
|
1009
1009
|
PROPERTY_INPUT$factory();
|
|
1010
1010
|
return this_0.r2();
|
|
1011
1011
|
}
|
|
1012
1012
|
function _get_PROPERTY_OUTPUT__1pem9m($this) {
|
|
1013
1013
|
// Inline function 'kotlin.getValue' call
|
|
1014
|
-
var this_0 = $this.
|
|
1014
|
+
var this_0 = $this.r3k_1;
|
|
1015
1015
|
PROPERTY_OUTPUT$factory();
|
|
1016
1016
|
return this_0.r2();
|
|
1017
1017
|
}
|
|
1018
1018
|
function _get_PROPERTY_TYPE_TEXT__9rpcwt($this) {
|
|
1019
1019
|
// Inline function 'kotlin.getValue' call
|
|
1020
|
-
var this_0 = $this.
|
|
1020
|
+
var this_0 = $this.s3k_1;
|
|
1021
1021
|
PROPERTY_TYPE_TEXT$factory();
|
|
1022
1022
|
return this_0.r2();
|
|
1023
1023
|
}
|
|
1024
1024
|
function _get_PROPERTY_REPOSITION_FALSE__i73t3b($this) {
|
|
1025
1025
|
// Inline function 'kotlin.getValue' call
|
|
1026
|
-
var this_0 = $this.
|
|
1026
|
+
var this_0 = $this.t3k_1;
|
|
1027
1027
|
PROPERTY_REPOSITION_FALSE$factory();
|
|
1028
1028
|
return this_0.r2();
|
|
1029
1029
|
}
|
|
1030
1030
|
function _get_PROPERTY_EOF_ACTION_EOF_CODE__he3pvl($this) {
|
|
1031
1031
|
// Inline function 'kotlin.getValue' call
|
|
1032
|
-
var this_0 = $this.
|
|
1032
|
+
var this_0 = $this.u3k_1;
|
|
1033
1033
|
PROPERTY_EOF_ACTION_EOF_CODE$factory();
|
|
1034
1034
|
return this_0.r2();
|
|
1035
1035
|
}
|
|
1036
1036
|
function _get_OPTION_QUOTED_PATTERN__n2ri42($this) {
|
|
1037
1037
|
// Inline function 'kotlin.getValue' call
|
|
1038
|
-
var this_0 = $this.
|
|
1038
|
+
var this_0 = $this.v3k_1;
|
|
1039
1039
|
OPTION_QUOTED_PATTERN$factory();
|
|
1040
1040
|
return this_0.r2();
|
|
1041
1041
|
}
|
|
1042
1042
|
function _get_OPTION_NUMBER_VARS_PATTERN__p98ste($this) {
|
|
1043
1043
|
// Inline function 'kotlin.getValue' call
|
|
1044
|
-
var this_0 = $this.
|
|
1044
|
+
var this_0 = $this.w3k_1;
|
|
1045
1045
|
OPTION_NUMBER_VARS_PATTERN$factory();
|
|
1046
1046
|
return this_0.r2();
|
|
1047
1047
|
}
|
|
1048
1048
|
function _get_OPTION_IGNORE_OPS_PATTERN__cpse4v($this) {
|
|
1049
1049
|
// Inline function 'kotlin.getValue' call
|
|
1050
|
-
var this_0 = $this.
|
|
1050
|
+
var this_0 = $this.x3k_1;
|
|
1051
1051
|
OPTION_IGNORE_OPS_PATTERN$factory();
|
|
1052
1052
|
return this_0.r2();
|
|
1053
1053
|
}
|
|
1054
1054
|
function _get_INFO_VARIABLES_PATTERN__bhp1h0($this) {
|
|
1055
1055
|
// Inline function 'kotlin.getValue' call
|
|
1056
|
-
var this_0 = $this.
|
|
1056
|
+
var this_0 = $this.y3k_1;
|
|
1057
1057
|
INFO_VARIABLES_PATTERN$factory();
|
|
1058
1058
|
return this_0.r2();
|
|
1059
1059
|
}
|
|
1060
1060
|
function _get_INFO_VARIABLE_NAMES_PATTERN__j3oaom($this) {
|
|
1061
1061
|
// Inline function 'kotlin.getValue' call
|
|
1062
|
-
var this_0 = $this.
|
|
1062
|
+
var this_0 = $this.z3k_1;
|
|
1063
1063
|
INFO_VARIABLE_NAMES_PATTERN$factory();
|
|
1064
1064
|
return this_0.r2();
|
|
1065
1065
|
}
|
|
1066
1066
|
function _get_INFO_SINGLETONS_PATTERN__y21s87($this) {
|
|
1067
1067
|
// Inline function 'kotlin.getValue' call
|
|
1068
|
-
var this_0 = $this.
|
|
1068
|
+
var this_0 = $this.a3l_1;
|
|
1069
1069
|
INFO_SINGLETONS_PATTERN$factory();
|
|
1070
1070
|
return this_0.r2();
|
|
1071
1071
|
}
|
|
@@ -1344,13 +1344,13 @@
|
|
|
1344
1344
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.r2();
|
|
1345
1345
|
}
|
|
1346
1346
|
function replyOpeningStream(_this__u8e3s4, $this, channel, third, alias) {
|
|
1347
|
-
var streamTerm = channel.
|
|
1348
|
-
var tmp = Companion_getInstance_1().
|
|
1347
|
+
var streamTerm = channel.j1z();
|
|
1348
|
+
var tmp = Companion_getInstance_1().w2g(_this__u8e3s4, third, streamTerm);
|
|
1349
1349
|
return _this__u8e3s4.replyWithBuildingSideEffects(tmp, VOID, IOPrimitiveUtils$replyOpeningStream$lambda(alias, channel));
|
|
1350
1350
|
}
|
|
1351
1351
|
function replyOpeningStream_0(_this__u8e3s4, $this, channel, third, alias) {
|
|
1352
|
-
var streamTerm = channel.
|
|
1353
|
-
var tmp = Companion_getInstance_1().
|
|
1352
|
+
var streamTerm = channel.j1z();
|
|
1353
|
+
var tmp = Companion_getInstance_1().w2g(_this__u8e3s4, third, streamTerm);
|
|
1354
1354
|
return _this__u8e3s4.replyWithBuildingSideEffects(tmp, VOID, IOPrimitiveUtils$replyOpeningStream$lambda_0(alias, channel));
|
|
1355
1355
|
}
|
|
1356
1356
|
function IOPrimitiveUtils$INPUT_STREAM_TERM_PATTERN$delegate$lambda() {
|
|
@@ -1429,18 +1429,18 @@
|
|
|
1429
1429
|
return map(sequenceOf([true, false]), it);
|
|
1430
1430
|
}
|
|
1431
1431
|
function IOPrimitiveUtils$propertiesOf$slambda($channel, $this_propertiesOf, resultContinuation) {
|
|
1432
|
-
this.
|
|
1433
|
-
this.
|
|
1432
|
+
this.k3m_1 = $channel;
|
|
1433
|
+
this.l3m_1 = $this_propertiesOf;
|
|
1434
1434
|
CoroutineImpl.call(this, resultContinuation);
|
|
1435
1435
|
}
|
|
1436
|
-
protoOf(IOPrimitiveUtils$propertiesOf$slambda).
|
|
1437
|
-
var tmp = this.
|
|
1436
|
+
protoOf(IOPrimitiveUtils$propertiesOf$slambda).o3m = function ($this$sequence, $completion) {
|
|
1437
|
+
var tmp = this.p3m($this$sequence, $completion);
|
|
1438
1438
|
tmp.pc_1 = Unit_instance;
|
|
1439
1439
|
tmp.qc_1 = null;
|
|
1440
1440
|
return tmp.yc();
|
|
1441
1441
|
};
|
|
1442
1442
|
protoOf(IOPrimitiveUtils$propertiesOf$slambda).ld = function (p1, $completion) {
|
|
1443
|
-
return this.
|
|
1443
|
+
return this.o3m(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
1444
1444
|
};
|
|
1445
1445
|
protoOf(IOPrimitiveUtils$propertiesOf$slambda).yc = function () {
|
|
1446
1446
|
var suspendResult = this.pc_1;
|
|
@@ -1450,20 +1450,20 @@
|
|
|
1450
1450
|
switch (tmp) {
|
|
1451
1451
|
case 0:
|
|
1452
1452
|
this.oc_1 = 7;
|
|
1453
|
-
this.
|
|
1454
|
-
var tmp_0 = this.
|
|
1453
|
+
this.n3m_1 = this.k3m_1;
|
|
1454
|
+
var tmp_0 = this.n3m_1;
|
|
1455
1455
|
if (isInterface(tmp_0, InputChannel)) {
|
|
1456
1456
|
this.nc_1 = 3;
|
|
1457
|
-
suspendResult = this.
|
|
1457
|
+
suspendResult = this.m3m_1.ef(_get_PROPERTY_INPUT__z2zr91(IOPrimitiveUtils_getInstance()), this);
|
|
1458
1458
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1459
1459
|
return suspendResult;
|
|
1460
1460
|
}
|
|
1461
1461
|
continue $sm;
|
|
1462
1462
|
} else {
|
|
1463
|
-
var tmp_1 = this.
|
|
1463
|
+
var tmp_1 = this.n3m_1;
|
|
1464
1464
|
if (isInterface(tmp_1, OutputChannel)) {
|
|
1465
1465
|
this.nc_1 = 1;
|
|
1466
|
-
suspendResult = this.
|
|
1466
|
+
suspendResult = this.m3m_1.ef(_get_PROPERTY_OUTPUT__1pem9m(IOPrimitiveUtils_getInstance()), this);
|
|
1467
1467
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1468
1468
|
return suspendResult;
|
|
1469
1469
|
}
|
|
@@ -1476,11 +1476,11 @@
|
|
|
1476
1476
|
|
|
1477
1477
|
case 1:
|
|
1478
1478
|
this.nc_1 = 2;
|
|
1479
|
-
var tmp_2 = this.
|
|
1480
|
-
var tmp_3 = this.
|
|
1479
|
+
var tmp_2 = this.l3m_1.context.h1v();
|
|
1480
|
+
var tmp_3 = this.k3m_1;
|
|
1481
1481
|
var tmp_4 = tmp_2.aliasesOf(isInterface(tmp_3, OutputChannel) ? tmp_3 : THROW_CCE());
|
|
1482
1482
|
var tmp_5 = filterNot(tmp_4, IOPrimitiveUtils$propertiesOf$slambda$lambda_0);
|
|
1483
|
-
suspendResult = this.
|
|
1483
|
+
suspendResult = this.m3m_1.hf(map(tmp_5, IOPrimitiveUtils$alias$ref_0(IOPrimitiveUtils_getInstance())), this);
|
|
1484
1484
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1485
1485
|
return suspendResult;
|
|
1486
1486
|
}
|
|
@@ -1491,11 +1491,11 @@
|
|
|
1491
1491
|
continue $sm;
|
|
1492
1492
|
case 3:
|
|
1493
1493
|
this.nc_1 = 4;
|
|
1494
|
-
var tmp_6 = this.
|
|
1495
|
-
var tmp_7 = this.
|
|
1494
|
+
var tmp_6 = this.l3m_1.context.g1v();
|
|
1495
|
+
var tmp_7 = this.k3m_1;
|
|
1496
1496
|
var tmp_8 = tmp_6.aliasesOf(isInterface(tmp_7, InputChannel) ? tmp_7 : THROW_CCE());
|
|
1497
1497
|
var tmp_9 = filterNot(tmp_8, IOPrimitiveUtils$propertiesOf$slambda$lambda);
|
|
1498
|
-
suspendResult = this.
|
|
1498
|
+
suspendResult = this.m3m_1.hf(map(tmp_9, IOPrimitiveUtils$alias$ref(IOPrimitiveUtils_getInstance())), this);
|
|
1499
1499
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1500
1500
|
return suspendResult;
|
|
1501
1501
|
}
|
|
@@ -1506,7 +1506,7 @@
|
|
|
1506
1506
|
continue $sm;
|
|
1507
1507
|
case 5:
|
|
1508
1508
|
this.nc_1 = 6;
|
|
1509
|
-
suspendResult = this.
|
|
1509
|
+
suspendResult = this.m3m_1.ef(_get_PROPERTY_TYPE_TEXT__9rpcwt(IOPrimitiveUtils_getInstance()), this);
|
|
1510
1510
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1511
1511
|
return suspendResult;
|
|
1512
1512
|
}
|
|
@@ -1528,15 +1528,15 @@
|
|
|
1528
1528
|
}
|
|
1529
1529
|
while (true);
|
|
1530
1530
|
};
|
|
1531
|
-
protoOf(IOPrimitiveUtils$propertiesOf$slambda).
|
|
1532
|
-
var i = new IOPrimitiveUtils$propertiesOf$slambda(this.
|
|
1533
|
-
i.
|
|
1531
|
+
protoOf(IOPrimitiveUtils$propertiesOf$slambda).p3m = function ($this$sequence, completion) {
|
|
1532
|
+
var i = new IOPrimitiveUtils$propertiesOf$slambda(this.k3m_1, this.l3m_1, completion);
|
|
1533
|
+
i.m3m_1 = $this$sequence;
|
|
1534
1534
|
return i;
|
|
1535
1535
|
};
|
|
1536
1536
|
function IOPrimitiveUtils$propertiesOf$slambda_0($channel, $this_propertiesOf, resultContinuation) {
|
|
1537
1537
|
var i = new IOPrimitiveUtils$propertiesOf$slambda($channel, $this_propertiesOf, resultContinuation);
|
|
1538
1538
|
var l = function ($this$sequence, $completion) {
|
|
1539
|
-
return i.
|
|
1539
|
+
return i.o3m($this$sequence, $completion);
|
|
1540
1540
|
};
|
|
1541
1541
|
l.$arity = 1;
|
|
1542
1542
|
return l;
|
|
@@ -1574,85 +1574,85 @@
|
|
|
1574
1574
|
}
|
|
1575
1575
|
function IOPrimitiveUtils$open$lambda($this_open) {
|
|
1576
1576
|
return function (it) {
|
|
1577
|
-
return IOPrimitiveUtils_getInstance().
|
|
1577
|
+
return IOPrimitiveUtils_getInstance().q3m($this_open, it);
|
|
1578
1578
|
};
|
|
1579
1579
|
}
|
|
1580
1580
|
function IOPrimitiveUtils$open$lambda_0($this_open) {
|
|
1581
1581
|
return function (it) {
|
|
1582
|
-
return IOPrimitiveUtils_getInstance().
|
|
1582
|
+
return IOPrimitiveUtils_getInstance().r3m($this_open, it);
|
|
1583
1583
|
};
|
|
1584
1584
|
}
|
|
1585
1585
|
function IOPrimitiveUtils$replyOpeningStream$lambda($alias, $channel) {
|
|
1586
1586
|
return function ($this$replyWith) {
|
|
1587
1587
|
var tmp0_elvis_lhs = $alias;
|
|
1588
|
-
$this$replyWith.
|
|
1588
|
+
$this$replyWith.y2m(tmp0_elvis_lhs == null ? 'output_channel' + $channel.j1z().get(1) : tmp0_elvis_lhs, $channel);
|
|
1589
1589
|
return Unit_instance;
|
|
1590
1590
|
};
|
|
1591
1591
|
}
|
|
1592
1592
|
function IOPrimitiveUtils$replyOpeningStream$lambda_0($alias, $channel) {
|
|
1593
1593
|
return function ($this$replyWith) {
|
|
1594
1594
|
var tmp0_elvis_lhs = $alias;
|
|
1595
|
-
$this$replyWith.
|
|
1595
|
+
$this$replyWith.v2m(tmp0_elvis_lhs == null ? 'input_channel' + $channel.j1z().get(1) : tmp0_elvis_lhs, $channel);
|
|
1596
1596
|
return Unit_instance;
|
|
1597
1597
|
};
|
|
1598
1598
|
}
|
|
1599
1599
|
function IOPrimitiveUtils() {
|
|
1600
1600
|
IOPrimitiveUtils_instance = this;
|
|
1601
1601
|
var tmp = this;
|
|
1602
|
-
tmp.
|
|
1602
|
+
tmp.k3k_1 = lazy(IOPrimitiveUtils$INPUT_STREAM_TERM_PATTERN$delegate$lambda);
|
|
1603
1603
|
var tmp_0 = this;
|
|
1604
|
-
tmp_0.
|
|
1604
|
+
tmp_0.l3k_1 = lazy(IOPrimitiveUtils$OUTPUT_STREAM_TERM_PATTERN$delegate$lambda);
|
|
1605
1605
|
var tmp_1 = this;
|
|
1606
|
-
tmp_1.
|
|
1606
|
+
tmp_1.m3k_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_PATTERN$delegate$lambda);
|
|
1607
1607
|
var tmp_2 = this;
|
|
1608
|
-
tmp_2.
|
|
1608
|
+
tmp_2.n3k_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_PATTERN$delegate$lambda);
|
|
1609
1609
|
var tmp_3 = this;
|
|
1610
|
-
tmp_3.
|
|
1610
|
+
tmp_3.o3k_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_PATTERN$delegate$lambda);
|
|
1611
1611
|
var tmp_4 = this;
|
|
1612
|
-
tmp_4.
|
|
1612
|
+
tmp_4.p3k_1 = lazy(IOPrimitiveUtils$PROPERTY_ALIAS_PATTERN$delegate$lambda);
|
|
1613
1613
|
var tmp_5 = this;
|
|
1614
|
-
tmp_5.
|
|
1614
|
+
tmp_5.q3k_1 = lazy(IOPrimitiveUtils$PROPERTY_INPUT$delegate$lambda);
|
|
1615
1615
|
var tmp_6 = this;
|
|
1616
|
-
tmp_6.
|
|
1616
|
+
tmp_6.r3k_1 = lazy(IOPrimitiveUtils$PROPERTY_OUTPUT$delegate$lambda);
|
|
1617
1617
|
var tmp_7 = this;
|
|
1618
|
-
tmp_7.
|
|
1618
|
+
tmp_7.s3k_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_TEXT$delegate$lambda);
|
|
1619
1619
|
var tmp_8 = this;
|
|
1620
|
-
tmp_8.
|
|
1620
|
+
tmp_8.t3k_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_FALSE$delegate$lambda);
|
|
1621
1621
|
var tmp_9 = this;
|
|
1622
|
-
tmp_9.
|
|
1622
|
+
tmp_9.u3k_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_EOF_CODE$delegate$lambda);
|
|
1623
1623
|
var tmp_10 = this;
|
|
1624
|
-
tmp_10.
|
|
1624
|
+
tmp_10.v3k_1 = lazy(IOPrimitiveUtils$OPTION_QUOTED_PATTERN$delegate$lambda);
|
|
1625
1625
|
var tmp_11 = this;
|
|
1626
|
-
tmp_11.
|
|
1626
|
+
tmp_11.w3k_1 = lazy(IOPrimitiveUtils$OPTION_NUMBER_VARS_PATTERN$delegate$lambda);
|
|
1627
1627
|
var tmp_12 = this;
|
|
1628
|
-
tmp_12.
|
|
1628
|
+
tmp_12.x3k_1 = lazy(IOPrimitiveUtils$OPTION_IGNORE_OPS_PATTERN$delegate$lambda);
|
|
1629
1629
|
var tmp_13 = this;
|
|
1630
|
-
tmp_13.
|
|
1630
|
+
tmp_13.y3k_1 = lazy(IOPrimitiveUtils$INFO_VARIABLES_PATTERN$delegate$lambda);
|
|
1631
1631
|
var tmp_14 = this;
|
|
1632
|
-
tmp_14.
|
|
1632
|
+
tmp_14.z3k_1 = lazy(IOPrimitiveUtils$INFO_VARIABLE_NAMES_PATTERN$delegate$lambda);
|
|
1633
1633
|
var tmp_15 = this;
|
|
1634
|
-
tmp_15.
|
|
1634
|
+
tmp_15.a3l_1 = lazy(IOPrimitiveUtils$INFO_SINGLETONS_PATTERN$delegate$lambda);
|
|
1635
1635
|
}
|
|
1636
|
-
protoOf(IOPrimitiveUtils).
|
|
1636
|
+
protoOf(IOPrimitiveUtils).s3m = function (_this__u8e3s4, channel) {
|
|
1637
1637
|
return sequence(IOPrimitiveUtils$propertiesOf$slambda_0(channel, _this__u8e3s4, null));
|
|
1638
1638
|
};
|
|
1639
|
-
protoOf(IOPrimitiveUtils).
|
|
1639
|
+
protoOf(IOPrimitiveUtils).b3l = function (_this__u8e3s4) {
|
|
1640
1640
|
// Inline function 'kotlin.let' call
|
|
1641
1641
|
// Inline function 'kotlin.contracts.contract' call
|
|
1642
1642
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.<get-currentInputChannel>.<anonymous>' call
|
|
1643
|
-
var it = _this__u8e3s4.context.
|
|
1643
|
+
var it = _this__u8e3s4.context.g1v();
|
|
1644
1644
|
var tmp0_elvis_lhs = it.fr();
|
|
1645
|
-
return tmp0_elvis_lhs == null ? it.
|
|
1645
|
+
return tmp0_elvis_lhs == null ? it.q1v() : tmp0_elvis_lhs;
|
|
1646
1646
|
};
|
|
1647
|
-
protoOf(IOPrimitiveUtils).
|
|
1647
|
+
protoOf(IOPrimitiveUtils).t3m = function (_this__u8e3s4) {
|
|
1648
1648
|
// Inline function 'kotlin.let' call
|
|
1649
1649
|
// Inline function 'kotlin.contracts.contract' call
|
|
1650
1650
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.<get-currentOutputChannel>.<anonymous>' call
|
|
1651
|
-
var it = _this__u8e3s4.context.
|
|
1651
|
+
var it = _this__u8e3s4.context.h1v();
|
|
1652
1652
|
var tmp0_elvis_lhs = it.fr();
|
|
1653
|
-
return tmp0_elvis_lhs == null ? it.
|
|
1653
|
+
return tmp0_elvis_lhs == null ? it.r1v() : tmp0_elvis_lhs;
|
|
1654
1654
|
};
|
|
1655
|
-
protoOf(IOPrimitiveUtils).
|
|
1655
|
+
protoOf(IOPrimitiveUtils).q3m = function (_this__u8e3s4, term) {
|
|
1656
1656
|
var tmp;
|
|
1657
1657
|
var tmp$ret$1;
|
|
1658
1658
|
$l$block: {
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
while (tmp0_iterator.s()) {
|
|
1662
1662
|
var element = tmp0_iterator.u();
|
|
1663
1663
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidProperty.<anonymous>' call
|
|
1664
|
-
if (Companion_getInstance_1().
|
|
1664
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, element, term)) {
|
|
1665
1665
|
tmp$ret$1 = true;
|
|
1666
1666
|
break $l$block;
|
|
1667
1667
|
}
|
|
@@ -1675,7 +1675,7 @@
|
|
|
1675
1675
|
}
|
|
1676
1676
|
return tmp;
|
|
1677
1677
|
};
|
|
1678
|
-
protoOf(IOPrimitiveUtils).
|
|
1678
|
+
protoOf(IOPrimitiveUtils).r3m = function (_this__u8e3s4, term) {
|
|
1679
1679
|
var tmp;
|
|
1680
1680
|
var tmp$ret$1;
|
|
1681
1681
|
$l$block: {
|
|
@@ -1684,7 +1684,7 @@
|
|
|
1684
1684
|
while (tmp0_iterator.s()) {
|
|
1685
1685
|
var element = tmp0_iterator.u();
|
|
1686
1686
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsSupportedProperty.<anonymous>' call
|
|
1687
|
-
if (Companion_getInstance_1().
|
|
1687
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, element, term)) {
|
|
1688
1688
|
tmp$ret$1 = true;
|
|
1689
1689
|
break $l$block;
|
|
1690
1690
|
}
|
|
@@ -1698,7 +1698,7 @@
|
|
|
1698
1698
|
}
|
|
1699
1699
|
return tmp;
|
|
1700
1700
|
};
|
|
1701
|
-
protoOf(IOPrimitiveUtils).
|
|
1701
|
+
protoOf(IOPrimitiveUtils).u3m = function (_this__u8e3s4, term) {
|
|
1702
1702
|
var tmp;
|
|
1703
1703
|
var tmp$ret$1;
|
|
1704
1704
|
$l$block: {
|
|
@@ -1707,7 +1707,7 @@
|
|
|
1707
1707
|
while (tmp0_iterator.s()) {
|
|
1708
1708
|
var element = tmp0_iterator.u();
|
|
1709
1709
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidOption.<anonymous>' call
|
|
1710
|
-
if (Companion_getInstance_1().
|
|
1710
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, element, term)) {
|
|
1711
1711
|
tmp$ret$1 = true;
|
|
1712
1712
|
break $l$block;
|
|
1713
1713
|
}
|
|
@@ -1721,7 +1721,7 @@
|
|
|
1721
1721
|
}
|
|
1722
1722
|
return tmp;
|
|
1723
1723
|
};
|
|
1724
|
-
protoOf(IOPrimitiveUtils).
|
|
1724
|
+
protoOf(IOPrimitiveUtils).v3m = function (_this__u8e3s4, term) {
|
|
1725
1725
|
var tmp;
|
|
1726
1726
|
var tmp$ret$1;
|
|
1727
1727
|
$l$block: {
|
|
@@ -1730,7 +1730,7 @@
|
|
|
1730
1730
|
while (tmp0_iterator.s()) {
|
|
1731
1731
|
var element = tmp0_iterator.u();
|
|
1732
1732
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidInfo.<anonymous>' call
|
|
1733
|
-
if (Companion_getInstance_1().
|
|
1733
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, element, term)) {
|
|
1734
1734
|
tmp$ret$1 = true;
|
|
1735
1735
|
break $l$block;
|
|
1736
1736
|
}
|
|
@@ -1744,56 +1744,56 @@
|
|
|
1744
1744
|
}
|
|
1745
1745
|
return tmp;
|
|
1746
1746
|
};
|
|
1747
|
-
protoOf(IOPrimitiveUtils).
|
|
1748
|
-
Companion_getInstance_1().
|
|
1747
|
+
protoOf(IOPrimitiveUtils).w3m = function (_this__u8e3s4, index) {
|
|
1748
|
+
Companion_getInstance_1().q2h(_this__u8e3s4, index);
|
|
1749
1749
|
var tmp = _this__u8e3s4.arguments.c1(index);
|
|
1750
1750
|
var list = isInterface(tmp, List) ? tmp : THROW_CCE();
|
|
1751
1751
|
var tmp0_iterator = list.uu().r();
|
|
1752
1752
|
while (tmp0_iterator.s()) {
|
|
1753
1753
|
var term = tmp0_iterator.u();
|
|
1754
|
-
this.
|
|
1754
|
+
this.u3m(_this__u8e3s4, term);
|
|
1755
1755
|
}
|
|
1756
1756
|
return _this__u8e3s4;
|
|
1757
1757
|
};
|
|
1758
|
-
protoOf(IOPrimitiveUtils).
|
|
1758
|
+
protoOf(IOPrimitiveUtils).x3m = function (_this__u8e3s4, index) {
|
|
1759
1759
|
var list = _this__u8e3s4.arguments.c1(index);
|
|
1760
1760
|
var tmp;
|
|
1761
1761
|
if (isInterface(list, Var)) {
|
|
1762
1762
|
tmp = null;
|
|
1763
1763
|
} else {
|
|
1764
|
-
Companion_getInstance_1().
|
|
1764
|
+
Companion_getInstance_1().q2h(_this__u8e3s4, index);
|
|
1765
1765
|
var listOfInfo = (isInterface(list, List) ? list : THROW_CCE()).toList();
|
|
1766
1766
|
var tmp0_iterator = listOfInfo.r();
|
|
1767
1767
|
while (tmp0_iterator.s()) {
|
|
1768
1768
|
var term = tmp0_iterator.u();
|
|
1769
|
-
this.
|
|
1769
|
+
this.v3m(_this__u8e3s4, term);
|
|
1770
1770
|
}
|
|
1771
1771
|
tmp = listOfInfo;
|
|
1772
1772
|
}
|
|
1773
1773
|
return tmp;
|
|
1774
1774
|
};
|
|
1775
|
-
protoOf(IOPrimitiveUtils).
|
|
1776
|
-
this.
|
|
1775
|
+
protoOf(IOPrimitiveUtils).y3m = function (_this__u8e3s4, index) {
|
|
1776
|
+
this.w3m(_this__u8e3s4, index);
|
|
1777
1777
|
var tmp = _this__u8e3s4.arguments.c1(index);
|
|
1778
1778
|
var optionList = (isInterface(tmp, List) ? tmp : THROW_CCE()).toList();
|
|
1779
1779
|
var tmp_0;
|
|
1780
|
-
if (getOption(optionList, this, _this__u8e3s4.context.
|
|
1780
|
+
if (getOption(optionList, this, _this__u8e3s4.context.f1l(), _get_OPTION_QUOTED_PATTERN__n2ri42(this))) {
|
|
1781
1781
|
tmp_0 = FuncFormat_QUOTED_IF_NECESSARY_getInstance();
|
|
1782
1782
|
} else {
|
|
1783
1783
|
tmp_0 = FuncFormat_LITERAL_getInstance();
|
|
1784
1784
|
}
|
|
1785
1785
|
var funcFormat = tmp_0;
|
|
1786
1786
|
var tmp_1;
|
|
1787
|
-
if (getOption(optionList, this, _this__u8e3s4.context.
|
|
1787
|
+
if (getOption(optionList, this, _this__u8e3s4.context.f1l(), _get_OPTION_IGNORE_OPS_PATTERN__cpse4v(this))) {
|
|
1788
1788
|
tmp_1 = OpFormat_IGNORE_OPERATORS_getInstance();
|
|
1789
1789
|
} else {
|
|
1790
1790
|
tmp_1 = OpFormat_EXPRESSIONS_getInstance();
|
|
1791
1791
|
}
|
|
1792
1792
|
var opFormat = tmp_1;
|
|
1793
|
-
var numberVars = getOption(optionList, this, _this__u8e3s4.context.
|
|
1794
|
-
return Companion_instance_6.m14(VarFormat_UNDERSCORE_getInstance(), opFormat, funcFormat, numberVars, _this__u8e3s4.context.
|
|
1793
|
+
var numberVars = getOption(optionList, this, _this__u8e3s4.context.f1l(), _get_OPTION_NUMBER_VARS_PATTERN__p98ste(this));
|
|
1794
|
+
return Companion_instance_6.m14(VarFormat_UNDERSCORE_getInstance(), opFormat, funcFormat, numberVars, _this__u8e3s4.context.l1v());
|
|
1795
1795
|
};
|
|
1796
|
-
protoOf(IOPrimitiveUtils).
|
|
1796
|
+
protoOf(IOPrimitiveUtils).z3m = function (_this__u8e3s4, index) {
|
|
1797
1797
|
var term = _this__u8e3s4.arguments.c1(index);
|
|
1798
1798
|
if (isInterface(term, Var))
|
|
1799
1799
|
return _this__u8e3s4;
|
|
@@ -1806,7 +1806,7 @@
|
|
|
1806
1806
|
while (tmp0_iterator.s()) {
|
|
1807
1807
|
var element = tmp0_iterator.u();
|
|
1808
1808
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensuringArgumentIsStreamProperty.<anonymous>' call
|
|
1809
|
-
if (Companion_getInstance_1().
|
|
1809
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, element, term)) {
|
|
1810
1810
|
tmp$ret$1 = true;
|
|
1811
1811
|
break $l$block;
|
|
1812
1812
|
}
|
|
@@ -1818,12 +1818,12 @@
|
|
|
1818
1818
|
}
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
|
-
throw Companion_instance_5.
|
|
1821
|
+
throw Companion_instance_5.m25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_PROPERTY_getInstance(), term, index);
|
|
1822
1822
|
};
|
|
1823
|
-
protoOf(IOPrimitiveUtils).
|
|
1824
|
-
Companion_getInstance_1().
|
|
1823
|
+
protoOf(IOPrimitiveUtils).a3n = function (_this__u8e3s4, index) {
|
|
1824
|
+
Companion_getInstance_1().c2h(_this__u8e3s4, index);
|
|
1825
1825
|
var term = _this__u8e3s4.arguments.c1(index);
|
|
1826
|
-
var error = Companion_instance_5.
|
|
1826
|
+
var error = Companion_instance_5.m25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_SOURCE_SINK_getInstance(), term, index);
|
|
1827
1827
|
if (!isInterface(term, Atom)) {
|
|
1828
1828
|
throw error;
|
|
1829
1829
|
}
|
|
@@ -1838,27 +1838,27 @@
|
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
};
|
|
1841
|
-
protoOf(IOPrimitiveUtils).
|
|
1842
|
-
Companion_getInstance_1().
|
|
1843
|
-
Companion_getInstance_1().
|
|
1841
|
+
protoOf(IOPrimitiveUtils).b3n = function (_this__u8e3s4, index) {
|
|
1842
|
+
Companion_getInstance_1().c2h(_this__u8e3s4, index);
|
|
1843
|
+
Companion_getInstance_1().l2h(_this__u8e3s4, index);
|
|
1844
1844
|
var tmp = _this__u8e3s4.arguments.c1(index);
|
|
1845
1845
|
var term = isInterface(tmp, Atom) ? tmp : THROW_CCE();
|
|
1846
|
-
if (!Companion_getInstance_7().
|
|
1847
|
-
throw Companion_instance_5.
|
|
1846
|
+
if (!Companion_getInstance_7().u3j_1.n(term)) {
|
|
1847
|
+
throw Companion_instance_5.m25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IO_MODE_getInstance(), term, index);
|
|
1848
1848
|
}
|
|
1849
1849
|
// Inline function 'kotlin.text.uppercase' call
|
|
1850
1850
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1851
1851
|
var tmp$ret$1 = term.r2().toUpperCase();
|
|
1852
1852
|
return valueOf(tmp$ret$1);
|
|
1853
1853
|
};
|
|
1854
|
-
protoOf(IOPrimitiveUtils).
|
|
1854
|
+
protoOf(IOPrimitiveUtils).o3l = function (_this__u8e3s4, index) {
|
|
1855
1855
|
var term = _this__u8e3s4.arguments.c1(index);
|
|
1856
1856
|
if (isInterface(term, Var))
|
|
1857
1857
|
return null;
|
|
1858
1858
|
else {
|
|
1859
1859
|
if (isInterface(term, Struct))
|
|
1860
|
-
if (Companion_getInstance_1().
|
|
1861
|
-
var tmp1_elvis_lhs = firstOrNull(_this__u8e3s4.context.
|
|
1860
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
|
|
1861
|
+
var tmp1_elvis_lhs = firstOrNull(_this__u8e3s4.context.h1v().findByTerm(term));
|
|
1862
1862
|
var tmp;
|
|
1863
1863
|
if (tmp1_elvis_lhs == null) {
|
|
1864
1864
|
throw Companion_instance_7.forStream(_this__u8e3s4.context, term);
|
|
@@ -1866,8 +1866,8 @@
|
|
|
1866
1866
|
tmp = tmp1_elvis_lhs;
|
|
1867
1867
|
}
|
|
1868
1868
|
return tmp;
|
|
1869
|
-
} else if (Companion_getInstance_1().
|
|
1870
|
-
var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.
|
|
1869
|
+
} else if (Companion_getInstance_1().x2g(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
|
|
1870
|
+
var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.g1v().findByTerm(term));
|
|
1871
1871
|
var tmp_0;
|
|
1872
1872
|
if (tmp2_elvis_lhs == null) {
|
|
1873
1873
|
throw Companion_instance_7.forStream(_this__u8e3s4.context, term);
|
|
@@ -1877,9 +1877,9 @@
|
|
|
1877
1877
|
return tmp_0;
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
|
-
throw Companion_instance_5.
|
|
1880
|
+
throw Companion_instance_5.m25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
|
|
1881
1881
|
};
|
|
1882
|
-
protoOf(IOPrimitiveUtils).
|
|
1882
|
+
protoOf(IOPrimitiveUtils).v3l = function (_this__u8e3s4, index) {
|
|
1883
1883
|
var arg = _this__u8e3s4.arguments.c1(index);
|
|
1884
1884
|
var tmp;
|
|
1885
1885
|
if (isInterface(arg, Var)) {
|
|
@@ -1892,28 +1892,28 @@
|
|
|
1892
1892
|
} else if (arg.r2().length === 1) {
|
|
1893
1893
|
tmp_0 = _this__u8e3s4;
|
|
1894
1894
|
} else {
|
|
1895
|
-
throw Companion_instance_0.
|
|
1895
|
+
throw Companion_instance_0.l28(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
|
|
1896
1896
|
}
|
|
1897
1897
|
tmp = tmp_0;
|
|
1898
1898
|
} else {
|
|
1899
|
-
throw Companion_instance_0.
|
|
1899
|
+
throw Companion_instance_0.l28(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
return tmp;
|
|
1903
1903
|
};
|
|
1904
|
-
protoOf(IOPrimitiveUtils).
|
|
1904
|
+
protoOf(IOPrimitiveUtils).z3l = function (_this__u8e3s4, index) {
|
|
1905
1905
|
var term = _this__u8e3s4.arguments.c1(index);
|
|
1906
1906
|
var tmp;
|
|
1907
1907
|
if (isInterface(term, Var)) {
|
|
1908
1908
|
tmp = _this__u8e3s4;
|
|
1909
1909
|
} else {
|
|
1910
1910
|
if (!isInterface(term, Integer)) {
|
|
1911
|
-
tmp = Companion_getInstance_1().
|
|
1911
|
+
tmp = Companion_getInstance_1().p2h(_this__u8e3s4, index);
|
|
1912
1912
|
} else {
|
|
1913
1913
|
if (term.equals(Companion_getInstance_6().f11_1)) {
|
|
1914
1914
|
tmp = _this__u8e3s4;
|
|
1915
1915
|
} else {
|
|
1916
|
-
if (Companion_getInstance_1().
|
|
1916
|
+
if (Companion_getInstance_1().t2h(term)) {
|
|
1917
1917
|
throw Companion_instance_8.of(_this__u8e3s4.context, _this__u8e3s4.signature, Limit_CHARACTER_CODE_getInstance());
|
|
1918
1918
|
} else {
|
|
1919
1919
|
tmp = _this__u8e3s4;
|
|
@@ -1923,9 +1923,9 @@
|
|
|
1923
1923
|
}
|
|
1924
1924
|
return tmp;
|
|
1925
1925
|
};
|
|
1926
|
-
protoOf(IOPrimitiveUtils).
|
|
1927
|
-
Companion_getInstance_1().
|
|
1928
|
-
Companion_getInstance_1().
|
|
1926
|
+
protoOf(IOPrimitiveUtils).h3l = function (_this__u8e3s4, index) {
|
|
1927
|
+
Companion_getInstance_1().c2h(_this__u8e3s4, index);
|
|
1928
|
+
Companion_getInstance_1().g2h(_this__u8e3s4, index);
|
|
1929
1929
|
var tmp = _this__u8e3s4.arguments.c1(index);
|
|
1930
1930
|
var term = isInterface(tmp, Struct) ? tmp : THROW_CCE();
|
|
1931
1931
|
var tmp_0;
|
|
@@ -1933,7 +1933,7 @@
|
|
|
1933
1933
|
var tmp$ret$3;
|
|
1934
1934
|
$l$block: {
|
|
1935
1935
|
// Inline function 'kotlin.sequences.firstOrNull' call
|
|
1936
|
-
var tmp0_iterator = sequenceOf([_this__u8e3s4.context.
|
|
1936
|
+
var tmp0_iterator = sequenceOf([_this__u8e3s4.context.g1v(), _this__u8e3s4.context.h1v()]).r();
|
|
1937
1937
|
while (tmp0_iterator.s()) {
|
|
1938
1938
|
var element = tmp0_iterator.u();
|
|
1939
1939
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensuringArgumentIsChannel.<anonymous>' call
|
|
@@ -1957,8 +1957,8 @@
|
|
|
1957
1957
|
}
|
|
1958
1958
|
tmp_0 = tmp_1;
|
|
1959
1959
|
} else {
|
|
1960
|
-
if (Companion_getInstance_1().
|
|
1961
|
-
var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.
|
|
1960
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
|
|
1961
|
+
var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.h1v().findByTerm(term));
|
|
1962
1962
|
var tmp_2;
|
|
1963
1963
|
if (tmp2_elvis_lhs == null) {
|
|
1964
1964
|
throw Companion_instance_7.forStream(_this__u8e3s4.context, term);
|
|
@@ -1967,8 +1967,8 @@
|
|
|
1967
1967
|
}
|
|
1968
1968
|
tmp_0 = tmp_2;
|
|
1969
1969
|
} else {
|
|
1970
|
-
if (Companion_getInstance_1().
|
|
1971
|
-
var tmp3_elvis_lhs = firstOrNull(_this__u8e3s4.context.
|
|
1970
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
|
|
1971
|
+
var tmp3_elvis_lhs = firstOrNull(_this__u8e3s4.context.g1v().findByTerm(term));
|
|
1972
1972
|
var tmp_3;
|
|
1973
1973
|
if (tmp3_elvis_lhs == null) {
|
|
1974
1974
|
throw Companion_instance_7.forStream(_this__u8e3s4.context, term);
|
|
@@ -1977,33 +1977,33 @@
|
|
|
1977
1977
|
}
|
|
1978
1978
|
tmp_0 = tmp_3;
|
|
1979
1979
|
} else {
|
|
1980
|
-
throw Companion_instance_5.
|
|
1980
|
+
throw Companion_instance_5.m25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
|
|
1981
1981
|
}
|
|
1982
1982
|
}
|
|
1983
1983
|
}
|
|
1984
1984
|
return tmp_0;
|
|
1985
1985
|
};
|
|
1986
|
-
protoOf(IOPrimitiveUtils).
|
|
1987
|
-
var channel = this.
|
|
1986
|
+
protoOf(IOPrimitiveUtils).e3l = function (_this__u8e3s4, index) {
|
|
1987
|
+
var channel = this.h3l(_this__u8e3s4, index);
|
|
1988
1988
|
var tmp;
|
|
1989
1989
|
if (isInterface(channel, InputChannel)) {
|
|
1990
1990
|
tmp = channel;
|
|
1991
1991
|
} else {
|
|
1992
|
-
throw Companion_instance_5.
|
|
1992
|
+
throw Companion_instance_5.m25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.c1(index), index);
|
|
1993
1993
|
}
|
|
1994
1994
|
return tmp;
|
|
1995
1995
|
};
|
|
1996
|
-
protoOf(IOPrimitiveUtils).
|
|
1997
|
-
var channel = this.
|
|
1996
|
+
protoOf(IOPrimitiveUtils).r3l = function (_this__u8e3s4, index) {
|
|
1997
|
+
var channel = this.h3l(_this__u8e3s4, index);
|
|
1998
1998
|
var tmp;
|
|
1999
1999
|
if (isInterface(channel, OutputChannel)) {
|
|
2000
2000
|
tmp = channel;
|
|
2001
2001
|
} else {
|
|
2002
|
-
throw Companion_instance_5.
|
|
2002
|
+
throw Companion_instance_5.m25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.c1(index), index);
|
|
2003
2003
|
}
|
|
2004
2004
|
return tmp;
|
|
2005
2005
|
};
|
|
2006
|
-
protoOf(IOPrimitiveUtils).
|
|
2006
|
+
protoOf(IOPrimitiveUtils).c3n = function (_this__u8e3s4, channel, term, formatter) {
|
|
2007
2007
|
var tmp;
|
|
2008
2008
|
try {
|
|
2009
2009
|
channel.write(format(term, formatter));
|
|
@@ -2020,7 +2020,7 @@
|
|
|
2020
2020
|
}
|
|
2021
2021
|
return tmp;
|
|
2022
2022
|
};
|
|
2023
|
-
protoOf(IOPrimitiveUtils).
|
|
2023
|
+
protoOf(IOPrimitiveUtils).d3n = function (_this__u8e3s4, channel, arg) {
|
|
2024
2024
|
var tmp;
|
|
2025
2025
|
try {
|
|
2026
2026
|
channel.write(toString(arg.y10().toChar()));
|
|
@@ -2037,7 +2037,7 @@
|
|
|
2037
2037
|
}
|
|
2038
2038
|
return tmp;
|
|
2039
2039
|
};
|
|
2040
|
-
protoOf(IOPrimitiveUtils).
|
|
2040
|
+
protoOf(IOPrimitiveUtils).e3n = function (_this__u8e3s4, channel, arg) {
|
|
2041
2041
|
var tmp;
|
|
2042
2042
|
try {
|
|
2043
2043
|
channel.write(arg.r2());
|
|
@@ -2054,7 +2054,7 @@
|
|
|
2054
2054
|
}
|
|
2055
2055
|
return tmp;
|
|
2056
2056
|
};
|
|
2057
|
-
protoOf(IOPrimitiveUtils).
|
|
2057
|
+
protoOf(IOPrimitiveUtils).f3n = function (_this__u8e3s4, channel, arg) {
|
|
2058
2058
|
var tmp;
|
|
2059
2059
|
try {
|
|
2060
2060
|
var tmp0_safe_receiver = channel.peek();
|
|
@@ -2069,7 +2069,7 @@
|
|
|
2069
2069
|
}
|
|
2070
2070
|
var tmp2_elvis_lhs = tmp_0;
|
|
2071
2071
|
var code = tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2072
|
-
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().
|
|
2072
|
+
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().w2g(_this__u8e3s4, arg, Companion_getInstance_6().ofInt(code)), VOID, []);
|
|
2073
2073
|
} catch ($p) {
|
|
2074
2074
|
var tmp_2;
|
|
2075
2075
|
if ($p instanceof IllegalStateException) {
|
|
@@ -2082,12 +2082,12 @@
|
|
|
2082
2082
|
}
|
|
2083
2083
|
return tmp;
|
|
2084
2084
|
};
|
|
2085
|
-
protoOf(IOPrimitiveUtils).
|
|
2085
|
+
protoOf(IOPrimitiveUtils).g3n = function (_this__u8e3s4, channel, arg) {
|
|
2086
2086
|
var tmp;
|
|
2087
2087
|
try {
|
|
2088
2088
|
var tmp0_elvis_lhs = channel.peek();
|
|
2089
2089
|
var char = tmp0_elvis_lhs == null ? 'end_of_file' : tmp0_elvis_lhs;
|
|
2090
|
-
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().
|
|
2090
|
+
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().w2g(_this__u8e3s4, arg, Companion_getInstance_0().of(char)), VOID, []);
|
|
2091
2091
|
} catch ($p) {
|
|
2092
2092
|
var tmp_0;
|
|
2093
2093
|
if ($p instanceof IllegalStateException) {
|
|
@@ -2100,7 +2100,7 @@
|
|
|
2100
2100
|
}
|
|
2101
2101
|
return tmp;
|
|
2102
2102
|
};
|
|
2103
|
-
protoOf(IOPrimitiveUtils).
|
|
2103
|
+
protoOf(IOPrimitiveUtils).a3m = function (_this__u8e3s4, channel, arg) {
|
|
2104
2104
|
var tmp;
|
|
2105
2105
|
try {
|
|
2106
2106
|
var tmp0_safe_receiver = channel.read();
|
|
@@ -2115,7 +2115,7 @@
|
|
|
2115
2115
|
}
|
|
2116
2116
|
var tmp2_elvis_lhs = tmp_0;
|
|
2117
2117
|
var code = tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2118
|
-
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().
|
|
2118
|
+
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().w2g(_this__u8e3s4, arg, Companion_getInstance_6().ofInt(code)), VOID, []);
|
|
2119
2119
|
} catch ($p) {
|
|
2120
2120
|
var tmp_2;
|
|
2121
2121
|
if ($p instanceof IllegalStateException) {
|
|
@@ -2128,12 +2128,12 @@
|
|
|
2128
2128
|
}
|
|
2129
2129
|
return tmp;
|
|
2130
2130
|
};
|
|
2131
|
-
protoOf(IOPrimitiveUtils).
|
|
2131
|
+
protoOf(IOPrimitiveUtils).w3l = function (_this__u8e3s4, channel, arg) {
|
|
2132
2132
|
var tmp;
|
|
2133
2133
|
try {
|
|
2134
2134
|
var tmp0_elvis_lhs = channel.read();
|
|
2135
2135
|
var char = tmp0_elvis_lhs == null ? 'end_of_file' : tmp0_elvis_lhs;
|
|
2136
|
-
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().
|
|
2136
|
+
tmp = _this__u8e3s4.replyWith(Companion_getInstance_1().w2g(_this__u8e3s4, arg, Companion_getInstance_0().of(char)), VOID, []);
|
|
2137
2137
|
} catch ($p) {
|
|
2138
2138
|
var tmp_0;
|
|
2139
2139
|
if ($p instanceof IllegalStateException) {
|
|
@@ -2146,17 +2146,17 @@
|
|
|
2146
2146
|
}
|
|
2147
2147
|
return tmp;
|
|
2148
2148
|
};
|
|
2149
|
-
protoOf(IOPrimitiveUtils).
|
|
2149
|
+
protoOf(IOPrimitiveUtils).h3n = function (_this__u8e3s4, channel, arg, lastIsInfoList) {
|
|
2150
2150
|
try {
|
|
2151
|
-
var termsChannel = asTermChannel(channel, _this__u8e3s4.context.
|
|
2151
|
+
var termsChannel = asTermChannel(channel, _this__u8e3s4.context.l1v());
|
|
2152
2152
|
var tmp;
|
|
2153
2153
|
if (lastIsInfoList) {
|
|
2154
|
-
tmp = this.
|
|
2154
|
+
tmp = this.x3m(_this__u8e3s4, get_lastIndex(_this__u8e3s4.arguments));
|
|
2155
2155
|
} else {
|
|
2156
2156
|
tmp = emptyList();
|
|
2157
2157
|
}
|
|
2158
2158
|
var infoList = tmp;
|
|
2159
|
-
if (!termsChannel.
|
|
2159
|
+
if (!termsChannel.n1z())
|
|
2160
2160
|
return _this__u8e3s4.replyFail(VOID, []);
|
|
2161
2161
|
var read = termsChannel.read();
|
|
2162
2162
|
var tmp_0;
|
|
@@ -2173,12 +2173,12 @@
|
|
|
2173
2173
|
// Inline function 'kotlin.let' call
|
|
2174
2174
|
// Inline function 'kotlin.contracts.contract' call
|
|
2175
2175
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.readTermAndReply.<anonymous>' call
|
|
2176
|
-
var u = _this__u8e3s4.context.
|
|
2176
|
+
var u = _this__u8e3s4.context.f1l();
|
|
2177
2177
|
tmp_1 = getInfo(infoList, IOPrimitiveUtils_getInstance(), u, _get_INFO_SINGLETONS_PATTERN__y21s87(IOPrimitiveUtils_getInstance()), singletons_0).plus(getInfo(infoList, IOPrimitiveUtils_getInstance(), u, _get_INFO_VARIABLES_PATTERN__bhp1h0(IOPrimitiveUtils_getInstance()), variables_0)).plus(getInfo(infoList, IOPrimitiveUtils_getInstance(), u, _get_INFO_VARIABLE_NAMES_PATTERN__j3oaom(IOPrimitiveUtils_getInstance()), variableNames_0));
|
|
2178
2178
|
}
|
|
2179
2179
|
var tmp1_elvis_lhs = tmp_1;
|
|
2180
|
-
var info = tmp1_elvis_lhs == null ? Companion_getInstance_1().
|
|
2181
|
-
tmp_0 = _this__u8e3s4.replyWith(Companion_getInstance_1().
|
|
2180
|
+
var info = tmp1_elvis_lhs == null ? Companion_getInstance_1().w2g(_this__u8e3s4, last(_this__u8e3s4.arguments), Companion_instance_2.of([variables_0, variableNames_0, singletons_0])) : tmp1_elvis_lhs;
|
|
2181
|
+
tmp_0 = _this__u8e3s4.replyWith(Companion_getInstance_1().w2g(_this__u8e3s4, arg, read).plus(info), VOID, []);
|
|
2182
2182
|
}
|
|
2183
2183
|
return tmp_0;
|
|
2184
2184
|
} catch ($p) {
|
|
@@ -2189,7 +2189,7 @@
|
|
|
2189
2189
|
if ($p instanceof ParseException) {
|
|
2190
2190
|
var e_0 = $p;
|
|
2191
2191
|
var tmp_2 = Companion_instance_9;
|
|
2192
|
-
var tmp_3 = channel.
|
|
2192
|
+
var tmp_3 = channel.j1z().toString();
|
|
2193
2193
|
var tmp_4 = e_0.line;
|
|
2194
2194
|
var tmp_5 = e_0.column;
|
|
2195
2195
|
var tmp2_elvis_lhs = e_0.message;
|
|
@@ -2200,17 +2200,17 @@
|
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
2202
2202
|
};
|
|
2203
|
-
protoOf(IOPrimitiveUtils).
|
|
2203
|
+
protoOf(IOPrimitiveUtils).i3n = function (_this__u8e3s4, channel, arg, lastIsInfoList, $super) {
|
|
2204
2204
|
lastIsInfoList = lastIsInfoList === VOID ? false : lastIsInfoList;
|
|
2205
|
-
return $super === VOID ? this.
|
|
2205
|
+
return $super === VOID ? this.h3n(_this__u8e3s4, channel, arg, lastIsInfoList) : $super.h3n.call(this, _this__u8e3s4, channel, arg, lastIsInfoList);
|
|
2206
2206
|
};
|
|
2207
|
-
protoOf(IOPrimitiveUtils).
|
|
2208
|
-
var url = this.
|
|
2209
|
-
var mode = this.
|
|
2210
|
-
Companion_getInstance_1().
|
|
2207
|
+
protoOf(IOPrimitiveUtils).j3n = function (_this__u8e3s4, third) {
|
|
2208
|
+
var url = this.a3n(_this__u8e3s4, 0);
|
|
2209
|
+
var mode = this.b3n(_this__u8e3s4, 1);
|
|
2210
|
+
Companion_getInstance_1().j2h(_this__u8e3s4, 2);
|
|
2211
2211
|
var tmp;
|
|
2212
2212
|
if (_this__u8e3s4.arguments.l() >= 4) {
|
|
2213
|
-
Companion_getInstance_1().
|
|
2213
|
+
Companion_getInstance_1().q2h(_this__u8e3s4, 3);
|
|
2214
2214
|
var tmp_0 = _this__u8e3s4.arguments.c1(3);
|
|
2215
2215
|
var tmp_1 = (isInterface(tmp_0, List) ? tmp_0 : THROW_CCE()).uu();
|
|
2216
2216
|
var tmp_2 = map(tmp_1, IOPrimitiveUtils$open$lambda(_this__u8e3s4));
|
|
@@ -2226,7 +2226,7 @@
|
|
|
2226
2226
|
while (tmp0_iterator.s()) {
|
|
2227
2227
|
var element = tmp0_iterator.u();
|
|
2228
2228
|
// Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.open.<anonymous>' call
|
|
2229
|
-
if (Companion_getInstance_1().
|
|
2229
|
+
if (Companion_getInstance_1().x2g(_this__u8e3s4, element, _get_PROPERTY_ALIAS_PATTERN__wipd2s(IOPrimitiveUtils_getInstance()))) {
|
|
2230
2230
|
tmp$ret$1 = element;
|
|
2231
2231
|
break $l$block;
|
|
2232
2232
|
}
|
|
@@ -2347,8 +2347,8 @@
|
|
|
2347
2347
|
Nl1_instance = this;
|
|
2348
2348
|
NonBacktrackable_0.call(this, 'nl');
|
|
2349
2349
|
}
|
|
2350
|
-
protoOf(Nl1).
|
|
2351
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2350
|
+
protoOf(Nl1).w2o = function (_this__u8e3s4, first) {
|
|
2351
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2352
2352
|
var tmp;
|
|
2353
2353
|
try {
|
|
2354
2354
|
channel.write('\n');
|
|
@@ -2365,8 +2365,8 @@
|
|
|
2365
2365
|
}
|
|
2366
2366
|
return tmp;
|
|
2367
2367
|
};
|
|
2368
|
-
protoOf(Nl1).
|
|
2369
|
-
return this.
|
|
2368
|
+
protoOf(Nl1).q2j = function (_this__u8e3s4, first) {
|
|
2369
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2370
2370
|
};
|
|
2371
2371
|
var Nl1_instance;
|
|
2372
2372
|
function Nl1_getInstance() {
|
|
@@ -2378,11 +2378,11 @@
|
|
|
2378
2378
|
Open3_instance = this;
|
|
2379
2379
|
NonBacktrackable_1.call(this, 'open');
|
|
2380
2380
|
}
|
|
2381
|
-
protoOf(Open3).
|
|
2382
|
-
return IOPrimitiveUtils_getInstance().
|
|
2381
|
+
protoOf(Open3).p2r = function (_this__u8e3s4, first, second, third) {
|
|
2382
|
+
return IOPrimitiveUtils_getInstance().j3n(_this__u8e3s4, third);
|
|
2383
2383
|
};
|
|
2384
|
-
protoOf(Open3).
|
|
2385
|
-
return this.
|
|
2384
|
+
protoOf(Open3).h2j = function (_this__u8e3s4, first, second, third) {
|
|
2385
|
+
return this.p2r(_this__u8e3s4, first, second, third);
|
|
2386
2386
|
};
|
|
2387
2387
|
var Open3_instance;
|
|
2388
2388
|
function Open3_getInstance() {
|
|
@@ -2394,11 +2394,11 @@
|
|
|
2394
2394
|
Open4_instance = this;
|
|
2395
2395
|
NonBacktrackable_2.call(this, 'open');
|
|
2396
2396
|
}
|
|
2397
|
-
protoOf(Open4).
|
|
2398
|
-
return IOPrimitiveUtils_getInstance().
|
|
2397
|
+
protoOf(Open4).n3n = function (_this__u8e3s4, first, second, third, fourth) {
|
|
2398
|
+
return IOPrimitiveUtils_getInstance().j3n(_this__u8e3s4, third);
|
|
2399
2399
|
};
|
|
2400
|
-
protoOf(Open4).
|
|
2401
|
-
return this.
|
|
2400
|
+
protoOf(Open4).c2i = function (_this__u8e3s4, first, second, third, fourth) {
|
|
2401
|
+
return this.n3n(_this__u8e3s4, first, second, third, fourth);
|
|
2402
2402
|
};
|
|
2403
2403
|
var Open4_instance;
|
|
2404
2404
|
function Open4_getInstance() {
|
|
@@ -2410,11 +2410,11 @@
|
|
|
2410
2410
|
PeekByte1_instance = this;
|
|
2411
2411
|
NonBacktrackable_0.call(this, 'peek_byte');
|
|
2412
2412
|
}
|
|
2413
|
-
protoOf(PeekByte1).
|
|
2414
|
-
return Companion_getInstance_1().
|
|
2413
|
+
protoOf(PeekByte1).w2o = function (_this__u8e3s4, first) {
|
|
2414
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
2415
2415
|
};
|
|
2416
|
-
protoOf(PeekByte1).
|
|
2417
|
-
return this.
|
|
2416
|
+
protoOf(PeekByte1).q2j = function (_this__u8e3s4, first) {
|
|
2417
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2418
2418
|
};
|
|
2419
2419
|
var PeekByte1_instance;
|
|
2420
2420
|
function PeekByte1_getInstance() {
|
|
@@ -2426,11 +2426,11 @@
|
|
|
2426
2426
|
PeekByte2_instance = this;
|
|
2427
2427
|
NonBacktrackable.call(this, 'peek_byte');
|
|
2428
2428
|
}
|
|
2429
|
-
protoOf(PeekByte2).
|
|
2430
|
-
return Companion_getInstance_1().
|
|
2429
|
+
protoOf(PeekByte2).n2p = function (_this__u8e3s4, first, second) {
|
|
2430
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
2431
2431
|
};
|
|
2432
|
-
protoOf(PeekByte2).
|
|
2433
|
-
return this.
|
|
2432
|
+
protoOf(PeekByte2).y2f = function (_this__u8e3s4, first, second) {
|
|
2433
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2434
2434
|
};
|
|
2435
2435
|
var PeekByte2_instance;
|
|
2436
2436
|
function PeekByte2_getInstance() {
|
|
@@ -2442,12 +2442,12 @@
|
|
|
2442
2442
|
PeekChar1_instance = this;
|
|
2443
2443
|
NonBacktrackable_0.call(this, 'peek_char');
|
|
2444
2444
|
}
|
|
2445
|
-
protoOf(PeekChar1).
|
|
2446
|
-
IOPrimitiveUtils_getInstance().
|
|
2447
|
-
return IOPrimitiveUtils_getInstance().
|
|
2445
|
+
protoOf(PeekChar1).w2o = function (_this__u8e3s4, first) {
|
|
2446
|
+
IOPrimitiveUtils_getInstance().v3l(_this__u8e3s4, 0);
|
|
2447
|
+
return IOPrimitiveUtils_getInstance().g3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().b3l(_this__u8e3s4), first);
|
|
2448
2448
|
};
|
|
2449
|
-
protoOf(PeekChar1).
|
|
2450
|
-
return this.
|
|
2449
|
+
protoOf(PeekChar1).q2j = function (_this__u8e3s4, first) {
|
|
2450
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2451
2451
|
};
|
|
2452
2452
|
var PeekChar1_instance;
|
|
2453
2453
|
function PeekChar1_getInstance() {
|
|
@@ -2459,13 +2459,13 @@
|
|
|
2459
2459
|
PeekChar2_instance = this;
|
|
2460
2460
|
NonBacktrackable.call(this, 'peek_char');
|
|
2461
2461
|
}
|
|
2462
|
-
protoOf(PeekChar2).
|
|
2463
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2464
|
-
IOPrimitiveUtils_getInstance().
|
|
2465
|
-
return IOPrimitiveUtils_getInstance().
|
|
2462
|
+
protoOf(PeekChar2).n2p = function (_this__u8e3s4, first, second) {
|
|
2463
|
+
var channel = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
2464
|
+
IOPrimitiveUtils_getInstance().v3l(_this__u8e3s4, 1);
|
|
2465
|
+
return IOPrimitiveUtils_getInstance().g3n(_this__u8e3s4, channel, second);
|
|
2466
2466
|
};
|
|
2467
|
-
protoOf(PeekChar2).
|
|
2468
|
-
return this.
|
|
2467
|
+
protoOf(PeekChar2).y2f = function (_this__u8e3s4, first, second) {
|
|
2468
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2469
2469
|
};
|
|
2470
2470
|
var PeekChar2_instance;
|
|
2471
2471
|
function PeekChar2_getInstance() {
|
|
@@ -2477,12 +2477,12 @@
|
|
|
2477
2477
|
PeekCode1_instance = this;
|
|
2478
2478
|
NonBacktrackable_0.call(this, 'peek_code');
|
|
2479
2479
|
}
|
|
2480
|
-
protoOf(PeekCode1).
|
|
2481
|
-
IOPrimitiveUtils_getInstance().
|
|
2482
|
-
return IOPrimitiveUtils_getInstance().
|
|
2480
|
+
protoOf(PeekCode1).w2o = function (_this__u8e3s4, first) {
|
|
2481
|
+
IOPrimitiveUtils_getInstance().z3l(_this__u8e3s4, 0);
|
|
2482
|
+
return IOPrimitiveUtils_getInstance().f3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().b3l(_this__u8e3s4), first);
|
|
2483
2483
|
};
|
|
2484
|
-
protoOf(PeekCode1).
|
|
2485
|
-
return this.
|
|
2484
|
+
protoOf(PeekCode1).q2j = function (_this__u8e3s4, first) {
|
|
2485
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2486
2486
|
};
|
|
2487
2487
|
var PeekCode1_instance;
|
|
2488
2488
|
function PeekCode1_getInstance() {
|
|
@@ -2494,13 +2494,13 @@
|
|
|
2494
2494
|
PeekCode2_instance = this;
|
|
2495
2495
|
NonBacktrackable.call(this, 'peek_code');
|
|
2496
2496
|
}
|
|
2497
|
-
protoOf(PeekCode2).
|
|
2498
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2499
|
-
IOPrimitiveUtils_getInstance().
|
|
2500
|
-
return IOPrimitiveUtils_getInstance().
|
|
2497
|
+
protoOf(PeekCode2).n2p = function (_this__u8e3s4, first, second) {
|
|
2498
|
+
var channel = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
2499
|
+
IOPrimitiveUtils_getInstance().z3l(_this__u8e3s4, 0);
|
|
2500
|
+
return IOPrimitiveUtils_getInstance().f3n(_this__u8e3s4, channel, first);
|
|
2501
2501
|
};
|
|
2502
|
-
protoOf(PeekCode2).
|
|
2503
|
-
return this.
|
|
2502
|
+
protoOf(PeekCode2).y2f = function (_this__u8e3s4, first, second) {
|
|
2503
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2504
2504
|
};
|
|
2505
2505
|
var PeekCode2_instance;
|
|
2506
2506
|
function PeekCode2_getInstance() {
|
|
@@ -2512,11 +2512,11 @@
|
|
|
2512
2512
|
PutByte1_instance = this;
|
|
2513
2513
|
NonBacktrackable_0.call(this, 'put_byte');
|
|
2514
2514
|
}
|
|
2515
|
-
protoOf(PutByte1).
|
|
2516
|
-
return Companion_getInstance_1().
|
|
2515
|
+
protoOf(PutByte1).w2o = function (_this__u8e3s4, first) {
|
|
2516
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
2517
2517
|
};
|
|
2518
|
-
protoOf(PutByte1).
|
|
2519
|
-
return this.
|
|
2518
|
+
protoOf(PutByte1).q2j = function (_this__u8e3s4, first) {
|
|
2519
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2520
2520
|
};
|
|
2521
2521
|
var PutByte1_instance;
|
|
2522
2522
|
function PutByte1_getInstance() {
|
|
@@ -2528,11 +2528,11 @@
|
|
|
2528
2528
|
PutByte2_instance = this;
|
|
2529
2529
|
NonBacktrackable.call(this, 'put_byte');
|
|
2530
2530
|
}
|
|
2531
|
-
protoOf(PutByte2).
|
|
2532
|
-
return Companion_getInstance_1().
|
|
2531
|
+
protoOf(PutByte2).n2p = function (_this__u8e3s4, first, second) {
|
|
2532
|
+
return Companion_getInstance_1().e2h(_this__u8e3s4);
|
|
2533
2533
|
};
|
|
2534
|
-
protoOf(PutByte2).
|
|
2535
|
-
return this.
|
|
2534
|
+
protoOf(PutByte2).y2f = function (_this__u8e3s4, first, second) {
|
|
2535
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2536
2536
|
};
|
|
2537
2537
|
var PutByte2_instance;
|
|
2538
2538
|
function PutByte2_getInstance() {
|
|
@@ -2544,14 +2544,14 @@
|
|
|
2544
2544
|
PutChar1_instance = this;
|
|
2545
2545
|
NonBacktrackable_0.call(this, 'put_char');
|
|
2546
2546
|
}
|
|
2547
|
-
protoOf(PutChar1).
|
|
2548
|
-
Companion_getInstance_1().
|
|
2547
|
+
protoOf(PutChar1).w2o = function (_this__u8e3s4, first) {
|
|
2548
|
+
Companion_getInstance_1().n2h(_this__u8e3s4, 0);
|
|
2549
2549
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2550
|
-
var tmp_0 = IOPrimitiveUtils_getInstance().
|
|
2551
|
-
return tmp.
|
|
2550
|
+
var tmp_0 = IOPrimitiveUtils_getInstance().t3m(_this__u8e3s4);
|
|
2551
|
+
return tmp.e3n(_this__u8e3s4, tmp_0, isInterface(first, Atom) ? first : THROW_CCE());
|
|
2552
2552
|
};
|
|
2553
|
-
protoOf(PutChar1).
|
|
2554
|
-
return this.
|
|
2553
|
+
protoOf(PutChar1).q2j = function (_this__u8e3s4, first) {
|
|
2554
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2555
2555
|
};
|
|
2556
2556
|
var PutChar1_instance;
|
|
2557
2557
|
function PutChar1_getInstance() {
|
|
@@ -2563,14 +2563,14 @@
|
|
|
2563
2563
|
PutChar2_instance = this;
|
|
2564
2564
|
NonBacktrackable.call(this, 'put_char');
|
|
2565
2565
|
}
|
|
2566
|
-
protoOf(PutChar2).
|
|
2567
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2568
|
-
Companion_getInstance_1().
|
|
2566
|
+
protoOf(PutChar2).n2p = function (_this__u8e3s4, first, second) {
|
|
2567
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2568
|
+
Companion_getInstance_1().n2h(_this__u8e3s4, 1);
|
|
2569
2569
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2570
|
-
return tmp.
|
|
2570
|
+
return tmp.e3n(_this__u8e3s4, channel, isInterface(first, Atom) ? first : THROW_CCE());
|
|
2571
2571
|
};
|
|
2572
|
-
protoOf(PutChar2).
|
|
2573
|
-
return this.
|
|
2572
|
+
protoOf(PutChar2).y2f = function (_this__u8e3s4, first, second) {
|
|
2573
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2574
2574
|
};
|
|
2575
2575
|
var PutChar2_instance;
|
|
2576
2576
|
function PutChar2_getInstance() {
|
|
@@ -2582,14 +2582,14 @@
|
|
|
2582
2582
|
PutCode1_instance = this;
|
|
2583
2583
|
NonBacktrackable_0.call(this, 'put_code');
|
|
2584
2584
|
}
|
|
2585
|
-
protoOf(PutCode1).
|
|
2586
|
-
Companion_getInstance_1().
|
|
2585
|
+
protoOf(PutCode1).w2o = function (_this__u8e3s4, first) {
|
|
2586
|
+
Companion_getInstance_1().w2h(_this__u8e3s4, 0);
|
|
2587
2587
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2588
|
-
var tmp_0 = IOPrimitiveUtils_getInstance().
|
|
2589
|
-
return tmp.
|
|
2588
|
+
var tmp_0 = IOPrimitiveUtils_getInstance().t3m(_this__u8e3s4);
|
|
2589
|
+
return tmp.d3n(_this__u8e3s4, tmp_0, isInterface(first, Integer) ? first : THROW_CCE());
|
|
2590
2590
|
};
|
|
2591
|
-
protoOf(PutCode1).
|
|
2592
|
-
return this.
|
|
2591
|
+
protoOf(PutCode1).q2j = function (_this__u8e3s4, first) {
|
|
2592
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2593
2593
|
};
|
|
2594
2594
|
var PutCode1_instance;
|
|
2595
2595
|
function PutCode1_getInstance() {
|
|
@@ -2601,14 +2601,14 @@
|
|
|
2601
2601
|
PutCode2_instance = this;
|
|
2602
2602
|
NonBacktrackable.call(this, 'put_code');
|
|
2603
2603
|
}
|
|
2604
|
-
protoOf(PutCode2).
|
|
2605
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2606
|
-
Companion_getInstance_1().
|
|
2604
|
+
protoOf(PutCode2).n2p = function (_this__u8e3s4, first, second) {
|
|
2605
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2606
|
+
Companion_getInstance_1().w2h(_this__u8e3s4, 1);
|
|
2607
2607
|
var tmp = IOPrimitiveUtils_getInstance();
|
|
2608
|
-
return tmp.
|
|
2608
|
+
return tmp.d3n(_this__u8e3s4, channel, isInterface(first, Integer) ? first : THROW_CCE());
|
|
2609
2609
|
};
|
|
2610
|
-
protoOf(PutCode2).
|
|
2611
|
-
return this.
|
|
2610
|
+
protoOf(PutCode2).y2f = function (_this__u8e3s4, first, second) {
|
|
2611
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2612
2612
|
};
|
|
2613
2613
|
var PutCode2_instance;
|
|
2614
2614
|
function PutCode2_getInstance() {
|
|
@@ -2620,11 +2620,11 @@
|
|
|
2620
2620
|
Read1_instance = this;
|
|
2621
2621
|
NonBacktrackable_0.call(this, 'read');
|
|
2622
2622
|
}
|
|
2623
|
-
protoOf(Read1).
|
|
2624
|
-
return IOPrimitiveUtils_getInstance().
|
|
2623
|
+
protoOf(Read1).w2o = function (_this__u8e3s4, first) {
|
|
2624
|
+
return IOPrimitiveUtils_getInstance().i3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().b3l(_this__u8e3s4), first);
|
|
2625
2625
|
};
|
|
2626
|
-
protoOf(Read1).
|
|
2627
|
-
return this.
|
|
2626
|
+
protoOf(Read1).q2j = function (_this__u8e3s4, first) {
|
|
2627
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2628
2628
|
};
|
|
2629
2629
|
var Read1_instance;
|
|
2630
2630
|
function Read1_getInstance() {
|
|
@@ -2636,12 +2636,12 @@
|
|
|
2636
2636
|
Read2_instance = this;
|
|
2637
2637
|
NonBacktrackable.call(this, 'read');
|
|
2638
2638
|
}
|
|
2639
|
-
protoOf(Read2).
|
|
2640
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2641
|
-
return IOPrimitiveUtils_getInstance().
|
|
2639
|
+
protoOf(Read2).n2p = function (_this__u8e3s4, first, second) {
|
|
2640
|
+
var channel = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
2641
|
+
return IOPrimitiveUtils_getInstance().i3n(_this__u8e3s4, channel, second);
|
|
2642
2642
|
};
|
|
2643
|
-
protoOf(Read2).
|
|
2644
|
-
return this.
|
|
2643
|
+
protoOf(Read2).y2f = function (_this__u8e3s4, first, second) {
|
|
2644
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2645
2645
|
};
|
|
2646
2646
|
var Read2_instance;
|
|
2647
2647
|
function Read2_getInstance() {
|
|
@@ -2653,11 +2653,11 @@
|
|
|
2653
2653
|
ReadTerm2_instance = this;
|
|
2654
2654
|
NonBacktrackable.call(this, 'read_term');
|
|
2655
2655
|
}
|
|
2656
|
-
protoOf(ReadTerm2).
|
|
2657
|
-
return IOPrimitiveUtils_getInstance().
|
|
2656
|
+
protoOf(ReadTerm2).n2p = function (_this__u8e3s4, first, second) {
|
|
2657
|
+
return IOPrimitiveUtils_getInstance().h3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().b3l(_this__u8e3s4), first, true);
|
|
2658
2658
|
};
|
|
2659
|
-
protoOf(ReadTerm2).
|
|
2660
|
-
return this.
|
|
2659
|
+
protoOf(ReadTerm2).y2f = function (_this__u8e3s4, first, second) {
|
|
2660
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2661
2661
|
};
|
|
2662
2662
|
var ReadTerm2_instance;
|
|
2663
2663
|
function ReadTerm2_getInstance() {
|
|
@@ -2669,12 +2669,12 @@
|
|
|
2669
2669
|
ReadTerm3_instance = this;
|
|
2670
2670
|
NonBacktrackable_1.call(this, 'read_term');
|
|
2671
2671
|
}
|
|
2672
|
-
protoOf(ReadTerm3).
|
|
2673
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2674
|
-
return IOPrimitiveUtils_getInstance().
|
|
2672
|
+
protoOf(ReadTerm3).p2r = function (_this__u8e3s4, first, second, third) {
|
|
2673
|
+
var channel = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
2674
|
+
return IOPrimitiveUtils_getInstance().h3n(_this__u8e3s4, channel, second, true);
|
|
2675
2675
|
};
|
|
2676
|
-
protoOf(ReadTerm3).
|
|
2677
|
-
return this.
|
|
2676
|
+
protoOf(ReadTerm3).h2j = function (_this__u8e3s4, first, second, third) {
|
|
2677
|
+
return this.p2r(_this__u8e3s4, first, second, third);
|
|
2678
2678
|
};
|
|
2679
2679
|
var ReadTerm3_instance;
|
|
2680
2680
|
function ReadTerm3_getInstance() {
|
|
@@ -2684,7 +2684,7 @@
|
|
|
2684
2684
|
}
|
|
2685
2685
|
function SetInput$computeOne$lambda($this_computeOne, $channel) {
|
|
2686
2686
|
return function ($this$replySuccess) {
|
|
2687
|
-
$this$replySuccess.
|
|
2687
|
+
$this$replySuccess.w2m($this_computeOne.context.g1v().setCurrentChannel($channel));
|
|
2688
2688
|
return Unit_instance;
|
|
2689
2689
|
};
|
|
2690
2690
|
}
|
|
@@ -2692,12 +2692,12 @@
|
|
|
2692
2692
|
SetInput_instance = this;
|
|
2693
2693
|
NonBacktrackable_0.call(this, 'set_input');
|
|
2694
2694
|
}
|
|
2695
|
-
protoOf(SetInput).
|
|
2696
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2695
|
+
protoOf(SetInput).w2o = function (_this__u8e3s4, first) {
|
|
2696
|
+
var channel = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 0);
|
|
2697
2697
|
return _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, SetInput$computeOne$lambda(_this__u8e3s4, channel));
|
|
2698
2698
|
};
|
|
2699
|
-
protoOf(SetInput).
|
|
2700
|
-
return this.
|
|
2699
|
+
protoOf(SetInput).q2j = function (_this__u8e3s4, first) {
|
|
2700
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2701
2701
|
};
|
|
2702
2702
|
var SetInput_instance;
|
|
2703
2703
|
function SetInput_getInstance() {
|
|
@@ -2707,7 +2707,7 @@
|
|
|
2707
2707
|
}
|
|
2708
2708
|
function SetOutput$computeOne$lambda($this_computeOne, $channel) {
|
|
2709
2709
|
return function ($this$replySuccess) {
|
|
2710
|
-
$this$replySuccess.
|
|
2710
|
+
$this$replySuccess.z2m($this_computeOne.context.h1v().setCurrentChannel($channel));
|
|
2711
2711
|
return Unit_instance;
|
|
2712
2712
|
};
|
|
2713
2713
|
}
|
|
@@ -2715,12 +2715,12 @@
|
|
|
2715
2715
|
SetOutput_instance = this;
|
|
2716
2716
|
NonBacktrackable_0.call(this, 'set_output');
|
|
2717
2717
|
}
|
|
2718
|
-
protoOf(SetOutput).
|
|
2719
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2718
|
+
protoOf(SetOutput).w2o = function (_this__u8e3s4, first) {
|
|
2719
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2720
2720
|
return _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, SetOutput$computeOne$lambda(_this__u8e3s4, channel));
|
|
2721
2721
|
};
|
|
2722
|
-
protoOf(SetOutput).
|
|
2723
|
-
return this.
|
|
2722
|
+
protoOf(SetOutput).q2j = function (_this__u8e3s4, first) {
|
|
2723
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2724
2724
|
};
|
|
2725
2725
|
var SetOutput_instance;
|
|
2726
2726
|
function SetOutput_getInstance() {
|
|
@@ -2732,16 +2732,16 @@
|
|
|
2732
2732
|
return function ($this$replySuccess) {
|
|
2733
2733
|
var tmp;
|
|
2734
2734
|
if ($append) {
|
|
2735
|
-
$this$replySuccess.
|
|
2736
|
-
$this$replySuccess.
|
|
2735
|
+
$this$replySuccess.j2m($solver.e1v());
|
|
2736
|
+
$this$replySuccess.p2m($solver.f1v());
|
|
2737
2737
|
tmp = Unit_instance;
|
|
2738
2738
|
} else {
|
|
2739
|
-
$this$replySuccess.
|
|
2740
|
-
$this$replySuccess.
|
|
2739
|
+
$this$replySuccess.h2m($solver.e1v());
|
|
2740
|
+
$this$replySuccess.n2m($solver.f1v());
|
|
2741
2741
|
tmp = Unit_instance;
|
|
2742
2742
|
}
|
|
2743
|
-
$this$replySuccess.
|
|
2744
|
-
$this$replySuccess.
|
|
2743
|
+
$this$replySuccess.u2m($solver.l1v());
|
|
2744
|
+
$this$replySuccess.t2m($solver.d1v());
|
|
2745
2745
|
return Unit_instance;
|
|
2746
2746
|
};
|
|
2747
2747
|
}
|
|
@@ -2749,17 +2749,17 @@
|
|
|
2749
2749
|
SetTheory_instance = this;
|
|
2750
2750
|
NonBacktrackable_0.call(this, 'set_theory');
|
|
2751
2751
|
}
|
|
2752
|
-
protoOf(SetTheory).
|
|
2753
|
-
Companion_getInstance_1().
|
|
2754
|
-
return this.
|
|
2752
|
+
protoOf(SetTheory).w2o = function (_this__u8e3s4, first) {
|
|
2753
|
+
Companion_getInstance_1().l2h(_this__u8e3s4, 0);
|
|
2754
|
+
return this.g3o(_this__u8e3s4, first.kx().r2(), false);
|
|
2755
2755
|
};
|
|
2756
|
-
protoOf(SetTheory).
|
|
2757
|
-
return this.
|
|
2756
|
+
protoOf(SetTheory).q2j = function (_this__u8e3s4, first) {
|
|
2757
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2758
2758
|
};
|
|
2759
|
-
protoOf(SetTheory).
|
|
2759
|
+
protoOf(SetTheory).g3o = function (_this__u8e3s4, text, append) {
|
|
2760
2760
|
try {
|
|
2761
|
-
var theory = Companion_instance_10.withOperatorSet(_this__u8e3s4.context.
|
|
2762
|
-
var solver = _this__u8e3s4.context.createMutableSolver(VOID, VOID, VOID, Companion_instance_11.empty(_this__u8e3s4.context.
|
|
2761
|
+
var theory = Companion_instance_10.withOperatorSet(_this__u8e3s4.context.l1v()).parseTheoryWithDefaultUnificator(text);
|
|
2762
|
+
var solver = _this__u8e3s4.context.createMutableSolver(VOID, VOID, VOID, Companion_instance_11.empty(_this__u8e3s4.context.f1l()), Companion_instance_12.empty(_this__u8e3s4.context.f1l()));
|
|
2763
2763
|
solver.loadStaticKb(theory);
|
|
2764
2764
|
return _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, SetTheory$setTheory$lambda(append, solver));
|
|
2765
2765
|
} catch ($p) {
|
|
@@ -2797,9 +2797,9 @@
|
|
|
2797
2797
|
}
|
|
2798
2798
|
}
|
|
2799
2799
|
};
|
|
2800
|
-
protoOf(SetTheory).
|
|
2800
|
+
protoOf(SetTheory).l3l = function (_this__u8e3s4, text, append, $super) {
|
|
2801
2801
|
append = append === VOID ? true : append;
|
|
2802
|
-
return $super === VOID ? this.
|
|
2802
|
+
return $super === VOID ? this.g3o(_this__u8e3s4, text, append) : $super.g3o.call(this, _this__u8e3s4, text, append);
|
|
2803
2803
|
};
|
|
2804
2804
|
var SetTheory_instance;
|
|
2805
2805
|
function SetTheory_getInstance() {
|
|
@@ -2812,7 +2812,7 @@
|
|
|
2812
2812
|
}
|
|
2813
2813
|
function StreamProperty$computeAll$lambda_0($this_computeAll) {
|
|
2814
2814
|
return function (it) {
|
|
2815
|
-
return to(it.
|
|
2815
|
+
return to(it.j1z(), IOPrimitiveUtils_getInstance().s3m($this_computeAll, it));
|
|
2816
2816
|
};
|
|
2817
2817
|
}
|
|
2818
2818
|
function StreamProperty$computeAll$lambda_1(_name_for_destructuring_parameter_0__wldtmu) {
|
|
@@ -2829,24 +2829,24 @@
|
|
|
2829
2829
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
2830
2830
|
var streamTerm = _name_for_destructuring_parameter_0__wldtmu.me();
|
|
2831
2831
|
var property = _name_for_destructuring_parameter_0__wldtmu.ne();
|
|
2832
|
-
return $this_computeAll.replyWith(Companion_getInstance_1().
|
|
2832
|
+
return $this_computeAll.replyWith(Companion_getInstance_1().w2g($this_computeAll, $first, streamTerm).plus(Companion_getInstance_1().w2g($this_computeAll, $second, property)), VOID, []);
|
|
2833
2833
|
};
|
|
2834
2834
|
}
|
|
2835
2835
|
function StreamProperty() {
|
|
2836
2836
|
StreamProperty_instance = this;
|
|
2837
2837
|
BinaryRelation.call(this, 'stream_property');
|
|
2838
2838
|
}
|
|
2839
|
-
protoOf(StreamProperty).
|
|
2840
|
-
IOPrimitiveUtils_getInstance().
|
|
2841
|
-
IOPrimitiveUtils_getInstance().
|
|
2842
|
-
var tmp = sequenceOf([_this__u8e3s4.context.
|
|
2839
|
+
protoOf(StreamProperty).j2p = function (_this__u8e3s4, first, second) {
|
|
2840
|
+
IOPrimitiveUtils_getInstance().o3l(_this__u8e3s4, 0);
|
|
2841
|
+
IOPrimitiveUtils_getInstance().z3m(_this__u8e3s4, 1);
|
|
2842
|
+
var tmp = sequenceOf([_this__u8e3s4.context.g1v(), _this__u8e3s4.context.h1v()]);
|
|
2843
2843
|
var tmp_0 = distinct(flatMap(tmp, StreamProperty$computeAll$lambda));
|
|
2844
2844
|
var tmp_1 = map(tmp_0, StreamProperty$computeAll$lambda_0(_this__u8e3s4));
|
|
2845
2845
|
var tmp_2 = flatMap(tmp_1, StreamProperty$computeAll$lambda_1);
|
|
2846
2846
|
return map(tmp_2, StreamProperty$computeAll$lambda_2(_this__u8e3s4, first, second));
|
|
2847
2847
|
};
|
|
2848
|
-
protoOf(StreamProperty).
|
|
2849
|
-
return this.
|
|
2848
|
+
protoOf(StreamProperty).a2g = function (_this__u8e3s4, first, second) {
|
|
2849
|
+
return this.j2p(_this__u8e3s4, first, second);
|
|
2850
2850
|
};
|
|
2851
2851
|
var StreamProperty_instance;
|
|
2852
2852
|
function StreamProperty_getInstance() {
|
|
@@ -2858,12 +2858,12 @@
|
|
|
2858
2858
|
Write2_instance = this;
|
|
2859
2859
|
NonBacktrackable.call(this, 'write');
|
|
2860
2860
|
}
|
|
2861
|
-
protoOf(Write2).
|
|
2862
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2863
|
-
return IOPrimitiveUtils_getInstance().
|
|
2861
|
+
protoOf(Write2).n2p = function (_this__u8e3s4, first, second) {
|
|
2862
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2863
|
+
return IOPrimitiveUtils_getInstance().c3n(_this__u8e3s4, channel, second, Companion_instance_6.n14(_this__u8e3s4.context.l1v()));
|
|
2864
2864
|
};
|
|
2865
|
-
protoOf(Write2).
|
|
2866
|
-
return this.
|
|
2865
|
+
protoOf(Write2).y2f = function (_this__u8e3s4, first, second) {
|
|
2866
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2867
2867
|
};
|
|
2868
2868
|
var Write2_instance;
|
|
2869
2869
|
function Write2_getInstance() {
|
|
@@ -2875,11 +2875,11 @@
|
|
|
2875
2875
|
WriteCanonical1_instance = this;
|
|
2876
2876
|
NonBacktrackable_0.call(this, 'write_canonical');
|
|
2877
2877
|
}
|
|
2878
|
-
protoOf(WriteCanonical1).
|
|
2879
|
-
return IOPrimitiveUtils_getInstance().
|
|
2878
|
+
protoOf(WriteCanonical1).w2o = function (_this__u8e3s4, first) {
|
|
2879
|
+
return IOPrimitiveUtils_getInstance().c3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().t3m(_this__u8e3s4), first, Companion_instance_6.canonical());
|
|
2880
2880
|
};
|
|
2881
|
-
protoOf(WriteCanonical1).
|
|
2882
|
-
return this.
|
|
2881
|
+
protoOf(WriteCanonical1).q2j = function (_this__u8e3s4, first) {
|
|
2882
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2883
2883
|
};
|
|
2884
2884
|
var WriteCanonical1_instance;
|
|
2885
2885
|
function WriteCanonical1_getInstance() {
|
|
@@ -2891,12 +2891,12 @@
|
|
|
2891
2891
|
WriteCanonical2_instance = this;
|
|
2892
2892
|
NonBacktrackable.call(this, 'write_canonical');
|
|
2893
2893
|
}
|
|
2894
|
-
protoOf(WriteCanonical2).
|
|
2895
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2896
|
-
return IOPrimitiveUtils_getInstance().
|
|
2894
|
+
protoOf(WriteCanonical2).n2p = function (_this__u8e3s4, first, second) {
|
|
2895
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2896
|
+
return IOPrimitiveUtils_getInstance().c3n(_this__u8e3s4, channel, second, Companion_instance_6.canonical());
|
|
2897
2897
|
};
|
|
2898
|
-
protoOf(WriteCanonical2).
|
|
2899
|
-
return this.
|
|
2898
|
+
protoOf(WriteCanonical2).y2f = function (_this__u8e3s4, first, second) {
|
|
2899
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2900
2900
|
};
|
|
2901
2901
|
var WriteCanonical2_instance;
|
|
2902
2902
|
function WriteCanonical2_getInstance() {
|
|
@@ -2908,11 +2908,11 @@
|
|
|
2908
2908
|
WriteEq1_instance = this;
|
|
2909
2909
|
NonBacktrackable_0.call(this, 'writeq');
|
|
2910
2910
|
}
|
|
2911
|
-
protoOf(WriteEq1).
|
|
2912
|
-
return IOPrimitiveUtils_getInstance().
|
|
2911
|
+
protoOf(WriteEq1).w2o = function (_this__u8e3s4, first) {
|
|
2912
|
+
return IOPrimitiveUtils_getInstance().c3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().t3m(_this__u8e3s4), first, Companion_instance_6.readable());
|
|
2913
2913
|
};
|
|
2914
|
-
protoOf(WriteEq1).
|
|
2915
|
-
return this.
|
|
2914
|
+
protoOf(WriteEq1).q2j = function (_this__u8e3s4, first) {
|
|
2915
|
+
return this.w2o(_this__u8e3s4, first);
|
|
2916
2916
|
};
|
|
2917
2917
|
var WriteEq1_instance;
|
|
2918
2918
|
function WriteEq1_getInstance() {
|
|
@@ -2924,12 +2924,12 @@
|
|
|
2924
2924
|
WriteEq2_instance = this;
|
|
2925
2925
|
NonBacktrackable.call(this, 'writeq');
|
|
2926
2926
|
}
|
|
2927
|
-
protoOf(WriteEq2).
|
|
2928
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2929
|
-
return IOPrimitiveUtils_getInstance().
|
|
2927
|
+
protoOf(WriteEq2).n2p = function (_this__u8e3s4, first, second) {
|
|
2928
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2929
|
+
return IOPrimitiveUtils_getInstance().c3n(_this__u8e3s4, channel, second, Companion_instance_6.readable());
|
|
2930
2930
|
};
|
|
2931
|
-
protoOf(WriteEq2).
|
|
2932
|
-
return this.
|
|
2931
|
+
protoOf(WriteEq2).y2f = function (_this__u8e3s4, first, second) {
|
|
2932
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2933
2933
|
};
|
|
2934
2934
|
var WriteEq2_instance;
|
|
2935
2935
|
function WriteEq2_getInstance() {
|
|
@@ -2941,12 +2941,12 @@
|
|
|
2941
2941
|
WriteTerm2_instance = this;
|
|
2942
2942
|
NonBacktrackable.call(this, 'write_term');
|
|
2943
2943
|
}
|
|
2944
|
-
protoOf(WriteTerm2).
|
|
2945
|
-
var formatter = IOPrimitiveUtils_getInstance().
|
|
2946
|
-
return IOPrimitiveUtils_getInstance().
|
|
2944
|
+
protoOf(WriteTerm2).n2p = function (_this__u8e3s4, first, second) {
|
|
2945
|
+
var formatter = IOPrimitiveUtils_getInstance().y3m(_this__u8e3s4, 1);
|
|
2946
|
+
return IOPrimitiveUtils_getInstance().c3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().t3m(_this__u8e3s4), first, formatter);
|
|
2947
2947
|
};
|
|
2948
|
-
protoOf(WriteTerm2).
|
|
2949
|
-
return this.
|
|
2948
|
+
protoOf(WriteTerm2).y2f = function (_this__u8e3s4, first, second) {
|
|
2949
|
+
return this.n2p(_this__u8e3s4, first, second);
|
|
2950
2950
|
};
|
|
2951
2951
|
var WriteTerm2_instance;
|
|
2952
2952
|
function WriteTerm2_getInstance() {
|
|
@@ -2958,13 +2958,13 @@
|
|
|
2958
2958
|
WriteTerm3_instance = this;
|
|
2959
2959
|
NonBacktrackable_1.call(this, 'write_term');
|
|
2960
2960
|
}
|
|
2961
|
-
protoOf(WriteTerm3).
|
|
2962
|
-
var channel = IOPrimitiveUtils_getInstance().
|
|
2963
|
-
var formatter = IOPrimitiveUtils_getInstance().
|
|
2964
|
-
return IOPrimitiveUtils_getInstance().
|
|
2961
|
+
protoOf(WriteTerm3).p2r = function (_this__u8e3s4, first, second, third) {
|
|
2962
|
+
var channel = IOPrimitiveUtils_getInstance().r3l(_this__u8e3s4, 0);
|
|
2963
|
+
var formatter = IOPrimitiveUtils_getInstance().y3m(_this__u8e3s4, 1);
|
|
2964
|
+
return IOPrimitiveUtils_getInstance().c3n(_this__u8e3s4, channel, first, formatter);
|
|
2965
2965
|
};
|
|
2966
|
-
protoOf(WriteTerm3).
|
|
2967
|
-
return this.
|
|
2966
|
+
protoOf(WriteTerm3).h2j = function (_this__u8e3s4, first, second, third) {
|
|
2967
|
+
return this.p2r(_this__u8e3s4, first, second, third);
|
|
2968
2968
|
};
|
|
2969
2969
|
var WriteTerm3_instance;
|
|
2970
2970
|
function WriteTerm3_getInstance() {
|
|
@@ -3195,7 +3195,7 @@
|
|
|
3195
3195
|
}
|
|
3196
3196
|
function JsUrl_init_$Init$(url, $this) {
|
|
3197
3197
|
JsUrl.call($this);
|
|
3198
|
-
var tmp0_elvis_lhs = Companion_getInstance_8().
|
|
3198
|
+
var tmp0_elvis_lhs = Companion_getInstance_8().v30(url);
|
|
3199
3199
|
var tmp;
|
|
3200
3200
|
if (tmp0_elvis_lhs == null) {
|
|
3201
3201
|
throw InvalidUrlException_init_$Create$('Invalid URL: ' + url);
|
|
@@ -3205,19 +3205,19 @@
|
|
|
3205
3205
|
var match = tmp;
|
|
3206
3206
|
var tmp_0 = $this;
|
|
3207
3207
|
var tmp1_elvis_lhs = match.x2(UrlField_PROTOCOL_getInstance());
|
|
3208
|
-
tmp_0.
|
|
3208
|
+
tmp_0.q3o_1 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3209
3209
|
var tmp_1 = $this;
|
|
3210
3210
|
var tmp2_elvis_lhs = match.x2(UrlField_HOST_getInstance());
|
|
3211
|
-
tmp_1.
|
|
3211
|
+
tmp_1.r3o_1 = tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs;
|
|
3212
3212
|
var tmp_2 = $this;
|
|
3213
3213
|
var tmp3_elvis_lhs = match.x2(UrlField_PATH_getInstance());
|
|
3214
|
-
tmp_2.
|
|
3214
|
+
tmp_2.s3o_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
3215
3215
|
var tmp_3 = $this;
|
|
3216
3216
|
var tmp4_safe_receiver = match.x2(UrlField_PORT_getInstance());
|
|
3217
3217
|
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : toInt(tmp4_safe_receiver);
|
|
3218
|
-
tmp_3.
|
|
3219
|
-
$this.
|
|
3220
|
-
$this.
|
|
3218
|
+
tmp_3.t3o_1 = tmp5_safe_receiver == null ? null : Companion_getInstance_8().w3j(tmp5_safe_receiver);
|
|
3219
|
+
$this.u3o_1 = match.x2(UrlField_QUERY_getInstance());
|
|
3220
|
+
$this.p3o_1 = url;
|
|
3221
3221
|
return $this;
|
|
3222
3222
|
}
|
|
3223
3223
|
function JsUrl_init_$Create$(url) {
|
|
@@ -3229,51 +3229,51 @@
|
|
|
3229
3229
|
path = path === VOID ? '' : path;
|
|
3230
3230
|
query = query === VOID ? null : query;
|
|
3231
3231
|
JsUrl.call($this);
|
|
3232
|
-
$this.
|
|
3233
|
-
$this.
|
|
3234
|
-
$this.
|
|
3235
|
-
$this.
|
|
3236
|
-
$this.
|
|
3237
|
-
$this.
|
|
3232
|
+
$this.q3o_1 = protocol;
|
|
3233
|
+
$this.r3o_1 = host;
|
|
3234
|
+
$this.t3o_1 = port;
|
|
3235
|
+
$this.s3o_1 = path;
|
|
3236
|
+
$this.u3o_1 = query;
|
|
3237
|
+
$this.p3o_1 = Companion_getInstance_8().a3k(protocol, host, port, path, query);
|
|
3238
3238
|
return $this;
|
|
3239
3239
|
}
|
|
3240
3240
|
function JsUrl_init_$Create$_0(protocol, host, port, path, query) {
|
|
3241
3241
|
return JsUrl_init_$Init$_0(protocol, host, port, path, query, objectCreate(protoOf(JsUrl)));
|
|
3242
3242
|
}
|
|
3243
|
-
protoOf(JsUrl).
|
|
3244
|
-
return this.
|
|
3243
|
+
protoOf(JsUrl).b3k = function () {
|
|
3244
|
+
return this.q3o_1;
|
|
3245
3245
|
};
|
|
3246
|
-
protoOf(JsUrl).
|
|
3247
|
-
return this.
|
|
3246
|
+
protoOf(JsUrl).c3k = function () {
|
|
3247
|
+
return this.r3o_1;
|
|
3248
3248
|
};
|
|
3249
|
-
protoOf(JsUrl).
|
|
3250
|
-
return this.
|
|
3249
|
+
protoOf(JsUrl).b31 = function () {
|
|
3250
|
+
return this.s3o_1;
|
|
3251
3251
|
};
|
|
3252
|
-
protoOf(JsUrl).
|
|
3253
|
-
return this.
|
|
3252
|
+
protoOf(JsUrl).d3k = function () {
|
|
3253
|
+
return this.t3o_1;
|
|
3254
3254
|
};
|
|
3255
|
-
protoOf(JsUrl).
|
|
3256
|
-
return this.
|
|
3255
|
+
protoOf(JsUrl).c1w = function () {
|
|
3256
|
+
return this.u3o_1;
|
|
3257
3257
|
};
|
|
3258
|
-
protoOf(JsUrl).
|
|
3259
|
-
if (this.
|
|
3260
|
-
return readText(this.
|
|
3258
|
+
protoOf(JsUrl).v3o = function () {
|
|
3259
|
+
if (this.e3k()) {
|
|
3260
|
+
return readText(this.s3o_1);
|
|
3261
3261
|
} else {
|
|
3262
|
-
return fetch(this.
|
|
3262
|
+
return fetch(this.p3o_1, 'UTF-8');
|
|
3263
3263
|
}
|
|
3264
3264
|
};
|
|
3265
3265
|
protoOf(JsUrl).readAsText = function () {
|
|
3266
|
-
return this.
|
|
3266
|
+
return this.v3o();
|
|
3267
3267
|
};
|
|
3268
|
-
protoOf(JsUrl).
|
|
3269
|
-
if (this.
|
|
3270
|
-
return readBin(this.
|
|
3268
|
+
protoOf(JsUrl).w3o = function () {
|
|
3269
|
+
if (this.e3k()) {
|
|
3270
|
+
return readBin(this.s3o_1);
|
|
3271
3271
|
} else {
|
|
3272
|
-
return toByteArray(fetch(this.
|
|
3272
|
+
return toByteArray(fetch(this.p3o_1));
|
|
3273
3273
|
}
|
|
3274
3274
|
};
|
|
3275
3275
|
protoOf(JsUrl).readAsByteArray = function () {
|
|
3276
|
-
return this.
|
|
3276
|
+
return this.w3o();
|
|
3277
3277
|
};
|
|
3278
3278
|
protoOf(JsUrl).equals = function (other) {
|
|
3279
3279
|
if (this === other)
|
|
@@ -3282,15 +3282,15 @@
|
|
|
3282
3282
|
return false;
|
|
3283
3283
|
if (!(other instanceof JsUrl))
|
|
3284
3284
|
THROW_CCE();
|
|
3285
|
-
if (!(this.
|
|
3285
|
+
if (!(this.p3o_1 === other.p3o_1))
|
|
3286
3286
|
return false;
|
|
3287
3287
|
return true;
|
|
3288
3288
|
};
|
|
3289
3289
|
protoOf(JsUrl).hashCode = function () {
|
|
3290
|
-
return getStringHashCode(this.
|
|
3290
|
+
return getStringHashCode(this.p3o_1);
|
|
3291
3291
|
};
|
|
3292
3292
|
protoOf(JsUrl).toString = function () {
|
|
3293
|
-
return this.
|
|
3293
|
+
return this.p3o_1;
|
|
3294
3294
|
};
|
|
3295
3295
|
function JsUrl() {
|
|
3296
3296
|
}
|
|
@@ -3317,8 +3317,8 @@
|
|
|
3317
3317
|
//region block: post-declaration
|
|
3318
3318
|
protoOf(JsUrl).resolve = resolve;
|
|
3319
3319
|
protoOf(JsUrl).div = div;
|
|
3320
|
-
protoOf(JsUrl).
|
|
3321
|
-
protoOf(JsUrl).
|
|
3320
|
+
protoOf(JsUrl).e3k = get_isFile;
|
|
3321
|
+
protoOf(JsUrl).f3k = get_isHttp;
|
|
3322
3322
|
//endregion
|
|
3323
3323
|
//region block: exports
|
|
3324
3324
|
_.$_$ = _.$_$ || {};
|