OLD | NEW |
| (Empty) |
1 Source Maps | |
2 =========== | |
3 | |
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 | |
6 originated from the [Closure Compiler][closure] and has been implemented in | |
7 Chrome and Firefox. | |
8 | |
9 In this package we provide: | |
10 | |
11 * Data types defining file locations and spans: these are not part of the | |
12 original source map specification. These data types are great for tracking | |
13 source locations on source maps, but they can also be used by tools to | |
14 reporting useful error messages that include on source locations. | |
15 * A builder that creates a source map programatically and produces the encoded | |
16 source map format. | |
17 * A parser that reads the source map format and provides APIs to read the | |
18 mapping information. | |
19 | |
20 Some upcoming features we are planning to add to this package are: | |
21 | |
22 * A printer that lets you generate code, but record source map information in | |
23 the process. | |
24 * A tool that can compose source maps together. This would be useful for | |
25 instance, if you have 2 tools that produce source maps and you call one with | |
26 the result of the other. | |
27 | |
28 [closure]: http://code.google.com/p/closure-compiler/wiki/SourceMaps | |
29 [spec]: https://docs.google.com/a/google.com/document/d/1U1RGAehQwRypUTovF1KRlpi
OFze0b-_2gc6fAH0KY0k/edit | |
OLD | NEW |