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:
    SourceMapping
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getSourceMapping​(java.lang.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 Detail

      • getSourceMapping

        @Nullable
        com.google.debugging.sourcemap.proto.Mapping.OriginalMapping getSourceMapping​(java.lang.String fileName,
                                                                                      int lineNo,
                                                                                      int columnNo)
        Returns the original mapping for the file name, line number and column position found in the source map. Returns null if none is found.
        Parameters:
        lineNo - The line number, 1-based.
        columnNo - The column index, 1-based.