emit_decls

Function emit_decls 

Source
pub fn emit_decls(decls: TokenStream) -> TokenStream
Expand description

Deal with $HYPERLIGHT_COMPONENT_MACRO_DEBUG: if it is present, save the given token stream (representing the result of macroexpansion) to the debug file and include that file instead of directly returning the given token stream.