top_level_scopes -> Scope::for_each