[][src]Macro postfix_macros::postfix_macros

postfix_macros!() { /* proc-macro */ }

Proc macro to parse code containing postfix macros, to rewrite it to use traditional macro invocations.

The main macro of this crate.

The macro scans for expr.macro_invoc!(params) patterns and changes them to macro_invoc!(expr, params) patterns.

If no parameters are passed to the postfix macro, then no trailing , is emitted.