---
jsApi: true
title: "[I] SourceLocation"

---
## Extends

- [`TextRange`](TextRange.md)

## Properties

| Modifier | Property | Type | Description | Inheritance |
| :------ | :------ | :------ | :------ | :------ |
| `readonly` | `end` | `number` | The ending position measured in UTF-16 code units from the start of the<br />full string. Exclusive. | [`TextRange.end`](TextRange.md) |
| `public` | `file` | [`SourceFile`](SourceFile.md) | - | - |
| `public` | `isSynthetic?` | `boolean` | - | - |
| `readonly` | `pos` | `number` | The starting position of the ranger measured in UTF-16 code units from the<br />start of the full string. Inclusive. | [`TextRange.pos`](TextRange.md) |
