Function semantic_tokens

Source
pub fn semantic_tokens(
    doc: &mut Document,
    range: Option<Range>,
) -> Vec<SemanticToken>
Expand description

Generate the semantic tokens of a document for syntax highlighting.