"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rangeToLoc = rangeToLoc;
function rangeToLoc(sourceCode, range) {
    return {
        end: sourceCode.getLocFromIndex(range[1]),
        start: sourceCode.getLocFromIndex(range[0]),
    };
}
//# sourceMappingURL=rangeToLoc.js.map