| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.element_handle; | 8 library engine.element_handle; |
| 9 | 9 |
| 10 import 'package:analyzer/src/generated/utilities_collection.dart'; | 10 import 'package:analyzer/src/generated/utilities_collection.dart'; |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 FieldElement get actualElement => super.actualElement as FieldElement; | 599 FieldElement get actualElement => super.actualElement as FieldElement; |
| 600 | 600 |
| 601 @override | 601 @override |
| 602 ClassElement get enclosingElement => actualElement.enclosingElement; | 602 ClassElement get enclosingElement => actualElement.enclosingElement; |
| 603 | 603 |
| 604 @override | 604 @override |
| 605 bool get isStatic => actualElement.isStatic; | 605 bool get isStatic => actualElement.isStatic; |
| 606 | 606 |
| 607 @override | 607 @override |
| 608 ElementKind get kind => ElementKind.FIELD; | 608 ElementKind get kind => ElementKind.FIELD; |
| 609 |
| 610 @override |
| 611 bool get isEnumConstant => actualElement.isEnumConstant; |
| 609 } | 612 } |
| 610 | 613 |
| 611 /** | 614 /** |
| 612 * Instances of the class `FunctionElementHandle` implement a handle to a | 615 * Instances of the class `FunctionElementHandle` implement a handle to a |
| 613 * `FunctionElement`. | 616 * `FunctionElement`. |
| 614 */ | 617 */ |
| 615 class FunctionElementHandle extends ExecutableElementHandle implements | 618 class FunctionElementHandle extends ExecutableElementHandle implements |
| 616 FunctionElement { | 619 FunctionElement { |
| 617 /** | 620 /** |
| 618 * Initialize a newly created element handle to represent the given element. | 621 * Initialize a newly created element handle to represent the given element. |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 DartType get type => actualElement.type; | 1095 DartType get type => actualElement.type; |
| 1093 } | 1096 } |
| 1094 /** | 1097 /** |
| 1095 * TODO(scheglov) invalid implementation | 1098 * TODO(scheglov) invalid implementation |
| 1096 */ | 1099 */ |
| 1097 class WeakReference<T> { | 1100 class WeakReference<T> { |
| 1098 final T value; | 1101 final T value; |
| 1099 WeakReference(this.value); | 1102 WeakReference(this.value); |
| 1100 T get() => value; | 1103 T get() => value; |
| 1101 } | 1104 } |
| OLD | NEW |