look_inside_derive 0.1.0

Macros for look_inside
Documentation
1
2
3
4
5
6
7
8
9
10
use proc_macro::TokenStream;
use syn::{parse_macro_input, DeriveInput};

#[proc_macro_derive(LookInside)]
pub fn look_inside(input: TokenStream) -> TokenStream {
    // Parse the input tokens into a syntax tree
    let input = parse_macro_input!(input as DeriveInput);

    panic!("{:#?}", input);
}