Skip to main content

extract_variable_names

Function extract_variable_names 

Source
pub fn extract_variable_names(
    source: &str,
    start_line: i64,
    end_line: i64,
) -> Vec<String>
Expand description

Extract unique variable names from source code within a line range.

Lines are 1-based. Returns deduplicated variable names with their sigils.