Function sway_core::semantic_analysis::create_new_scope
source · [−]pub fn create_new_scope(parent: NamespaceRef) -> NamespaceRefExpand description
Given a NamespaceRef that refers to a module, construct a new Namespace (incurring the
cloning cost) with parent as its parent.