Skip to main content

lexpr_to_key

Function lexpr_to_key 

Source
pub fn lexpr_to_key(
    node: Node<'_>,
    row: isize,
    line: &str,
) -> Result<(String, String, bool, bool, Range), Box<dyn Error>>
Expand description

Calls var_to_key, going down to find the inner name if necessary @param node can be any LEXPR type @param row current row being analyzed @returns [normalized name,specific name,is_array,is_str,inner range], key name includes $ if a string