"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.ProjectionContext = void 0;
const internal_1 = require("../../internal");
/**
 * Context for each projection or nested projection
 * @internal
 */
class ProjectionContext {
    constructor(projDirective, attrCtx) {
        var _a;
        this.projectionDirective = projDirective;
        this.currentAttributeContext = attrCtx;
        this.currentAttributeStateSet = new internal_1.ProjectionAttributeStateSet((_a = projDirective === null || projDirective === void 0 ? void 0 : projDirective.owner) === null || _a === void 0 ? void 0 : _a.ctx);
    }
}
exports.ProjectionContext = ProjectionContext;
//# sourceMappingURL=ProjectionContext.js.map