Skip to main content

Module symbols

Module symbols 

Source
Expand description

Symbol reference parsing and stable symbol node IDs.

Notes may reference code with symbol:… anchors. This module parses those refs, builds canonical symbol/… node ids, and resolves them against the set of indexed symbol nodes.

Structs§

SymbolRef
A reference from a Markdown note to a code symbol.

Functions§

extract_symbol_refs
Extract symbol:… references from Markdown body (outside code fences).
note_id_from_path
Helper for docs path ids (re-export convenience).
parse_symbol_path
Parse crate::module::Name or Name into a SymbolRef.
resolve_symbol_ref
Resolve a symbol ref against known symbol node ids.
symbol_node_id
Build the canonical node id for a code symbol.