Skip to main content

python_import_bindings_from_tree

Function python_import_bindings_from_tree 

Source
pub fn python_import_bindings_from_tree(
    root: Node<'_>,
    source: &str,
) -> Vec<PythonImportBinding>
Expand description

Return structured import bindings from a tree the caller already owns. Query paths use this form so one request never reparses a document merely to recover function-local import scope.