@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
8 lines (7 loc) • 453 B
TypeScript
import type { ControlFlowInformation } from '../cfg/cfg';
import type { NormalizedAst } from '../../r-bridge/lang-4.x/ast/model/processing/decorate';
export declare function cfgToMermaid(cfg: ControlFlowInformation, normalizedAst: NormalizedAst, prefix?: string): string;
/**
* Use mermaid to visualize the normalized AST.
*/
export declare function cfgToMermaidUrl(cfg: ControlFlowInformation, normalizedAst: NormalizedAst, prefix?: string): string;