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