All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
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.
EOorg.EOeolang.EObool Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-25T15:16:21.176Z. 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.507146Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang;
import org.eolang.*;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "bool", oname = "bool", source = "/home/r/repo/target/eo/04-pull/org/eolang/bool.eo")
public final class EObool extends PhDefault {
public EObool(final Phi sigma) {
super(sigma);
this.add("Δ", new AtFree());
this.add("eq", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOeq(rho);
ret = new PhLocated(ret, 29, 2);
return ret;
})));
this.add("if", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOif(rho);
ret = new PhLocated(ret, 35, 2);
return ret;
})));
this.add("not", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOnot(rho);
ret = new PhLocated(ret, 38, 2);
return ret;
})));
this.add("and", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOand(rho);
ret = new PhLocated(ret, 44, 2);
return ret;
})));
this.add("or", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOor(rho);
ret = new PhLocated(ret, 47, 2);
return ret;
})));
this.add("while", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOwhile(rho);
ret = new PhLocated(ret, 50, 2);
return ret;
})));
this.add("as-bytes", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOas_bytes(rho);
ret = new PhLocated(ret, 56, 2);
return ret;
})));
this.add("as-hash", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EObool$EOas_hash(rho);
ret = new PhLocated(ret, 63, 2);
return ret;
})));
}
@Override
public int hashCode() {
return this.attr("Δ").get().hashCode();
}
@Override
public boolean equals(final Object obj) {
return this.attr("Δ").get().equals(obj);
}
}