Skip to main content

string_parts

Function string_parts 

Source
pub fn string_parts(source: &str) -> Vec<(Span, StringPart)>
Expand description

The escape sequences and raw delimiters of every string literal in source (including those inside interpolation holes), for the editor’s semantic tokens. Empty when the file does not lex.