Package com.google.javascript.jscomp
Interface SourceFileMapping
- All Known Implementing Classes:
Compiler
public interface SourceFileMapping
A SourceFileMapping maps a source file, line, and column into an
Mapping.OriginalMapping
.- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable com.google.debugging.sourcemap.proto.Mapping.OriginalMapping
getSourceMapping
(String fileName, int lineNo, int columnNo) Returns the original mapping for the file name, line number and column position found in the source map.
-
Method Details
-
getSourceMapping
@Nullable com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getSourceMapping(String fileName, int lineNo, int columnNo) Returns the original mapping for the file name, line number and column position found in the source map. Returnsnull
if none is found.- Parameters:
lineNo
- The line number, 1-based.columnNo
- The column index, 1-based.
-