UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

21 lines 678 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.executeIdMapQuery = executeIdMapQuery; const log_1 = require("../../../util/log"); /** * Executes the given ID map queries using the provided analyzer. */ async function executeIdMapQuery({ analyzer }, queries) { if (queries.length !== 1) { log_1.log.warn('Id-Map query expects only up to one query, but got', queries.length); } const startTime = Date.now(); const idMap = (await analyzer.normalize()).idMap; return { '.meta': { timing: Date.now() - startTime }, idMap }; } //# sourceMappingURL=id-map-query-executor.js.map