1 package org.simantics.scl.compiler.environment;
3 import org.simantics.scl.compiler.compilation.CompilationContext;
4 import org.simantics.scl.compiler.module.ConcreteModule;
5 import org.simantics.scl.compiler.module.ImportDeclaration;
6 import org.simantics.scl.compiler.module.repository.ImportFailureException;
7 import org.simantics.scl.compiler.module.repository.ModuleRepository;
9 public interface EnvironmentFactory {
11 Environment createEnvironment(CompilationContext context, ImportDeclaration[] array) throws ImportFailureException;
12 void addBuiltinDependencies(ConcreteModule module);
13 ModuleRepository getModuleRepository();