astra.tr.TRStopAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of astra-interpreter Show documentation
Show all versions of astra-interpreter Show documentation
Core interpreter artifact for the ASTRA Language
package astra.tr;
import java.util.Map;
import astra.term.Term;
public class TRStopAction extends AbstractAction {
public ActionHandler getStatementHandler() {
return new ActionHandler() {
public boolean execute(TRContext context, Map bindings) {
// System.out.println("stopping...");
context.stopFunction();
return false;
}
};
}
}