Lines Matching refs:source_text
324 source_text: String::new(),
340 source_text: String, field
385 let total_byte_offset = match self.source_text[last_byte_offset..] in byte_range()
390 None => self.source_text.len(), in byte_range()
397 let trunc_lo = &self.source_text[lo_byte..]; in byte_range()
401 None => self.source_text.len(), in byte_range()
405 fn source_text(&mut self, span: Span) -> String { in source_text() method
407 self.source_text[byte_range].to_owned() in source_text()
452 source_text: src.to_owned(), in add_file()
623 pub(crate) fn source_text(&self) -> Option<String> { in source_text() method
628 pub(crate) fn source_text(&self) -> Option<String> { in source_text() method
637 Some(SOURCE_MAP.with(|sm| sm.borrow_mut().fileinfo_mut(*self).source_text(*self))) in source_text()