Interface: TextDocumentFragment
Defined in: Parser/types.ts:75
A fragment of a text document, representing a subset of the full document.
Since
10.4.0
Extends
Properties
fullText?
readonlyoptionalfullText?:string
Defined in: Parser/types.ts:89
Optional full text of the document containing this fragment.
range
readonlyrange:Range
Defined in: Parser/types.ts:84
The range of the text fragment within the full text of the document.
text
readonlytext:string
Defined in: Parser/types.ts:79
the raw text fragment contained in this document fragment.
Overrides
url
readonlyurl:string|URL
Defined in: Parser/types.ts:63
The associated URL for this document. Most documents have the file: protocol, indicating that they
represent files on disk. However, some documents may have other protocols indicating that they are not
available on disk.