createScope static method
Implementation
static Scope createScope(final List<Module> modules, final String scopeId, final String scopeName) {
var scope = _resolveScope(scopeId);
if (scope != null) throw ScopeAlreadyExistsException(scopeId);
scope = Scope(modules, scopeId, scopeName, ScopeResolver._closeScope);
_scopeMap[scopeId] = scope;
return scope;
}