Skip to main content

python_name_resolution_at

Function python_name_resolution_at 

Source
pub fn python_name_resolution_at(
    name: &str,
    reference: Node<'_>,
    source: &str,
) -> PythonLexicalNameResolution
Expand description

Resolve name through the nearest enclosing function scope. This is the structured fallback for references inside nested functions that do not have their own indexed CodeUnit scope snapshot.