Skip to main content

extract_static_class_before_cursor

Function extract_static_class_before_cursor 

Source
pub fn extract_static_class_before_cursor(
    line: &str,
    cursor_col_utf16: usize,
) -> Option<String>
Expand description

Extract the class name from immediately before :: at the cursor’s column.