| 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 analyzer.src.string_source; | 5 library analyzer.src.string_source; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/engine.dart' show TimestampedData; | 7 import 'package:analyzer/src/generated/engine.dart' show TimestampedData; |
| 8 import 'package:analyzer/src/generated/source.dart'; | 8 import 'package:analyzer/src/generated/source.dart'; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 bool operator ==(Object object) { | 57 bool operator ==(Object object) { |
| 58 return object is StringSource && | 58 return object is StringSource && |
| 59 object._contents == _contents && | 59 object._contents == _contents && |
| 60 object.fullName == fullName; | 60 object.fullName == fullName; |
| 61 } | 61 } |
| 62 | 62 |
| 63 @override | 63 @override |
| 64 bool exists() => true; | 64 bool exists() => true; |
| 65 | 65 |
| 66 @override | 66 @override |
| 67 Uri resolveRelativeUri(Uri relativeUri) => uri.resolveUri(relativeUri); | |
| 68 | |
| 69 @override | |
| 70 String toString() => 'StringSource ($fullName)'; | 67 String toString() => 'StringSource ($fullName)'; |
| 71 } | 68 } |
| OLD | NEW |