@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
17 lines (16 loc) • 638 B
TypeScript
import { DataflowGraph } from '../../dataflow/graph/graph';
import { VertexType } from '../../dataflow/graph/vertex';
import type { MergeableRecord } from '../objects';
import type { DeepPartial } from 'ts-essentials';
export interface ReduceVertexOptions extends MergeableRecord {
tags: VertexType[];
nameRegex: string;
blacklistWithName: boolean;
keepEnv: boolean;
keepCd: boolean;
compactFunctions: boolean;
}
export interface ReduceOptions extends MergeableRecord {
vertices: ReduceVertexOptions;
}
export declare function reduceDfg(dfg: DataflowGraph, options: DeepPartial<ReduceOptions>): DataflowGraph;