(&mut self, span: SpanId, range: Range<usize>)
| 39 | } |
| 40 | |
| 41 | pub(crate) fn cover(&mut self, span: SpanId, range: Range<usize>) { |
| 42 | self.spans.update(span, |span, _| { |
| 43 | span.range = span.range.cover(range_to_text(range.clone())); |
| 44 | }); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | pub(crate) type Input<'heap, 'span, 'source> = |