Function get_locator

Source
pub fn get_locator(code: &CharString) -> impl Fn(usize) -> Loc