Skip to main content

extract

Function extract 

Source
pub fn extract(source: &str, language: Language) -> Facts
Expand description

Extracts structural facts from one source file.

Languages this crate can tokenize but has no structural model for yet - shell and YAML - return no facts rather than guesses.