class EcmaScriptDataModel implements DataModel {

    @Override
    public int deleteScope() {
        if (topmostScope == null) {
            return ERROR_SCOPE_NOT_FOUND;
        }
        final Scope scope = scopes.get(topmostScope);
        if (scope == null) {
            return ERROR_SCOPE_NOT_FOUND;
        }
        return deleteScope(scope);
    }

    public  EcmaScriptDataModel();

}