macro_rules! register_component_factory { ( $ cx: ident, $ registry: ident, $ ty: ty, $ factory: ident) => { ... }; }