spanFor abstract method

SourceMapSpan? spanFor(
  1. int line,
  2. int column, {
  3. Map<String, SourceFile>? files,
  4. String? uri,
})

Returns the span associated with line and column.

uri is the optional location of the output file to find the span for to disambiguate cases where a mapping may have different mappings for different output files.

Implementation

SourceMapSpan? spanFor(int line, int column,
    {Map<String, SourceFile>? files, String? uri});