EOorg.EOeolang.EOint$EOabs Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-05-18T09:52:43.464Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-05-18T09:51:40.820800Z by the compiler v.0.22.2.
*/
package EOorg.EOeolang;
import org.eolang.*;
//
//
//
//
// 0
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "int$abs", oname = "abs", source = "/home/r/repo/target/eo/04-pull/org/eolang/int.eo")
public final class EOint$EOabs extends PhDefault {
public EOint$EOabs(final Phi sigma) {
super(sigma);
this.add("φ", new AtOnce(new AtComposite(this, rho -> {
Phi ret_base_base = new PhMethod(rho, "ρ");
ret_base_base = new PhLocated(ret_base_base, 93, 6);
Phi ret_base = new PhMethod(ret_base_base, "geq");
ret_base = new PhCopy(ret_base);
Phi ret_base_1 = new EOint(rho);
ret_base_1 = new PhLocated(ret_base_1, 93, 12);
ret_base_1 = new PhWith(ret_base_1, "Δ", new Data.Value(0L));
ret_base = new PhWith(ret_base, 0, ret_base_1);
Phi ret = new PhMethod(ret_base, "if");
ret = new PhLocated(ret, 92, 4);
ret = new PhCopy(ret);
Phi ret_1 = new PhMethod(rho, "ρ");
ret_1 = new PhLocated(ret_1, 94, 6);
Phi ret_2_base = new PhMethod(rho, "ρ");
ret_2_base = new PhLocated(ret_2_base, 95, 6);
Phi ret_2 = new PhMethod(ret_2_base, "neg");
ret = new PhWith(ret, 0, ret_1);
ret = new PhWith(ret, 1, ret_2);
return ret;
})));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy