pub fn string_and_comment_spans(source: &str) -> Vec<SourceSpan>Expand description
Byte-span regions of string literals and comments in source. A tool that
edits identifier occurrences (e.g. whip lsp rename) consults these to avoid
touching text inside a prompt string or a comment — only code identifiers are
real references.