Skip to main content

source_text_range

Function source_text_range 

Source
pub fn source_text_range(span: SourceSpan) -> Option<String>
Expand description

The source text of span, from the file text registered by set_source_text / set_source_texts (None if that file’s text is not registered, e.g. a span in an `include d file).