Skip to main content

extract

Function extract 

Source
pub fn extract(text: &str, lang: Lang) -> SymbolOutline
Expand description

Extract the symbol outline from source text. Pure: same inputs, same outline, always. Returns an empty outline (callers store no blob) when the text does not parse at all or yields no definitions — degradation is to today’s text loop, never below it.