macro_rules! add_attr {
($name:ident, $owner:expr, $value:expr, $doc:expr, $dual_doc:expr) => { ... };
($name:ident <= $parent:expr, $owner:expr, $value:expr, $doc:expr, $dual_doc:expr) => { ... };
}
Defines a new attribute, and add it as a property of the owner.