Skip to content

[I] SourceLocation

A source range together with the text snapshot to which its offsets refer.

PropertyModifierTypeDescriptionInherited from
endreadonlynumberThe ending position measured in UTF-16 code units from the start of the full string. Exclusive.TextRange.end
filepublicSourceFileSource text and path used to resolve the range into line and character coordinates.-
isSynthetic?publicbooleanTrue when the location is a placeholder rather than a range in actual source text.-
posreadonlynumberThe starting position of the range measured in UTF-16 code units from the start of the full string. Inclusive.TextRange.pos