pub fn python_unambiguous_module_binding_bounded(
root: Node<'_>,
source: &str,
target_name: &str,
scope_step: impl FnMut() -> bool,
) -> Option<Option<PythonDirectScopeBindingKind>>Expand description
The kind of the module scope’s one binding of target_name.
Some(None) says the module does not bind the name, binds it more than
once, or leaves its identity open through a wildcard import; the name is
then not a proven reference to one module-level declaration. None says the
bounded walk ran out of work.