forked from objectionary/eo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
objectionary#2563 gather old info for debug
- Loading branch information
Showing
1 changed file
with
137 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<program dob="2023-03-19T00:00:00" | ||
ms="2" | ||
name="scenario" | ||
revision="1234567" | ||
time="2023-11-29T10:28:47.640830Z" | ||
version="0.0-SNAPSHOT"> | ||
<listing>[] > foo | ||
* 1 2 (* 3 4) > @ | ||
|
||
[] > bar | ||
zz 42 * > tt | ||
|
||
[] > baz | ||
""" | ||
абвгд | ||
""" > @ | ||
</listing> | ||
<errors/> | ||
<sheets> | ||
<sheet>add-default-package</sheet> | ||
<sheet>classes</sheet> | ||
<sheet>attrs</sheet> | ||
<sheet>data</sheet> | ||
<sheet>to-java</sheet> | ||
</sheets> | ||
<license/> | ||
<metas/> | ||
<objects> | ||
<class abstract="" java-name="EOfoo" line="1" name="foo" pos="0"> | ||
<java> | ||
/* */ | ||
import org.eolang.*; | ||
|
||
// <o abstract="" line="1" name="foo" pos="0"> | ||
// <o base="org.eolang.tuple" line="2" name="@" pos="2" star=""> | ||
// <o base="org.eolang.int" data="bytes" line="2" pos="4">00 00 00 00 00 00 00 01</o> | ||
// <o base="org.eolang.int" data="bytes" line="2" pos="6">00 00 00 00 00 00 00 02</o> | ||
// <o base="org.eolang.tuple" line="2" pos="9" star=""> | ||
// <o base="org.eolang.int" data="bytes" line="2" pos="11">00 00 00 00 00 00 00 03</o> | ||
// <o base="org.eolang.int" data="bytes" line="2" pos="13">00 00 00 00 00 00 00 04</o> | ||
// </o> | ||
// </o> | ||
// </o> | ||
@XmirObject(name = "foo", oname = "foo", source = "") | ||
public final class EOfoo extends PhDefault { | ||
|
||
public EOfoo(final Phi sigma) { | ||
super(sigma); | ||
this.add("φ", new AtOnce(new AtComposite(this, rho -> { | ||
Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("tuple").get(); | ||
ret = new PhLocated(ret, 2, 2, ""); | ||
ret = new PhCopy(ret); | ||
Phi ret_1 = new EOorg.EOeolang.EOint(Phi.Φ); | ||
ret_1 = new PhLocated(ret_1, 2, 4, ""); | ||
ret_1 = new PhWith(ret_1, 0, new Data.Value<>(new byte[] {(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x01})); | ||
Phi ret_2 = new EOorg.EOeolang.EOint(Phi.Φ); | ||
ret_2 = new PhLocated(ret_2, 2, 6, ""); | ||
ret_2 = new PhWith(ret_2, 0, new Data.Value<>(new byte[] {(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x02})); | ||
Phi ret_3 = Phi.Φ.attr("org").get().attr("eolang").get().attr("tuple").get(); | ||
ret_3 = new PhLocated(ret_3, 2, 9, ""); | ||
ret_3 = new PhCopy(ret_3); | ||
Phi ret_3_1 = new EOorg.EOeolang.EOint(Phi.Φ); | ||
ret_3_1 = new PhLocated(ret_3_1, 2, 11, ""); | ||
ret_3_1 = new PhWith(ret_3_1, 0, new Data.Value<>(new byte[] {(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x03})); | ||
Phi ret_3_2 = new EOorg.EOeolang.EOint(Phi.Φ); | ||
ret_3_2 = new PhLocated(ret_3_2, 2, 13, ""); | ||
ret_3_2 = new PhWith(ret_3_2, 0, new Data.Value<>(new byte[] {(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x04})); | ||
ret_3 = new PhWith(ret_3, 0, ret_3_1); | ||
ret_3 = new PhWith(ret_3, 1, ret_3_2); | ||
ret = new PhWith(ret, 0, ret_1); | ||
ret = new PhWith(ret, 1, ret_2); | ||
ret = new PhWith(ret, 2, ret_3); | ||
return ret; | ||
}))); | ||
} | ||
} | ||
</java> | ||
</class> | ||
<class abstract="" java-name="EObar" line="4" name="bar" pos="0"> | ||
<java> | ||
/* */ | ||
import org.eolang.*; | ||
|
||
// <o abstract="" line="4" name="bar" pos="0"> | ||
// <o base="org.eolang.zz" line="5" name="tt" pos="2"> | ||
// <o base="org.eolang.int" data="bytes" line="5" pos="5">00 00 00 00 00 00 00 2A</o> | ||
// <o base="org.eolang.tuple" line="5" pos="8" star=""/> | ||
// </o> | ||
// </o> | ||
@XmirObject(name = "bar", oname = "bar", source = "") | ||
public final class EObar extends PhDefault { | ||
|
||
public EObar(final Phi sigma) { | ||
super(sigma); | ||
this.add("tt", new AtOnce(new AtComposite(this, rho -> { | ||
Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("zz").get(); | ||
ret = new PhLocated(ret, 5, 2, ""); | ||
ret = new PhCopy(ret); | ||
Phi ret_1 = new EOorg.EOeolang.EOint(Phi.Φ); | ||
ret_1 = new PhLocated(ret_1, 5, 5, ""); | ||
ret_1 = new PhWith(ret_1, 0, new Data.Value<>(new byte[] {(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x2A})); | ||
Phi ret_2 = Phi.Φ.attr("org").get().attr("eolang").get().attr("tuple").get(); | ||
ret_2 = new PhLocated(ret_2, 5, 8, ""); | ||
ret = new PhWith(ret, 0, ret_1); | ||
ret = new PhWith(ret, 1, ret_2); | ||
return ret; | ||
}))); | ||
} | ||
} | ||
</java> | ||
</class> | ||
<class abstract="" java-name="EObaz" line="7" name="baz" pos="0"> | ||
<java> | ||
/* */ | ||
import org.eolang.*; | ||
|
||
// <o abstract="" line="7" name="baz" pos="0"> | ||
// <o base="org.eolang.string" data="bytes" line="8" name="@" pos="2">D0 B0 D0 B1 D0 B2 D0 B3 D0 B4</o> | ||
// </o> | ||
@XmirObject(name = "baz", oname = "baz", source = "") | ||
public final class EObaz extends PhDefault { | ||
|
||
public EObaz(final Phi sigma) { | ||
super(sigma); | ||
this.add("φ", new AtOnce(new AtComposite(this, rho -> { | ||
Phi ret = new EOorg.EOeolang.EOstring(Phi.Φ); | ||
ret = new PhLocated(ret, 8, 2, ""); | ||
ret = new PhWith(ret, 0, new Data.Value<>(new byte[] {(byte) 0xD0, (byte) 0xB0, (byte) 0xD0, (byte) 0xB1, (byte) 0xD0, (byte) 0xB2, (byte) 0xD0, (byte) 0xB3, (byte) 0xD0, (byte) 0xB4})); | ||
return ret; | ||
}))); | ||
} | ||
} | ||
</java> | ||
</class> | ||
</objects> | ||
</program> |