Interface: ParsedText
Defined in: Parser/index.ts:22
Properties
delegate?
readonlyoptionaldelegate:DelegateInfo
Defined in: Parser/index.ts:51
Used to delegate parsing the contents of text to another parser.
map?
readonlyoptionalmap:SourceMap
Defined in: Parser/index.ts:46
The source map is used to support text transformations.
See: SourceMap
range
readonlyrange:Range
Defined in: Parser/index.ts:34
start and end offsets of the text
rawText?
readonlyoptionalrawText:string
Defined in: Parser/index.ts:30
The raw text before it has been transformed
scope?
readonlyoptionalscope:Scope
Defined in: Parser/index.ts:40
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: Parser/index.ts:26
The text extracted and possibly transformed