OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 source_map_builder; | 5 library source_map_builder; |
6 | 6 |
7 import 'util/util.dart'; | 7 import 'util/util.dart'; |
8 import 'scanner/scannerlib.dart' show Token; | 8 import 'scanner/scannerlib.dart' show Token; |
9 import 'source_file.dart'; | 9 import 'source_file.dart'; |
10 import 'util/uri_extras.dart' show relativize; | 10 import 'util/uri_extras.dart' show relativize; |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 TokenSourceFileLocation(SourceFile sourceFile, this.token, this.name) | 259 TokenSourceFileLocation(SourceFile sourceFile, this.token, this.name) |
260 : super(sourceFile); | 260 : super(sourceFile); |
261 | 261 |
262 int get offset => token.charOffset; | 262 int get offset => token.charOffset; |
263 | 263 |
264 String getSourceName() { | 264 String getSourceName() { |
265 return name; | 265 return name; |
266 } | 266 } |
267 } | 267 } |
OLD | NEW |