Skip to main content

Interface: SourceMapper

Maps a bundle position (1-based line, 0-based column) to its source position.

Methods​

lookup()​

lookup(line, column?): SourcePosition

Without a column, the first mapped segment of the line is used.

Parameters​

line​

number

column?​

number

Returns​

SourcePosition