def METHOD_NAME(en, cause=None):
    if en.name() in visited:
        return
    visited.add(en.name())
    entities.add(en.name())
    causes[en.name()].add(cause)
    # print(en.name())
    for attr in en.attributes():
        # print(attr.name())
        visit_typedecl(attr.type_of_attribute(), f"{en.name()}.{attr.name()}")