Skip to main content

python_import_syntaxes_from_node

Function python_import_syntaxes_from_node 

Source
pub fn python_import_syntaxes_from_node<'tree>(
    node: Node<'tree>,
    source: &str,
) -> Vec<PythonImportSyntax<'tree>>
Expand description

Interpret every import leaf in one statement and retain its exact AST binder nodes. Malformed leaves are omitted with the same admission rules as the historical generic import projection.