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.
This commit is contained in:
faumaray committed 2026-12-05 15:19:42 +03:00
1 parent 946b1a005e
commit 12a71ff692
12 files changed
+220 -8

No files matched your search

+5 -4
View File
@@ -19,6 +19,7 @@ missing part.
| textDocument/documentHighlight | `vls_feature_tests`, real stdio session |
| textDocument/selectionRange, foldingRange | `vls_feature_tests`, real stdio session |
| textDocument/codeAction (quickfix) | `vls_feature_tests` + `vls_diagnostic_tests`, real stdio session |
| textDocument/semanticTokens/full | `vls_feature_tests`, real stdio session |
| workspace/symbol | stock occurrence corpus |
| voidLanguageServer/analysisStatus, providerStatus | stdio corpora |
| Debug adapter (DAP) separately through `vls-dap` | `vls_live_tests`, `vls_dap_tests` |
@@ -30,7 +31,7 @@ missing part.
| Compiler-native completion with visibility proof | index-backed completion is explicitly incomplete |
| Overload-set signature help | only the selected occurrence's signature is available |
| textDocument/formatting | needs a plan |
| textDocument/semanticTokens, inlayHint | larger
| textDocument/inlayHint | open |
| textDocument/codeLens, executeCommand | command surface not designed |
| callHierarchy / typeHierarchy | needs compiler call/type relationships |
| workspace edits and file operations | client-side application is also open |
@@ -39,6 +40,6 @@ missing part.
## Next slices
1. Semantic tokens from stock occurrences.
2. Formatting and inlay hints.
3. call/type hierarchy and code lens.
1. Formatting and inlay hints.
2. call/type hierarchy and code lens.
3. executeCommand and workspace edits/file operations.