module analysis::diff::edits::TextEdits
rascal-0.34.0
Usage
import analysis::diff::edits::TextEdits;
data DocumentEdit
data DocumentEdit
= removed(loc file)
| created(loc file)
| renamed(loc from, loc to)
| changed(loc file, list[TextEdit] edits)
;
data TextEdit
data TextEdit
= replace(loc range, str replacement)
;
function delete
TextEdit delete(loc range)