| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 import 'dart:io'; | 5 import 'dart:io'; |
| 6 import 'dart:convert'; | 6 import 'dart:convert'; |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:path/path.dart' as path; | 9 import 'package:path/path.dart' as path; |
| 10 import 'package:expect/expect.dart'; | 10 import 'package:expect/expect.dart'; |
| 11 import 'package:source_maps/source_maps.dart' hide SourceFile; | 11 import 'package:source_maps/source_maps.dart'; |
| 12 import 'package:compiler/src/apiimpl.dart'; | 12 import 'package:compiler/src/apiimpl.dart'; |
| 13 import 'package:compiler/src/elements/elements.dart' | 13 import 'package:compiler/src/elements/elements.dart' |
| 14 show AstElement, | 14 show AstElement, |
| 15 ClassElement, | 15 ClassElement, |
| 16 CompilationUnitElement, | 16 CompilationUnitElement, |
| 17 Element, | 17 Element, |
| 18 FunctionElement, | 18 FunctionElement, |
| 19 LibraryElement, | 19 LibraryElement, |
| 20 MemberElement; | 20 MemberElement; |
| 21 import 'package:compiler/src/io/source_file.dart' show SourceFile; | 21 import 'package:compiler/src/io/source_file.dart' show SourceFile; |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 final Position end; | 321 final Position end; |
| 322 | 322 |
| 323 Interval(this.begin, this.end); | 323 Interval(this.begin, this.end); |
| 324 | 324 |
| 325 bool contains(Position other) { | 325 bool contains(Position other) { |
| 326 return begin <= other && other <= end; | 326 return begin <= other && other <= end; |
| 327 } | 327 } |
| 328 | 328 |
| 329 String toString() => '$begin-$end'; | 329 String toString() => '$begin-$end'; |
| 330 } | 330 } |
| OLD | NEW |