Commit Graph
2 Commits
Author SHA1 Message Date
faumaray 816c38da1e Mark same-file definitions in semantic tokens
The server legend gains a declaration modifier, and EditorDiagnostics
emits the definition-name token with it when the definition lies in the
same document. No type token is emitted because the canonical type has
no source span. Registered tests cover modifier encoding and the
overlap rule; a real stdio session showed the modifier on both
definition names.
2026-12-05 18:27:17 +03:00
faumaray 12a71ff692 Serve semantic tokens from stock occurrences
A bounded core normalizes occurrence tokens (sorted, deduplicated,
overlap-free, capped) and delta-encodes them. EditorDiagnostics emits
one function token per proven call occurrence in the owner snapshot,
and the server advertises a one-type legend and serves
textDocument/semanticTokens/full. Registered tests cover
normalization, encoding, overlap and bounds; a real stdio session
decoded the fnv1a64 callee token.
2026-12-05 15:19:42 +03:00