org.snapscript.core.Statement Maven / Gradle / Ivy
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;
}