public class SourceMapConsumerV1 extends Object implements SourceMapConsumer
Constructor and Description |
---|
SourceMapConsumerV1() |
Modifier and Type | Method and Description |
---|---|
Mapping.OriginalMapping |
getMappingForLine(int lineNumber,
int columnIndex)
Returns the original mapping for the line number and column position found
in the source map.
|
void |
parse(String contents)
Parses the given contents containing a source map.
|
public void parse(String contents) throws SourceMapParseException
parse
in interface SourceMapConsumer
SourceMapParseException
public Mapping.OriginalMapping getMappingForLine(int lineNumber, int columnIndex)
SourceMapping
getMappingForLine
in interface SourceMapping
lineNumber
- The line number, with the first being '1'.columnIndex
- The column index, with the first being '1'.