org.snapscript.core.Statement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.core;
import org.snapscript.core.constraint.Constraint;
import org.snapscript.core.scope.Scope;
public abstract class Statement {
public void create(Scope scope) throws Exception {}
public boolean define(Scope scope) throws Exception {
return true; // executable?
}
public abstract Execution compile(Scope scope, Constraint returns) throws Exception;
}