@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
21 lines • 815 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NAIVE_RECONSTRUCT = void 0;
const print_1 = require("../../../print/print");
const reconstruct_1 = require("../../../../reconstruct/reconstruct");
function processor(results, input) {
return (0, reconstruct_1.reconstructToCode)(results.normalize, results.slice.result, input.autoSelectIf);
}
exports.NAIVE_RECONSTRUCT = {
name: 'reconstruct',
humanReadableName: 'static code reconstruction',
description: 'Reconstruct R code from the static slice',
processor,
executed: 1 /* PipelineStepStage.OncePerRequest */,
printer: {
[0 /* StepOutputFormat.Internal */]: print_1.internalPrinter
},
dependencies: ['slice'],
requiredInput: undefined
};
//# sourceMappingURL=10-reconstruct.js.map