@cowwoc/requirements
Version:
A fluent API for enforcing design contracts with automatic message generation.
27 lines • 838 B
JavaScript
/*
* Copyright (c) 2016 Gili Tzabari
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
*/
import { MainGlobalConfiguration, DefaultProcessScope, AbstractApplicationScope } from "../internal.mjs";
/**
* ApplicationScope for the main codebase.
*/
class MainApplicationScope extends AbstractApplicationScope {
/**
* The singleton instance.
*/
static INSTANCE = new MainApplicationScope(DefaultProcessScope.INSTANCE);
/**
* Creates a new application scope.
*
* @param parent - the parent scope
* @throws TypeError if `parent` is null
*/
constructor(parent) {
super(parent, new MainGlobalConfiguration(parent.getTerminal()));
}
close() {
}
}
export { MainApplicationScope };
//# sourceMappingURL=MainApplicationScope.mjs.map