{"ast_node_type":"variable","tokens":[{"end":36,"kind":"keyword","start":0,"text":"if"}]}
        if let Some(variant) = def {
        let (ty, def) = self.resolve_variant(id.into(), path, false);
            self.write_variant_resolution(id.into(), variant);