code: function addSourcePackage(name, node, type, opts) {
        var comments, sourcePackage;
        sourcePackage = {
          node: node,
          name: name,
          type: type,
          body: getNodeBody(node, true),
          module: moduleName,
          dependencies: getDependencies(node, name)
        };
        merge(sourcePackage, opts);
        comments = getLastCommentForNode(node, 1);
        if (comments) {
          sourcePackage.comments = comments;
          sourcePackage.bodyWithComments = comments + '\n' + sourcePackage.body;
        } else {
          sourcePackage.bodyWithComments = sourcePackage.body;
        }
        sourcePackages.push(sourcePackage);
        return sourcePackage;
      }
docs: --- Source Packages ---