OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /// Library to create and parse source maps. | 5 /// Library to create and parse source maps. |
6 /// | 6 /// |
7 /// Create a source map using [SourceMapBuilder]. For example: | 7 /// Create a source map using [SourceMapBuilder]. For example: |
8 /// var json = (new SourceMapBuilder() | 8 /// var json = (new SourceMapBuilder() |
9 /// ..add(inputSpan1, outputSpan1) | 9 /// ..add(inputSpan1, outputSpan1) |
10 /// ..add(inputSpan2, outputSpan2) | 10 /// ..add(inputSpan2, outputSpan2) |
(...skipping 24 matching lines...) Expand all Loading... |
35 /// | 35 /// |
36 /// [pub]: http://pub.dartlang.org | 36 /// [pub]: http://pub.dartlang.org |
37 /// [pkg]: http://pub.dartlang.org/packages/source_maps | 37 /// [pkg]: http://pub.dartlang.org/packages/source_maps |
38 library source_maps; | 38 library source_maps; |
39 | 39 |
40 export "builder.dart"; | 40 export "builder.dart"; |
41 export "parser.dart"; | 41 export "parser.dart"; |
42 export "printer.dart"; | 42 export "printer.dart"; |
43 export "refactor.dart"; | 43 export "refactor.dart"; |
44 export 'src/source_map_span.dart'; | 44 export 'src/source_map_span.dart'; |
OLD | NEW |