Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: lib/source_maps.dart

Issue 12937009: renaming File to Source (Closed) Base URL: git@github.com:dart-lang/source-maps.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/parser.dart ('k') | lib/span.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /// Source maps library. 5 /// Source maps library.
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)
11 /// ..add(inputSpan3, outputSpan3) 11 /// ..add(inputSpan3, outputSpan3)
12 /// .toJson(outputFile); 12 /// .toJson(outputFile);
13 /// 13 ///
14 /// Use the [Span] and [File] classes to specify span locations. 14 /// Use the [Span] and [Source] classes to specify span locations.
Jennifer Messerly 2013/03/20 22:11:46 SourceFile?
Siggi Cherem (dart-lang) 2013/03/20 22:35:24 Done.
15 /// 15 ///
16 /// Parse a source map using [parse], and call `spanFor` on the returned mapping 16 /// Parse a source map using [parse], and call `spanFor` on the returned mapping
17 /// object. For example: 17 /// object. For example:
18 /// var mapping = parse(json); 18 /// var mapping = parse(json);
19 /// mapping.spanFor(outputSpan1.line, outputSpan1.column) 19 /// mapping.spanFor(outputSpan1.line, outputSpan1.column)
20 library source_maps; 20 library source_maps;
21 21
22 export "builder.dart"; 22 export "builder.dart";
23 export "parser.dart"; 23 export "parser.dart";
24 export "printer.dart"; 24 export "printer.dart";
25 export "span.dart"; 25 export "span.dart";
OLDNEW
« no previous file with comments | « lib/parser.dart ('k') | lib/span.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698