    Class,
    Method,
    Field,
    Import,
    Function,
    Interface,
}

pub struct Validator<'l> {
    parent_is_class: bool,
    elements: HashMap<String, Kind>,
    children: HashMap<String, Kind>,