UNPKG

@sudoo/marked

Version:

JavaScript & TypeScript code runner in JavaScript, safe with marked territory, asynchronous

22 lines (21 loc) 581 B
"use strict"; /** * @author WMXPY * @namespace SourceMap_LocationFinder * @description Raw */ Object.defineProperty(exports, "__esModule", { value: true }); exports.RawSourceMapLocationFinder = void 0; const base_1 = require("./base"); class RawSourceMapLocationFinder extends base_1.BaseSourceMapLocationFinder { static fromEmpty() { return new RawSourceMapLocationFinder(); } constructor() { super(); } findSourceLocation(position, _node) { return position; } } exports.RawSourceMapLocationFinder = RawSourceMapLocationFinder;