{"version":3,"sources":["jsdelivr-header.js","/npm/acorn-to-esprima@2.0.0/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,QAAQ,eAAiB,QAAQ,oBAEjC,QAAQ,SAAiB,QAAQ,cACjC,QAAQ,MAAiB,QAAQ,WAEjC,QAAQ,gBAAkB,SAAU,GAClC,IAAK,IAAI,EAAI,EAAG,EAAI,EAAS,OAAQ,IAAK,CACxC,IAAI,EAAU,EAAS,GACF,iBAAjB,EAAQ,KACV,EAAQ,KAAO,QACW,gBAAjB,EAAQ,OACjB,EAAQ,KAAO,QAIZ,EAAQ,QACX,EAAQ,MAAQ,CAAC,EAAQ,MAAO,EAAQ,KAE5C,CACF","file":"/npm/acorn-to-esprima@2.0.0/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/acorn-to-esprima@2.0.0/src/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","exports.attachComments = require(\"./attachComments\");\n\nexports.toTokens       = require(\"./toTokens\"); // requires babel tokTypes\nexports.toAST          = require(\"./toAST\"); // requires traversal method\n\nexports.convertComments = function (comments) {\n  for (var i = 0; i < comments.length; i++) {\n    var comment = comments[i];\n    if (comment.type === \"CommentBlock\") {\n      comment.type = \"Block\";\n    } else if (comment.type === \"CommentLine\") {\n      comment.type = \"Line\";\n    }\n    // sometimes comments don't get ranges computed,\n    // even with options.ranges === true\n    if (!comment.range) {\n      comment.range = [comment.start, comment.end];\n    }\n  }\n}"]}