@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
8 lines (7 loc) • 362 B
TypeScript
import type { NodeId } from '../r-bridge/lang-4.x/ast/model/processing/node-id';
import { Ternary } from '../util/logic';
import type { ControlFlowGraph } from './control-flow-graph';
/**
* Determines if node `a` happens before node `b` in the control flow graph.
*/
export declare function happensBefore(cfg: ControlFlowGraph, a: NodeId, b: NodeId): Ternary;