pub fn immediate_children(node: &SNode) -> Vec<&SNode> ⓘExpand description
Collect node’s immediate children without recursing. Lets callers walk
selectively (e.g. stop descending at nested loops) while still relying on
this module’s single source of truth for each variant’s children.