package org.simantics.scl.compiler.environment;
+import java.util.Collection;
import java.util.function.Consumer;
+import org.simantics.scl.compiler.elaboration.chr.CHRRuleset;
import org.simantics.scl.compiler.elaboration.modules.SCLValue;
import org.simantics.scl.compiler.elaboration.modules.TypeClass;
import org.simantics.scl.compiler.elaboration.modules.TypeDescriptor;
*/
Namespace getNamespace(String name);
+ Collection<String> getNamespaces();
+
/**
* Get an SCLValue for a given name. The same instance is returned on each call.
* @param name the name of a defined value
*/
EffectConstructor getEffectConstructor(String name) throws AmbiguousNameException;
+ CHRRuleset getRuleset(String name) throws AmbiguousNameException;
+
/**
* Get a TypeClass for a given name. The same instance is returned on each call.
* @param name the name of a defined entity type