Skip to main content

Module bindings

Module bindings 

Source

Structs§

PythonDirectScopeBinding
PythonLexicalScopeInventory
Function-scope Python bindings discovered from tree-sitter structure.

Enums§

PythonDirectScopeBindingKind
PythonLexicalNameResolution

Functions§

python_comprehension_binds_name_at
Whether reference reads a target introduced by an enclosing comprehension.
python_direct_scope_bindings_bounded
Return the bindings introduced directly by node.
python_is_type_parameter_binder
Whether this identifier is the binder (rather than a bound/constraint use) of one structured PEP 695 type parameter.
python_name_resolution_at
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.
python_type_parameter_binds_name_at
Whether reference reads a PEP 695 type parameter declared by its enclosing class, function, or type-alias definition.
python_unambiguous_module_class_binding_bounded