mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2024-12-22 22:46:26 +00:00
parse_body
This commit is contained in:
parent
17bd45271d
commit
e757b45942
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user