Package com.google.debugging.sourcemap
Interface SourceMapping
-
- All Known Subinterfaces:
SourceMapConsumer
,SourceMappingReversable
- All Known Implementing Classes:
SourceMapConsumerV3
public interface SourceMapping
Interface for provide a way of mapping (line, column) positions back to positions in the original (uncompiled) source code.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
getMappingForLine(int lineNumber, int columnIndex)
Returns the original mapping for the line number and column position found in the source map.
-
-
-
Method Detail
-
getMappingForLine
com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getMappingForLine(int lineNumber, int columnIndex)
Returns the original mapping for the line number and column position found in the source map. Returns null if none is found.- Parameters:
lineNumber
- The line number, with the first being '1'.columnIndex
- The column index, with the first being '1'.
-
-