@staticmethod
def p_a2ml_enum_type_name(p):
    """a2ml_enum_type_name : enum a2ml_identifier_optional CURLY_OPEN a2ml_enumerator_list CURLY_CLOSE
                               | enum a2ml_identifier"""
    try:
        p[0] = [p[2]] + p[4]
    except IndexError:
        p[0] = [p[2]]
