Get the text for a span
(&self, span: Span)
| 111 | |
| 112 | /// Get the text for a span |
| 113 | pub fn span_text(&self, span: Span) -> &str { |
| 114 | &self.content[span.start as usize..span.end as usize] |
| 115 | } |
| 116 | |
| 117 | /// Get a line of source code |
| 118 | pub fn line(&self, line_num: u32) -> Option<&str> { |
nothing calls this directly
no outgoing calls
no test coverage detected