1
2
3
4
5
6
7
8
9
macro_rules! impl_ir_node {
    ($type:ident) => {
        impl $crate::ir::IrNode for $type {
            fn node_id(&self) -> $crate::ir::NodeId {
                self.node_id
            }
        }
    };
}