pub fn extract_receiver_var_before_cursor(
line: &str,
cursor_col_utf16: usize,
) -> Option<String>Expand description
Extract the receiver variable from immediately before ->word or ?->word
at the cursor’s exact column position. Uses the column rather than
str::find() so multiple method calls on the same line are handled
correctly.