Search in sources :

Example 1 with IReusablesEntity

use of org.whole.lang.reusables.model.IReusablesEntity in project whole by wholeplatform.

the class ReusablesArtifactsGeneratorVisitor method visit.

public void visit(IReusablesEntity entity) {
    IReusablesEntity entityClone = EntityUtils.clone(entity);
    IBindingScope resultsScope = InterpreterOperation.interpret(entityClone);
    for (IEntity result : resultsScope.getResultIterator()) {
        IEntity adaptee = result.wGetAdaptee(false);
        stagedVisit(adaptee);
    }
}
Also used : IBindingScope(org.whole.lang.bindings.IBindingScope) IEntity(org.whole.lang.model.IEntity) IReusablesEntity(org.whole.lang.reusables.model.IReusablesEntity)

Aggregations

IBindingScope (org.whole.lang.bindings.IBindingScope)1 IEntity (org.whole.lang.model.IEntity)1 IReusablesEntity (org.whole.lang.reusables.model.IReusablesEntity)1