| 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 'ast.dart'; | 10 import 'ast.dart'; |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 ClassElement get enclosingElement => actualElement.enclosingElement; | 593 ClassElement get enclosingElement => actualElement.enclosingElement; |
| 594 | 594 |
| 595 @override | 595 @override |
| 596 bool get isEnumConstant => actualElement.isEnumConstant; | 596 bool get isEnumConstant => actualElement.isEnumConstant; |
| 597 | 597 |
| 598 @override | 598 @override |
| 599 bool get isStatic => actualElement.isStatic; | 599 bool get isStatic => actualElement.isStatic; |
| 600 | 600 |
| 601 @override | 601 @override |
| 602 ElementKind get kind => ElementKind.FIELD; | 602 ElementKind get kind => ElementKind.FIELD; |
| 603 |
| 604 @override |
| 605 VariableDeclaration get node => actualElement.node; |
| 603 } | 606 } |
| 604 | 607 |
| 605 /** | 608 /** |
| 606 * Instances of the class `FunctionElementHandle` implement a handle to a | 609 * Instances of the class `FunctionElementHandle` implement a handle to a |
| 607 * `FunctionElement`. | 610 * `FunctionElement`. |
| 608 */ | 611 */ |
| 609 class FunctionElementHandle extends ExecutableElementHandle | 612 class FunctionElementHandle extends ExecutableElementHandle |
| 610 implements FunctionElement { | 613 implements FunctionElement { |
| 611 /** | 614 /** |
| 612 * Initialize a newly created element handle to represent the given element. | 615 * Initialize a newly created element handle to represent the given element. |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 LocalVariableElementHandle(LocalVariableElement element) : super(element); | 835 LocalVariableElementHandle(LocalVariableElement element) : super(element); |
| 833 | 836 |
| 834 @override | 837 @override |
| 835 LocalVariableElement get actualElement => | 838 LocalVariableElement get actualElement => |
| 836 super.actualElement as LocalVariableElement; | 839 super.actualElement as LocalVariableElement; |
| 837 | 840 |
| 838 @override | 841 @override |
| 839 ElementKind get kind => ElementKind.LOCAL_VARIABLE; | 842 ElementKind get kind => ElementKind.LOCAL_VARIABLE; |
| 840 | 843 |
| 841 @override | 844 @override |
| 845 VariableDeclaration get node => actualElement.node; |
| 846 |
| 847 @override |
| 842 SourceRange get visibleRange => actualElement.visibleRange; | 848 SourceRange get visibleRange => actualElement.visibleRange; |
| 843 } | 849 } |
| 844 | 850 |
| 845 /** | 851 /** |
| 846 * Instances of the class `MethodElementHandle` implement a handle to a `MethodE
lement`. | 852 * Instances of the class `MethodElementHandle` implement a handle to a `MethodE
lement`. |
| 847 */ | 853 */ |
| 848 class MethodElementHandle extends ExecutableElementHandle | 854 class MethodElementHandle extends ExecutableElementHandle |
| 849 implements MethodElement { | 855 implements MethodElement { |
| 850 /** | 856 /** |
| 851 * Initialize a newly created element handle to represent the given element. | 857 * Initialize a newly created element handle to represent the given element. |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1078 | 1084 |
| 1079 @override | 1085 @override |
| 1080 bool get isPotentiallyMutatedInClosure => | 1086 bool get isPotentiallyMutatedInClosure => |
| 1081 actualElement.isPotentiallyMutatedInClosure; | 1087 actualElement.isPotentiallyMutatedInClosure; |
| 1082 | 1088 |
| 1083 @override | 1089 @override |
| 1084 bool get isPotentiallyMutatedInScope => | 1090 bool get isPotentiallyMutatedInScope => |
| 1085 actualElement.isPotentiallyMutatedInScope; | 1091 actualElement.isPotentiallyMutatedInScope; |
| 1086 | 1092 |
| 1087 @override | 1093 @override |
| 1088 VariableDeclaration get node => actualElement.node; | |
| 1089 | |
| 1090 @override | |
| 1091 DartType get type => actualElement.type; | 1094 DartType get type => actualElement.type; |
| 1092 } | 1095 } |
| 1093 /** | 1096 /** |
| 1094 * TODO(scheglov) invalid implementation | 1097 * TODO(scheglov) invalid implementation |
| 1095 */ | 1098 */ |
| 1096 class WeakReference<T> { | 1099 class WeakReference<T> { |
| 1097 final T value; | 1100 final T value; |
| 1098 WeakReference(this.value); | 1101 WeakReference(this.value); |
| 1099 T get() => value; | 1102 T get() => value; |
| 1100 } | 1103 } |
| OLD | NEW |