Skip to main content

opens_space

Function opens_space 

Source
pub fn opens_space<'a>(
    node: &Node<'a>,
    code: &[u8],
    ancestors: Ancestors<'a, '_>,
) -> SpaceKind
Expand description

The SpaceKind node opens, folded over every opens annotation in this table; Unknown when it opens none. This is the one gated scan of the space-opening rows: a consumer that needs both “does it open a space” and “which kind” calls this once and tests for Unknown, rather than paying each owner’s gate twice through owns and here.