Skip to main content

support_for_grammar

Function support_for_grammar 

Source
pub fn support_for_grammar(grammar: &str) -> Option<&'static dyn Language>
Expand description

Get language support by grammar name.

Returns None if the grammar is not recognized or the feature is not enabled.