UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

26 lines (25 loc) 1.18 kB
import { internalPrinter } from '../../../print/print'; import { PipelineStepStage } from '../../pipeline-step'; import type { SliceResult } from '../../../../slicing/static/slicer-types'; import type { NormalizedAst } from '../../../../r-bridge/lang-4.x/ast/model/processing/decorate'; import type { AutoSelectPredicate } from '../../../../reconstruct/auto-select/auto-select-defaults'; export interface ReconstructRequiredInput { autoSelectIf?: AutoSelectPredicate; } declare function processor(results: { normalize?: NormalizedAst; slice?: SliceResult; }, input: Partial<ReconstructRequiredInput>): import("../../../../reconstruct/reconstruct").ReconstructionResult; export declare const NAIVE_RECONSTRUCT: { readonly name: "reconstruct"; readonly humanReadableName: "static code reconstruction"; readonly description: "Reconstruct R code from the static slice"; readonly processor: typeof processor; readonly executed: PipelineStepStage.OncePerRequest; readonly printer: { readonly 0: typeof internalPrinter; }; readonly dependencies: readonly ["slice"]; readonly requiredInput: ReconstructRequiredInput; }; export {};