method Module.SourceMap.prototype.findOrigin
Jump to headingSourceMap.prototype.findOrigin(lineNumber: number,columnNumber: number,): SourceOrigin | { }
Given a 1-indexed lineNumber
and columnNumber
from a call site in the generated source,
find the corresponding call site location in the original source.
If the lineNumber
and columnNumber
provided are not found in any source map,
then an empty object is returned.
Parameters Jump to heading
Jump to headinglineNumber: number
The 1-indexed line number of the call site in the generated source
Jump to headingcolumnNumber: number
The 1-indexed column number of the call site in the generated source
Return Type Jump to heading
SourceOrigin | { }