Skip to main content

Module document_symbols

Module document_symbols 

Source
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 🔒