[−][src]Function tree_sitter_highlight::highlight_html
pub fn highlight_html<'a, F1, F2>(
source: &'a [u8],
language: Language,
property_sheet: &'a PropertySheet<Properties>,
injection_callback: F1,
attribute_callback: F2
) -> Result<Vec<String>, String> where
F1: Fn(&str) -> Option<(Language, &'a PropertySheet<Properties>)>,
F2: Fn(Scope) -> &'a str,