"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImportPriorities = void 0;
/**
 * @internal
 */
class ImportPriorities {
    constructor() {
        this.importPriority = new Map();
        this.monikerPriorityMap = new Map();
        this.hasCircularImport = false;
    }
    copy() {
        const copy = new ImportPriorities();
        if (this.importPriority) {
            this.importPriority.forEach((v, k) => { copy.importPriority.set(k, v); });
        }
        if (this.monikerPriorityMap) {
            this.monikerPriorityMap.forEach((v, k) => { copy.monikerPriorityMap.set(k, v); });
        }
        copy.hasCircularImport = this.hasCircularImport;
        return copy;
    }
}
exports.ImportPriorities = ImportPriorities;
//# sourceMappingURL=ImportPriorities.js.map