Skip to main content

parser_for_path

Function parser_for_path 

Source
pub fn parser_for_path(path: &Path) -> Option<Box<dyn LanguageParser>>
Expand description

Return the appropriate parser for path, keyed on file extension. Returns None when the extension is unsupported.