syntax_data: {"ast_node_type":"function","tokens":[{"end":40,"kind":"keyword","start":0,"text":"fn"}]}
source_snippet:     fn as_type(&self) -> Option<I::Ty> {
context_before: {
context_after:         if let ty::TermKind::Ty(ty) = self.kind() { Some(ty) } else { None }