use of org.whole.lang.actions.model.SelectedEntities in project whole by wholeplatform.
the class ActionsDynamicCompilerVisitor method visit.
@Override
public void visit(ActionCall entity) {
SelectedEntities selectedEntitiesFeature = entity.getSelectedEntities();
IEntityIterator<?>[] argumentsIterators = null;
if (EntityUtils.isNotResolver(selectedEntitiesFeature)) {
selectedEntitiesFeature.accept(this);
IEntityIterator<?> resultIterator = getResultIterator();
argumentsIterators = new IEntityIterator<?>[1];
argumentsIterators[0] = resultIterator;
}
setResultIterator(new ActionCallIterator(entity.getName().getValue(), argumentsIterators).withSourceEntity(entity));
}
Aggregations