Tokenize base-class name spans

The observer's base-class references are compiler-proven name spans,
so they join the type tokens alongside each class's own name. A real
stdio session decoded Base at its declaration line as a type token.
This commit is contained in:
faumaray committed 2026-12-06 02:14:07 +03:00
1 parent 4a029152e9
commit 1f01bcbfd5
3 files changed
+21 -1

No files matched your search

+11
View File
@@ -61,6 +61,17 @@ start coordinate only, so ranges are zero-width until an end is available.
LSP adapters and index/rename/debugging integration remain open. `vbs test`
passed all 17 native suites; CMake passed the reflection and trace suites.
## December 6 base-class tokens in semantic tokens
Semantic tokens now also cover the observer-reported base-class name spans
when they lie in the open document, as `type` tokens alongside the class's own
name. Real stdio session over `Base`/`DerivedA`/`DerivedB`:
```
semanticTokens: [(0, 7, 4, 1, 0), (1, 7, 8, 1, 0), (2, 7, 8, 1, 0), (3, 9, 6, 0, 1), ...]
```
The first entry is `Base` at its declaration. All 18 native suites and all 18
CMake tests passed.
## December 6 compiler-agnostic completion source
Per D-032, completion can now consume a documented, compiler-agnostic index