pub fn python_comprehension_binds_name_at(
name: &str,
reference: Node<'_>,
source: &str,
) -> boolExpand description
Whether reference reads a target introduced by an enclosing comprehension.
Comprehensions create an implicit scope even at module level. The element
expression is textually before its for clauses but evaluates after their
binders. Only the first iterable evaluates in the enclosing scope; later
iterables use comprehension-local names, including not-yet-bound targets.
This structured walk models those scopes without source-text parsing.