{"ast_node_type":"variable","tokens":[{"end":72,"kind":"keyword","start":0,"text":"if"}]}
                if let Some((AdtId::EnumId(enum_id), _)) = ty.as_adt() {
                // this could be an enum variant or associated type
                    let enum_data = enum_id.enum_variants(self.db);