"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.evaluateMemorySpec = evaluateMemorySpec;
const evaluateDataObj_1 = require("./evaluateDataObj");
function evaluateMemorySpec(memory, specs, classes, resolver = () => {
    return undefined;
}) {
    for (const inputId in memory.input) {
        const input = memory.input[inputId];
        memory.input[inputId] = (0, evaluateDataObj_1.evaluateDataObj)(input, specs, classes, resolver);
    }
    for (const outputId in memory.output) {
        const output = memory.output[outputId];
        memory.output[outputId] = (0, evaluateDataObj_1.evaluateDataObj)(output, specs, classes, resolver);
    }
    memory.memory = (0, evaluateDataObj_1.evaluateDataObj)(memory.memory, specs, classes, resolver);
}
//# sourceMappingURL=evaluateMemorySpec.js.map