Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Source Maps | 1 Source Maps |
| 2 =========== | 2 =========== |
| 3 | 3 |
| 4 This project implements a Dart pub package to work with source maps. The | 4 This project implements a Dart pub package to work with source maps. The |
| 5 implementation is based on the [source map version 3 spec][spec] which was | 5 implementation is based on the [source map version 3 spec][spec] which was |
| 6 originated from the [Closure Compiler][closure] and has been implemented in | 6 originated from the [Closure Compiler][closure] and has been implemented in |
| 7 Chrome and Firefox. | 7 Chrome and Firefox. |
| 8 | 8 |
| 9 In this package we provide: | 9 In this package we provide: |
| 10 | |
| 10 * Data types defining file locations and spans: these are not part of the | 11 * Data types defining file locations and spans: these are not part of the |
| 11 original source map specification. These data types are great for tracking | 12 original source map specification. These data types are great for tracking |
| 12 source locations on source maps, but they can also be used by tools to | 13 source locations on source maps, but they can also be used by tools to |
| 13 reporting useful error messages that include on source locations. | 14 reporting useful error messages that include on source locations. |
| 15 | |
|
nweiz
2014/06/27 18:14:00
I believe the only change you need to get these li
Siggi Cherem (dart-lang)
2014/06/27 19:07:06
Done.
| |
| 14 * A builder that creates a source map programatically and produces the encoded | 16 * A builder that creates a source map programatically and produces the encoded |
| 15 source map format. | 17 source map format. |
| 18 | |
| 16 * A parser that reads the source map format and provides APIs to read the | 19 * A parser that reads the source map format and provides APIs to read the |
| 17 mapping information. | 20 mapping information. |
| 18 | 21 |
| 19 Some upcoming features we are planning to add to this package are: | 22 Some upcoming features we are planning to add to this package are: |
| 23 | |
| 20 * A printer that lets you generate code, but record source map information in | 24 * A printer that lets you generate code, but record source map information in |
| 21 the process. | 25 the process. |
| 26 | |
| 22 * A tool that can compose source maps together. This would be useful for | 27 * A tool that can compose source maps together. This would be useful for |
| 23 instance, if you have 2 tools that produce source maps and you call one with | 28 instance, if you have 2 tools that produce source maps and you call one with |
| 24 the result of the other. | 29 the result of the other. |
| 25 | 30 |
| 26 [closure]: http://code.google.com/p/closure-compiler/wiki/SourceMaps | 31 [closure]: http://code.google.com/p/closure-compiler/wiki/SourceMaps |
| 27 [spec]: https://docs.google.com/a/google.com/document/d/1U1RGAehQwRypUTovF1KRlpi OFze0b-_2gc6fAH0KY0k/edit | 32 [spec]: https://docs.google.com/a/google.com/document/d/1U1RGAehQwRypUTovF1KRlpi OFze0b-_2gc6fAH0KY0k/edit |
| OLD | NEW |