Skip to main content

outline

Function outline 

Source
pub fn outline(source: &str) -> Vec<DocumentSymbol>
Expand description

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).