use of org.whole.lang.workflows.visitors.WorkflowsInterpreterVisitor in project whole by wholeplatform.
the class WorkflowsInterpreterDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addOperationFactory(WorkflowsLanguageKit.URI, InterpreterOperation.ID, new IVisitorFactory() {
public IVisitor create(IOperation operation, int stage) {
if (stage == 0)
return new WorkflowsInterpreterVisitor();
else
return null;
}
});
platform.addOperationFactory(WorkflowsLanguageKit.URI, DynamicCompilerOperation.ID, new IVisitorFactory() {
public IVisitor create(IOperation operation, int stage) {
if (stage == 0)
return new WorkflowsDynamicCompilerVisitor();
else
return null;
}
});
}
Aggregations