Module rcss_core::macro_helper
source · Expand description
Helper module for writing proc-macros.
Functions
- Get macro input from macro call source text. Input should be in format:
css_module! { ... }
And can be retrived in function like proc-macroSpan::call_site().source_text()
. - Get macro input from macro call source text. Using proc_macro2::TokenStream to parse input and skeep tokens.