"use strict";module.exports=function(comments){for(vari=0;i<comments.length;i++){varcomment=comments[i];if(comment.type==="CommentBlock"){comment.type="Block";}elseif(comment.type==="CommentLine"){comment.type="Line";}// sometimes comments don't get ranges computed,// even with options.ranges === trueif(!comment.range){comment.range=[comment.start,comment.end];}}};