How to upper case a experssion in declarative marco?

I want to upper case some experssion $x (or do any other process on it).
How to write this?

And where is the sheet of the suffixes? (like ident, expr for $x)

Thank you

I don't think it's possible to do lexical transformations like uppercase.

The designators are listed here: Macros By Example - The Rust Reference

1 Like