Skip to content

Commit

Permalink
objectionary#2563 gather old info for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
c71n93 committed Nov 29, 2023
1 parent a5feead commit a66d91e
Showing 1 changed file with 137 additions and 0 deletions.
137 changes: 137 additions & 0 deletions eo-maven-plugin/tuple-to-java-old.xml
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>[] &gt; foo
* 1 2 (* 3 4) &gt; @

[] &gt; bar
zz 42 * &gt; tt

[] &gt; baz
"""
абвгд
""" &gt; @
</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.*;

// &lt;o abstract="" line="1" name="foo" pos="0"&gt;
// &lt;o base="org.eolang.tuple" line="2" name="@" pos="2" star=""&gt;
// &lt;o base="org.eolang.int" data="bytes" line="2" pos="4"&gt;00 00 00 00 00 00 00 01&lt;/o&gt;
// &lt;o base="org.eolang.int" data="bytes" line="2" pos="6"&gt;00 00 00 00 00 00 00 02&lt;/o&gt;
// &lt;o base="org.eolang.tuple" line="2" pos="9" star=""&gt;
// &lt;o base="org.eolang.int" data="bytes" line="2" pos="11"&gt;00 00 00 00 00 00 00 03&lt;/o&gt;
// &lt;o base="org.eolang.int" data="bytes" line="2" pos="13"&gt;00 00 00 00 00 00 00 04&lt;/o&gt;
// &lt;/o&gt;
// &lt;/o&gt;
// &lt;/o&gt;
@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 -&gt; {
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&lt;&gt;(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&lt;&gt;(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&lt;&gt;(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&lt;&gt;(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.*;

// &lt;o abstract="" line="4" name="bar" pos="0"&gt;
// &lt;o base="org.eolang.zz" line="5" name="tt" pos="2"&gt;
// &lt;o base="org.eolang.int" data="bytes" line="5" pos="5"&gt;00 00 00 00 00 00 00 2A&lt;/o&gt;
// &lt;o base="org.eolang.tuple" line="5" pos="8" star=""/&gt;
// &lt;/o&gt;
// &lt;/o&gt;
@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 -&gt; {
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&lt;&gt;(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.*;

// &lt;o abstract="" line="7" name="baz" pos="0"&gt;
// &lt;o base="org.eolang.string" data="bytes" line="8" name="@" pos="2"&gt;D0 B0 D0 B1 D0 B2 D0 B3 D0 B4&lt;/o&gt;
// &lt;/o&gt;
@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 -&gt; {
Phi ret = new EOorg.EOeolang.EOstring(Phi.Φ);
ret = new PhLocated(ret, 8, 2, "");
ret = new PhWith(ret, 0, new Data.Value&lt;&gt;(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>

0 comments on commit a66d91e

Please sign in to comment.