EOorg.EOeolang.EOgray.EOheap Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-05-18T09:52:46.155Z. 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.761710Z by the compiler v.0.22.2.
*/
package EOorg.EOeolang.EOgray;
import org.eolang.*;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "heap", oname = "heap", source = "/home/r/repo/target/eo/04-pull/org/eolang/gray/heap.eo")
public final class EOheap extends PhDefault {
public EOheap(final Phi sigma) {
super(sigma);
this.add("size", new AtFree(/* default */));
this.add("malloc", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOheap$EOmalloc(rho);
ret = new PhLocated(ret, 32, 2);
return ret;
})));
this.add("free", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOheap$EOfree(rho);
ret = new PhLocated(ret, 38, 2);
return ret;
})));
this.add("pointer", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOheap$EOpointer(rho);
ret = new PhLocated(ret, 41, 2);
return ret;
})));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy