@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
8 lines (7 loc) • 337 B
TypeScript
import type Parser from 'web-tree-sitter';
/**
* Computes a single minimal change region ({@link Parser.Edit}) that contains all modifications.
* @param oldContent - The original content.
* @param newContent - The changed content.
*/
export declare function computeEditRegion(oldContent: string, newContent: string): Parser.Edit;