@staticmethod
def p_group_optional(p):
    """group_optional : annotation
                          | root
                          | ref_characteristic
                          | ref_measurement
                          | function_list
                          | sub_group"""
    p[0] = p.slice[1].type, p[1]
