mod component; mod view; use proc_macro::TokenStream; #[proc_macro] pub fn view(tokens: TokenStream) -> TokenStream { view::process(tokens, false) } #[proc_macro] pub fn view_docs(tokens: TokenStream) -> TokenStream { view::process(tokens, true) } #[proc_macro_attribute] pub fn component(_args: TokenStream, input: TokenStream) -> TokenStream { component::process(input) }