pub fn namespace_import_demands(
program: &[SNode],
) -> BTreeMap<String, NamespaceDemand>Expand description
Compute conservative member demand for every namespace import in program.
An unused private namespace has an empty member set: importing it still loads and initializes its target module, but consumers may omit all public exports from the namespace projection. Public namespace imports, alias escapes, dynamic access, duplicate/conflicting bindings, and future syntax not recognized as a direct member access all require the whole namespace.