code: function getMD5text(part) {
      var message = '';
      var constants = part.constants.map(function(field) {
        return field.type + ' ' + field.name + '=' + field.raw;
      }).join('\n');
  
      var fields = part.fields.map(function(field) {
        if (field.messageType) {
          return field.messageType.md5 + ' ' + field.name;
        }
        else {
          return field.type + ' ' + field.name;
        }
      }).join('\n');
  
      message += constants;
      if (message.length > 0 && fields.length > 0) {
        message += "\n";
      }
      message += fields;
      return message;
    }
docs: /* get the text for one part of the type definition to compute the
  md5sum over