Skip to main content

classify

Function classify 

Source
pub fn classify(lang: Lang, src: &str) -> Option<Classified>
Expand description

Finds every comment, import, logging statement and test block in src. Returns None only if the parser could not run at all.