Interface: ParsedText
Defined in: packages/cspell-types/dist/index-BUF_NEXq.d.mts:19
Properties
delegate?
readonlyoptionaldelegate:DelegateInfo
Defined in: packages/cspell-types/dist/index-BUF_NEXq.d.mts:48
Used to delegate parsing the contents of text to another parser.
map?
readonlyoptionalmap:SourceMap
Defined in: packages/cspell-types/dist/index-BUF_NEXq.d.mts:43
The source map is used to support text transformations.
See: SourceMap
range
readonlyrange:Range
Defined in: packages/cspell-types/dist/index-BUF_NEXq.d.mts:31
start and end offsets of the text
rawText?
readonlyoptionalrawText:string
Defined in: packages/cspell-types/dist/index-BUF_NEXq.d.mts:27
The raw text before it has been transformed
scope?
readonlyoptionalscope:Scope
Defined in: packages/cspell-types/dist/index-BUF_NEXq.d.mts:37
The Scope annotation for a segment of text. Used by the spell checker to apply spell checking options based upon the value of the scope.
text
readonlytext:string
Defined in: packages/cspell-types/dist/index-BUF_NEXq.d.mts:23
The text extracted and possibly transformed