EOorg.EOeolang.EOheap Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-25T15:16:29.4Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-07-25T15:15:45.853446Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang;
import org.eolang.*;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "heap", oname = "heap", source = "/home/r/repo/target/eo/04-pull/org/eolang/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, 31, 2);
return ret;
})));
this.add("free", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOheap$EOfree(rho);
ret = new PhLocated(ret, 36, 2);
return ret;
})));
this.add("pointer", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOheap$EOpointer(rho);
ret = new PhLocated(ret, 42, 2);
return ret;
})));
}
}