Clone this repo:
  1. 60a14d4 Prepare for the 2.11 dev SDKs (#55) by Nate Bosch · 5 days ago master 0.10.10-nullsafety.1
  2. e4c05a5 version should be 0.10.10-nullsafety (#54) by Jacob MacDonald · 9 weeks ago 0.10.10-nullsafety
  3. f705815 change version to be non-breaking (#53) by Jacob MacDonald · 9 weeks ago
  4. 53e1f33 Delete .test_config by Kevin Moore · 9 weeks ago 0.11.0-nullsafety
  5. 6a0fb63 Update travis-ci: test on dev (#52) by Kevin Moore · 9 weeks ago

Source Maps

This project implements a Dart pub package to work with source maps. The implementation is based on the source map version 3 spec which was originated from the Closure Compiler and has been implemented in Chrome and Firefox.

In this package we provide:

  • Data types defining file locations and spans: these are not part of the original source map specification. These data types are great for tracking source locations on source maps, but they can also be used by tools to reporting useful error messages that include on source locations.
  • A builder that creates a source map programatically and produces the encoded source map format.
  • A parser that reads the source map format and provides APIs to read the mapping information.

Some upcoming features we are planning to add to this package are:

  • A printer that lets you generate code, but record source map information in the process.
  • A tool that can compose source maps together. This would be useful for instance, if you have 2 tools that produce source maps and you call one with the result of the other.