pub fn apply_edit(prog: &Program, edit: &Edit) -> ProgramExpand description
Apply a structural edit to a program, returning a new program.
This does not modify the original — projectional authoring treats the AST as immutable structure; edits produce new structure.