{"ast_node_type":"variable","tokens":[{"end":71,"kind":"keyword","start":0,"text":"if"}]}
                    if let Some((AdtId::EnumId(id), _)) = ty.as_adt() {
                    // of the same name.
                        let enum_data = id.enum_variants(self.db);