pub fn module_scope_node_slices(program: &[SNode]) -> Vec<&[SNode]>Expand description
Node slices whose declarations are predeclared in the module type scope.
Top-level declarations and declarations directly inside pipeline bodies share one module-visible namespace. Function, tool, closure, and nested block declarations remain lexical to those bodies. The typechecker and VM compiler consume this same projection so an inaccessible nested enum cannot make a bare match pattern ambiguous in only one subsystem.