Interface ParsedText

interface ParsedText {
    delegate?: DelegateInfo;
    map?: SourceMap;
    range: Range;
    rawText?: string;
    scope?: Scope;
    text: string;
}

Properties

delegate?: DelegateInfo

Used to delegate parsing the contents of text to another parser.

map?: SourceMap

The source map is used to support text transformations.

See: SourceMap

range: Range

start and end offsets of the text

rawText?: string

The raw text before it has been transformed

scope?: Scope

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: string

The text extracted and possibly transformed