| 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 library engine.element_handle; | 5 library engine.element_handle; |
| 6 | 6 |
| 7 import 'ast.dart'; | 7 import 'ast.dart'; |
| 8 import 'element.dart'; | 8 import 'element.dart'; |
| 9 import 'engine.dart'; | 9 import 'engine.dart'; |
| 10 import 'java_core.dart'; | 10 import 'java_core.dart'; |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 return element; | 330 return element; |
| 331 } | 331 } |
| 332 | 332 |
| 333 @override | 333 @override |
| 334 AnalysisContext get context => _context; | 334 AnalysisContext get context => _context; |
| 335 | 335 |
| 336 @override | 336 @override |
| 337 String get displayName => actualElement.displayName; | 337 String get displayName => actualElement.displayName; |
| 338 | 338 |
| 339 @override | 339 @override |
| 340 SourceRange get docRange => actualElement.docRange; |
| 341 |
| 342 @override |
| 340 Element get enclosingElement => actualElement.enclosingElement; | 343 Element get enclosingElement => actualElement.enclosingElement; |
| 341 | 344 |
| 342 @override | 345 @override |
| 343 int get hashCode => _location.hashCode; | 346 int get hashCode => _location.hashCode; |
| 344 | 347 |
| 345 @override | 348 @override |
| 346 bool get isDeprecated => actualElement.isDeprecated; | 349 bool get isDeprecated => actualElement.isDeprecated; |
| 347 | 350 |
| 348 @override | 351 @override |
| 349 bool get isOverride => actualElement.isOverride; | 352 bool get isOverride => actualElement.isOverride; |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 } | 1119 } |
| 1117 | 1120 |
| 1118 /** | 1121 /** |
| 1119 * TODO(scheglov) invalid implementation | 1122 * TODO(scheglov) invalid implementation |
| 1120 */ | 1123 */ |
| 1121 class WeakReference<T> { | 1124 class WeakReference<T> { |
| 1122 final T value; | 1125 final T value; |
| 1123 WeakReference(this.value); | 1126 WeakReference(this.value); |
| 1124 T get() => value; | 1127 T get() => value; |
| 1125 } | 1128 } |
| OLD | NEW |