"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.CdmAttributeContextReference = void 0;
const internal_1 = require("../internal");
class CdmAttributeContextReference extends internal_1.CdmObjectReferenceBase {
    static get objectType() {
        return internal_1.cdmObjectType.attributeContextRef;
    }
    constructor(ctx, name) {
        super(ctx, name, true);
        this.objectType = internal_1.cdmObjectType.attributeContextRef;
    }
    getObjectType() {
        return internal_1.cdmObjectType.attributeContextRef;
    }
    /**
     * @internal
     */
    copyRefObject(resOpt, refTo, simpleReference, host) {
        if (!host) {
            return new CdmAttributeContextReference(this.ctx, refTo);
        }
        else {
            return host.copyToHost(this.ctx, refTo, simpleReference);
        }
    }
    /**
     * @internal
     */
    visitRef(pathFrom, preChildren, postChildren) {
        return false;
    }
}
exports.CdmAttributeContextReference = CdmAttributeContextReference;
//# sourceMappingURL=CdmAttributeContextReference.js.map