@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
21 lines • 851 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.STATIC_SLICE = void 0;
const print_1 = require("../../../print/print");
const static_slicer_1 = require("../../../../slicing/static/static-slicer");
function processor(results, input) {
return (0, static_slicer_1.staticSlicing)(results.dataflow.graph, results.normalize, input.criterion, input.threshold);
}
exports.STATIC_SLICE = {
name: 'slice',
humanReadableName: 'static slice',
description: 'Calculate the actual static slice from the dataflow graph and the given slicing criteria',
processor,
executed: 1 /* PipelineStepStage.OncePerRequest */,
printer: {
[0 /* StepOutputFormat.Internal */]: print_1.internalPrinter
},
dependencies: ['dataflow'],
requiredInput: undefined
};
//# sourceMappingURL=00-slice.js.map