findOrigin

fun findOrigin(lineNumber: Number, columnNumber: Number): Any(source)

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

lineNumber

The 1-indexed line number of the call site in the generated source

columnNumber

The 1-indexed column number of the call site in the generated source