UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

19 lines (18 loc) 647 B
import type { StatisticsSummarizerConfiguration } from '../summarizer/summarizer'; import type { MergeableRecord } from '../../util/objects'; export interface SummarizedWithProject<Uniques = Set<string>, Count = number[]> { uniqueProjects: Uniques; uniqueFiles: Uniques; count: Count; } /** * */ export declare function emptySummarizedWithProject(): SummarizedWithProject; export type ReplaceKeysForSummary<Source, Target> = MergeableRecord & { [K in keyof Source]: Target; }; /** * */ export declare function recordFilePath(summarize: SummarizedWithProject, filepath: string, config: StatisticsSummarizerConfiguration): void;