EOorg.EOeolang.EOtxt.EOregex Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-25T15:16:33.053Z. 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.981541Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang.EOtxt;
import org.eolang.*;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "regex", oname = "regex", source = "/home/r/repo/target/eo/04-pull/org/eolang/txt/regex.eo")
public final class EOregex extends PhDefault {
public EOregex(final Phi sigma) {
super(sigma);
this.add("r", new AtFree(/* default */));
this.add("compile", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOregex$EOcompile(rho);
ret = new PhLocated(ret, 44, 2);
return ret;
})));
this.add("match", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOregex$EOmatch(rho);
ret = new PhLocated(ret, 46, 2);
return ret;
})));
this.add("matches", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOregex$EOmatches(rho);
ret = new PhLocated(ret, 49, 2);
return ret;
})));
}
}