Distinguish definition tokens from declarations

The stock observer reports targetKind inside each proven target span,
the decoder carries it, and semantic tokens apply the legend's
definition modifier instead of always declaring. The observer
verifier validates the field and the definition span parser ignores it
as envelope metadata. A real stdio session showed modifier 2 on the
factory definitions.
This commit is contained in:
faumaray committed 2026-12-06 04:23:39 +03:00
1 parent 67ca5ea275
commit e4a68a3678
9 files changed
+41 -5

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ missing part. Updated December 5, 2026 after semantic tokens and inlay hints.
| callHierarchy / typeHierarchy | prepare, incomingCalls and outgoingCalls are implemented and served; outgoing calls are verified over stdio now that the observer reports full function extents. Type hierarchy is open. |
| Client-side application of server-issued workspace edits | Neovim and VS Code both apply `changes` and versioned `documentChanges` |
| Applying multi-file renames through client buffers | plans can be ready; application is client work |
| richer token types | legend has `function` and `type` (class, base, definition names) plus a `declaration` modifier; more types need further compiler spans |
| richer token types | legend has `function` and `type` (class, base, definition names) plus `declaration`/`definition` modifiers; more types need further compiler spans |
## Next slices