Tools for writing procedural macroses.
```rust use procmacrotools::*;
let code = qt!( core::option::Option< i8, i16, i32, i64 > ); let treetype = syn::parse2::< syn::Type >( code ).unwrap(); let got = typeparameters( &treetype, 0..=2 ); got.iter().foreach( | e | println!( "{}", qt!( #e ) ) ); // < i8 // < i16 // < i32 ```
sh
cargo add proc_macro_tools
sh
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/proc_macro_tools_trivial
cargo run