Skip to main content

name_range

Function name_range 

Source
pub fn name_range(source: &str, name: &str) -> Range
Expand description

Build an LSP Range for a name that is a sub-slice of source.