pub fn outline(source: &str) -> Vec<DocumentSymbol>
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).