@staticmethod
def p_bit_operation_optional(p):
    """bit_operation_optional : left_shift
                                  | right_shift
                                  | sign_extend"""
    p[0] = p.slice[1].type, p[1]
