Skip to main content

FnMacroHandler

Type Alias FnMacroHandler 

Source
pub type FnMacroHandler = fn(&mut MacroExpander<'_>) -> ParseResult<Vec<Token>>;
Expand description

Handler type for function-based macros (e.g. \TextOrMath, @ifstar). Takes the MacroExpander mutably and returns tokens to push onto the stack.