{"ast_node_type":"function","tokens":[{"end":47,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn as_type(&self) -> Option<Ty<'tcx>> {
        if let TermKind::Ty(ty) = self.kind() { Some(ty) } else { None }