module_scope

func module_scope(module_id: Int) -> SyntaxScope

Creates a hygiene scope for a module.

View Source
pub func module_scope(module_id: Int) -> SyntaxScope {
	SyntaxScope(kind: .module, namespace: module_id, ordinal: 0)
}