[I] SourceLocation
A source range together with the text snapshot to which its offsets refer.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
end | readonly | number | The ending position measured in UTF-16 code units from the start of the full string. Exclusive. | TextRange.end |
file | public | SourceFile | Source text and path used to resolve the range into line and character coordinates. | - |
isSynthetic? | public | boolean | True when the location is a placeholder rather than a range in actual source text. | - |
pos | readonly | number | The starting position of the range measured in UTF-16 code units from the start of the full string. Inclusive. | TextRange.pos |