{"ast_node_type":"function","tokens":[{"end":83,"kind":"keyword","start":0,"text":"fn"}]}
    fn with_parent<F: FnOnce(&mut Self)>(&mut self, parent_def: LocalDefId, f: F) {
        let orig_parent_def = mem::replace(&mut self.invocation_parent.parent_def, parent_def);