{"ast_node_type":"variable","tokens":[{"end":71,"kind":"keyword","start":0,"text":"if"}]}
                    if let Some(variant) = enum_data.variant(segment) {
                    let enum_data = enum_id.enum_variants(self.db);
                        return (ty, Some(variant.into()));