I am creating a SWC plugin using rust. I have a JSXAttrValue enum. How to get a string from it?
fn visit_mut_jsx_attr_value(&mut self, n: &mut JSXAttrValue) {
let value = ?????;
}
I need the ability to compare "value" with a string or write to a file.
The same question on the rust forum.