| 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 analyzer.src.generated.element_handle; | 5 library analyzer.src.generated.element_handle; |
| 6 | 6 |
| 7 import 'package:analyzer/dart/element/element.dart'; | 7 import 'package:analyzer/dart/element/element.dart'; |
| 8 import 'package:analyzer/dart/element/type.dart'; | 8 import 'package:analyzer/dart/element/type.dart'; |
| 9 import 'package:analyzer/src/dart/element/element.dart'; | 9 import 'package:analyzer/src/dart/element/element.dart'; |
| 10 import 'package:analyzer/dart/ast/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 @override | 747 @override |
| 748 List<LibraryElement> get importedLibraries => actualElement.importedLibraries; | 748 List<LibraryElement> get importedLibraries => actualElement.importedLibraries; |
| 749 | 749 |
| 750 @override | 750 @override |
| 751 List<ImportElement> get imports => actualElement.imports; | 751 List<ImportElement> get imports => actualElement.imports; |
| 752 | 752 |
| 753 @override | 753 @override |
| 754 bool get isBrowserApplication => actualElement.isBrowserApplication; | 754 bool get isBrowserApplication => actualElement.isBrowserApplication; |
| 755 | 755 |
| 756 @override | 756 @override |
| 757 bool get isDartAsync => actualElement.isDartAsync; |
| 758 |
| 759 @override |
| 757 bool get isDartCore => actualElement.isDartCore; | 760 bool get isDartCore => actualElement.isDartCore; |
| 758 | 761 |
| 759 @override | 762 @override |
| 760 bool get isInSdk => actualElement.isInSdk; | 763 bool get isInSdk => actualElement.isInSdk; |
| 761 | 764 |
| 762 @override | 765 @override |
| 763 ElementKind get kind => ElementKind.LIBRARY; | 766 ElementKind get kind => ElementKind.LIBRARY; |
| 764 | 767 |
| 765 @override | 768 @override |
| 766 FunctionElement get loadLibraryFunction => actualElement.loadLibraryFunction; | 769 FunctionElement get loadLibraryFunction => actualElement.loadLibraryFunction; |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 } | 1093 } |
| 1091 | 1094 |
| 1092 /** | 1095 /** |
| 1093 * TODO(scheglov) invalid implementation | 1096 * TODO(scheglov) invalid implementation |
| 1094 */ | 1097 */ |
| 1095 class WeakReference<T> { | 1098 class WeakReference<T> { |
| 1096 final T value; | 1099 final T value; |
| 1097 WeakReference(this.value); | 1100 WeakReference(this.value); |
| 1098 T get() => value; | 1101 T get() => value; |
| 1099 } | 1102 } |
| OLD | NEW |