Skip to main content

python_runtime_keyed_access_seed

Function python_runtime_keyed_access_seed 

Source
pub fn python_runtime_keyed_access_seed<'tree>(
    node: Node<'tree>,
) -> Option<Node<'tree>>
Expand description

The structural node that represents one reviewed keyed read.

A Python subscript expression has no structural fact of its own, so the read is addressed by the base of its access chain: the <module>.<container> attribute. This is the same seed the extractor publishes as candidate_anchor, so a query and the executable load agree on one identity. A node that is not a reviewed keyed read has no seed.