Expand description
Document-symbol tree for the LSP textDocument/documentSymbol request
(v1.1; LSP spec §3.7).
Walks a single file’s parsed AST and emits a hierarchical
[DocumentSymbol] tree that populates VS Code’s Outline pane and
powers “Go to Symbol in File” (Cmd-Shift-O). Multi-file commons /
contexts each report only their own file’s contents — joining across
files is workspaceSymbol territory, which is deferred.
Functions§
- actor_
symbol 🔒 - adapter_
symbol 🔒 - agent_
symbol 🔒 - capability_
symbol 🔒 - commons_
symbol 🔒 - context_
symbol 🔒 - detail_
from_ 🔒doc - fn_
symbol 🔒 - handler_
symbol 🔒 - integration_
symbol 🔒 - item_
symbol 🔒 - make_
symbol 🔒 - outline
- Build the document-symbol tree for the given source text. Returns an empty vector when the file cannot be parsed at all (no recognisable header).
- provider_
symbol 🔒 - record_
field_ 🔒symbols - service_
symbol 🔒 - test_
symbol 🔒 - type_
symbol 🔒 - variant_
symbols 🔒