astra.statement.AbstractStatementHandler 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.statement;
import java.util.Queue;
import astra.core.RuleExecutor;
import astra.formula.Formula;
import astra.formula.Goal;
public abstract class AbstractStatementHandler implements StatementHandler {
protected RuleExecutor executor;
public void addGoals(Queue list, Goal goal) {
// Do nothing by default...
}
public void setRuleExecutor(RuleExecutor executor) {
this.executor = executor;
}
}