pub fn interpolation_debug_text(
source_file: &SourceFile,
debug_text: &DebugText,
expression_range: TextRange,
) -> (String, TextRange)Expand description
The text a {expr=} interpolation puts in front of its value, and the range
that text covers.
The text is the expression as it is written plus whatever the parser found around it inside the braces, with comments taken out. The range covers that surrounding text as it stands, comments included.