import { TextRange } from "https://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts";
Properties
readonly
compilerObject: TRangeGets the underlying compiler object.
Methods
getEnd(): number
Gets the end.
getPos(): number
Gets the position.
Gets the source file of the text range.
getText(): string
Gets the text of the text range.
getWidth(): number
Gets the width of the text range.
wasForgotten(): boolean
Gets if the text range was forgotten.
This will be true after any manipulations have occured to the source file this text range was generated from.