org.snapscript.core.ExpressionEvaluator Maven / Gradle / Ivy
package org.snapscript.core;
import org.snapscript.core.scope.Model;
import org.snapscript.core.scope.Scope;
public interface ExpressionEvaluator {
T evaluate(Model model, String source) throws Exception;
T evaluate(Model model, String source, String module) throws Exception;
T evaluate(Scope scope, String source) throws Exception;
T evaluate(Scope scope, String source, String module) throws Exception;
}