{"ast_node_type":"function","tokens":[{"end":93,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn scope_chain(&self, scope: Option<ScopeId>) -> impl Iterator<Item = ScopeId> + '_ {
    /// Returns the scopes in ascending order.
        std::iter::successors(scope, move |&scope| self.scopes[scope].parent)