import { RefactorEditInfo } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Set of edits to make in response to a refactor action, plus an optional location where renaming should be invoked from.
Methods
applyChanges(options?: ApplyFileTextChangesOptions): this
Executes the combined code actions.
WARNING: This will cause all nodes to be forgotten in the changed files.
getEdits(): FileTextChanges[]
Gets refactor file text changes
getRenameFilePath(): string | undefined
Gets the file path for a rename refactor.
getRenameLocation(): number | undefined
Location where renaming should be invoked from.