Files
sourcekit-lsp/Sources/SwiftLanguageService
Rintaro Ishizaki 4fa1b30d52 Add SymbolLocation.lspPosition, lspLocation, and make documentUri optional
Add computed properties to `SymbolLocation` that centralise the
index-to-LSP coordinate conversion:

- `uri: DocumentURI?` — returns nil when `path` is empty.
- `lspPosition: Position` — converts the 1-based line/utf8Column to a
  0-based LSP Position, using UTF-8 column as a UTF-16 approximation.
- `lspLocation: Location?` — wraps `documentUri` + `lspPosition` into
  an LSP Location, returning nil when `path` is empty.

Update all call sites.
2026-04-28 06:56:55 -07:00
..
2026-03-23 17:24:18 +01:00
2025-10-31 14:11:11 -07:00
2025-12-02 12:27:27 +00:00
2025-12-02 12:27:27 +00:00
2025-12-02 12:27:27 +00:00
2025-12-02 12:27:27 +00:00
2025-12-02 12:27:27 +00:00
2025-12-02 12:27:27 +00:00
2026-04-12 16:11:11 +10:00
2026-03-01 00:33:17 +05:30
2026-02-08 23:25:25 +05:30
2025-12-02 12:27:27 +00:00