mod signatures;
use crate::attributes::Attribute;
pub use class::*;
pub use class_entries::*;
pub use signatures::*;
pub use fully_qualified_name::*;
pub mod attributes;
mod class;
mod class_entries;
mod fully_qualified_name;
pub trait HasAttributes {
type Iter<'a>: Iterator<Item = Attribute<'a>>
where
Self: 'a;
fn attributes<'a>(&'a self) -> Self::Iter<'a>;
fn get_attribute(&self, name: &str) -> Option<Attribute> {
self.attributes()
.find(|att: &Attribute| att.attribute_name() == name)
}
}