code: def parse_value(named_reg_value):
      
      name, value, value_type = named_reg_value
      value_class = REG_VALUE_TYPE_MAP[value_type]
      return name, value_class(value)
docs: Convert the value returned from EnumValue to a (name, value) tuple using the value classes.