"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.InputValues = void 0;
/**
 * A structure to carry all the input values during evaluation/resolution of an expression tree
 * @internal
 */
class InputValues {
    constructor(projDirective) {
        var _a, _b;
        if (!projDirective) {
            return;
        }
        this.noMaxDepth = projDirective.hasNoMaximumDepth;
        this.isArray = projDirective.isArray;
        this.referenceOnly = projDirective.isReferenceOnly;
        this.normalized = projDirective.isNormalized;
        this.structured = projDirective.isStructured;
        this.isVirtual = projDirective.isVirtual;
        this.nextDepth = projDirective.resOpt.depthInfo.currentDepth;
        this.maxDepth = projDirective.maximumDepth;
        this.minCardinality = (_a = projDirective.cardinality) === null || _a === void 0 ? void 0 : _a._minimumNumber;
        this.maxCardinality = (_b = projDirective.cardinality) === null || _b === void 0 ? void 0 : _b._maximumNumber;
    }
}
exports.InputValues = InputValues;
//# sourceMappingURL=InputValues.js.map