EOorg.EOeolang.EOcollections.EObytes_as_array Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-25T15:16:31.065Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-07-25T15:15:45.890049Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang.EOcollections;
import org.eolang.*;
//
//
//
//
// 0
//
//
//
//
//
//
@XmirObject(name = "bytes-as-array", oname = "bytes-as-array", source = "/home/r/repo/target/eo/04-pull/org/eolang/collections/bytes-as-array.eo")
public final class EObytes_as_array extends PhDefault {
public EObytes_as_array(final Phi sigma) {
super(sigma);
this.add("b", new AtFree(/* default */));
this.add("φ", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new PhMethod(rho, "slice-byte");
ret = new PhLocated(ret, 29, 2);
ret = new PhCopy(ret);
Phi ret_1 = Phi.Φ.attr("org").get().attr("eolang").get().attr("array").get();
ret_1 = new PhLocated(ret_1, 30, 4);
Phi[] ret_1_a = new Phi[0];
ret_1 = new PhWith(new PhCopy(ret_1), "Δ", new Data.Value(ret_1_a));
Phi ret_2 = new EOorg.EOeolang.EOint(Phi.Φ);
ret_2 = new PhLocated(ret_2, 31, 4);
ret_2 = new PhWith(ret_2, "Δ", new Data.Value(0L));
ret = new PhWith(ret, 0, ret_1);
ret = new PhWith(ret, 1, ret_2);
return ret;
})));
this.add("slice-byte", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObytes_as_array$EOslice_byte(rho);
ret = new PhLocated(ret, 32, 2);
return ret;
})));
}
}