Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-25T15:16:21.675Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-07-25T15:14:48.537700Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang.EOcollections;
import org.eolang.*;
//
//
//
//
// 0
//
//
// 0
//
//
//
//
// 0
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "list$reducei", oname = "reducei", source = "/home/r/repo/target/eo/04-pull/org/eolang/collections/list.eo")
public final class EOlist$EOreducei extends PhDefault {
public EOlist$EOreducei(final Phi sigma) {
super(sigma);
this.add("a", new AtFree(/* default */));
this.add("f", new AtFree(/* default */));
this.add("idx", new AtOnce(new AtComposite(this, rho -> {
Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("memory").get();
ret = new PhLocated(ret, 45, 4);
ret = new PhCopy(ret);
Phi ret_1 = new EOorg.EOeolang.EOint(Phi.Φ);
ret_1 = new PhLocated(ret_1, 45, 11);
ret_1 = new PhWith(ret_1, "Δ", new Data.Value(0L));
ret = new PhWith(ret, 0, ret_1);
return ret;
})));
this.add("acc", new AtOnce(new AtComposite(this, rho -> {
Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("memory").get();
ret = new PhLocated(ret, 46, 4);
ret = new PhCopy(ret);
Phi ret_1 = new EOorg.EOeolang.EOint(Phi.Φ);
ret_1 = new PhLocated(ret_1, 46, 11);
ret_1 = new PhWith(ret_1, "Δ", new Data.Value(0L));
ret = new PhWith(ret, 0, ret_1);
return ret;
})));
this.add("φ", new AtOnce(new AtComposite(this, rho -> {
Phi ret = Phi.Φ.attr("org").get().attr("eolang").get().attr("seq").get();
ret = new PhLocated(ret, 47, 4);
ret = new PhCopy(ret);
Phi ret_1_base = new PhMethod(rho, "idx");
ret_1_base = new PhLocated(ret_1_base, 48, 6);
Phi ret_1 = new PhMethod(ret_1_base, "write");
ret_1 = new PhLocated(ret_1, 48, 9);
ret_1 = new PhCopy(ret_1);
Phi ret_1_1 = new EOorg.EOeolang.EOint(Phi.Φ);
ret_1_1 = new PhLocated(ret_1_1, 48, 16);
ret_1_1 = new PhWith(ret_1_1, "Δ", new Data.Value(0L));
ret_1 = new PhWith(ret_1, 0, ret_1_1);
Phi ret_2_base = new PhMethod(rho, "acc");
ret_2_base = new PhLocated(ret_2_base, 49, 6);
Phi ret_2 = new PhMethod(ret_2_base, "write");
ret_2 = new PhLocated(ret_2, 49, 9);
ret_2 = new PhCopy(ret_2);
Phi ret_2_1 = new PhMethod(rho, "a");
ret_2_1 = new PhLocated(ret_2_1, 49, 16);
ret_2 = new PhWith(ret_2, 0, ret_2_1);
Phi ret_3_base_base = new PhMethod(rho, "idx");
ret_3_base_base = new PhLocated(ret_3_base_base, 52, 10);
Phi ret_3_base = new PhMethod(ret_3_base_base, "lt");
ret_3_base = new PhLocated(ret_3_base, 51, 8);
ret_3_base = new PhCopy(ret_3_base);
Phi ret_3_base_1_base = new PhMethod(new PhMethod(rho, "σ"), "arr");
ret_3_base_1_base = new PhLocated(ret_3_base_1_base, 53, 10);
Phi ret_3_base_1 = new PhMethod(ret_3_base_1_base, "length");
ret_3_base_1 = new PhLocated(ret_3_base_1, 53, 13);
ret_3_base = new PhWith(ret_3_base, 0, ret_3_base_1);
Phi ret_3 = new PhMethod(ret_3_base, "while");
ret_3 = new PhLocated(ret_3, 50, 6);
ret_3 = new PhCopy(ret_3);
Phi ret_3_1 = new EOlist$EOreducei$EOt4$EOt2$EOa1(rho);
ret_3_1 = new PhLocated(ret_3_1, 54, 8);
ret_3 = new PhWith(ret_3, 0, ret_3_1);
Phi ret_4 = new PhMethod(rho, "acc");
ret_4 = new PhLocated(ret_4, 62, 6);
ret = new PhWith(ret, 0, ret_1);
ret = new PhWith(ret, 1, ret_2);
ret = new PhWith(ret, 2, ret_3);
ret = new PhWith(ret, 3, ret_4);
return ret;
})));
}
}