EOorg.EOeolang.EOchar Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-05-18T09:52:48.519Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-05-18T09:52:26.837587Z by the compiler v.0.22.2.
*/
package EOorg.EOeolang;
import org.eolang.*;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "char", oname = "char", source = "/home/r/repo/target/eo/04-pull/org/eolang/char.eo")
public final class EOchar extends PhDefault {
public EOchar(final Phi sigma) {
super(sigma);
this.add("Δ", new AtFree());
this.add("data", new AtFree(/* default */));
this.add("eq", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOchar$EOeq(rho);
ret = new PhLocated(ret, 29, 2);
return ret;
})));
this.add("as-bytes", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOchar$EOas_bytes(rho);
ret = new PhLocated(ret, 35, 2);
return ret;
})));
this.add("as-string", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOchar$EOas_string(rho);
ret = new PhLocated(ret, 38, 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);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy