pub fn scan_definition_sites(root: &SyntaxNode) -> Vec<DefSite>Expand description
Scan root for user command/environment definitions and return their sites, in
document order. Same recognizer set and name resolution as scan_definitions
(the [DefKind] dispatch and [resolve_command_def] sibling heuristic), but
keeping every definition — no last-wins collapsing, since a \renewcommand of an
earlier definition is still a definition site the user may navigate to or rename.