Skip to main content

mentioned_span

Function mentioned_span 

Source
fn mentioned_span(
    model: &Model,
    text: &str,
    message: &str,
) -> Option<Range<usize>>
Expand description

The span in text of the first function or measure message names: a measure by its exact name, a function by its upper-case name (as messages print it) written as a call. Earliest in the message wins.