import { FileTextChanges } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
applyChanges(options?: ApplyFileTextChangesOptions): this | undefined
Applies the text changes to the file. This modifies and possibly creates a new source file.
WARNING: This will forget any previously navigated descendant nodes in the source file.
getFilePath(): string
Gets the file path.
getSourceFile(): SourceFile | undefined
Gets the source file if it was in the cache at the time of this class' creation.
getTextChanges(): TextChange[]
Gets the text changes
isNewFile(): boolean
Gets if this change is for creating a new file.