function setSourceLoc(source, index, total) { const noop = babelTypes.noop(); noop.__loc = index / total; noop.__self = noop; source.ast.program.body.unshift(noop); }
function setOriginalPath(source, originalPath) { const noop = babelTypes.noop(); noop.__path = originalPath; noop.__self = noop; source.ast.program.body.unshift(noop); }