use of suite.instructionexecutor.LazyFunInstructionExecutor in project suite by stupidsing.
the class EvaluateUtil method configureFunExecutor.
private FunInstructionExecutor configureFunExecutor(FunCompilerConfig fcc) {
Node node = fccNodeFun.apply(fcc.isLazy());
Node code = doFcc(node, fcc);
if (code != null)
if (fcc.isLazy())
return new LazyFunInstructionExecutor(code);
else
return new EagerFunInstructionExecutor(code);
else
return Fail.t("function compilation failure");
}
Aggregations