Skip to main content

entry_source_span

Function entry_source_span 

Source
pub fn entry_source_span(source_chars: &[char], entry: &Entry) -> (usize, usize)
Expand description

The [start, end) char-offset slice of source covering entry: from the start of its @type{ line through just before the next line-starting @ (or EOF). Mirrors naming.py::_entry_source_span.