parse_body

This commit is contained in:
neuecc 2023-04-14 17:22:36 +09:00
parent 17bd45271d
commit e757b45942

View File

@ -216,13 +216,12 @@ pub fn collect_enum(ast: &syn::File, result: &mut Vec<RustEnum>) {
//let inner_ast = syn::parse(t.mac.tokens);
//let ttt = t.mac.to_token_stream();
let input = t.mac.to_tokens(tokens);
//let foo = syn::parse(tokens);
//let tako = syn::parse2(tokens);
// https://docs.rs/syn/latest/syn/struct.Macro.html
//let foo = t.mac.parse_body().unwrap();
//t.mac.tokens.to_string()
let ast: syn::DeriveInput = syn::parse_file(content)
//let file_ast = syn::parse_file(t.mac.to_tokens(tokens)
}