dart-sdk/pkg/source_maps
kevmoo@j832.com 470b770a51 lib/utf: remove codepointsToString
point folks to use String.fromCharCodes

Review URL: https://codereview.chromium.org//13493020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21151 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 13:51:05 +00:00
..
lib lib/utf: remove codepointsToString 2013-04-09 13:51:05 +00:00
test Move source maps package to the dart repo, so it can be used by other internal 2013-03-20 23:41:50 +00:00
pubspec.yaml Move source maps package to the dart repo, so it can be used by other internal 2013-03-20 23:41:50 +00:00
README.md Move source maps package to the dart repo, so it can be used by other internal 2013-03-20 23:41:50 +00:00

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.