| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 @override | 113 @override |
| 114 PropertyAccessorElement getSetter(String setterName) => | 114 PropertyAccessorElement getSetter(String setterName) => |
| 115 actualElement.getSetter(setterName); | 115 actualElement.getSetter(setterName); |
| 116 | 116 |
| 117 @override | 117 @override |
| 118 bool isSuperConstructorAccessible(ConstructorElement constructor) => | 118 bool isSuperConstructorAccessible(ConstructorElement constructor) => |
| 119 actualElement.isSuperConstructorAccessible(constructor); | 119 actualElement.isSuperConstructorAccessible(constructor); |
| 120 | 120 |
| 121 @override | 121 @override |
| 122 MethodElement lookUpConcreteMethod(String methodName, | 122 MethodElement lookUpConcreteMethod( |
| 123 LibraryElement library) => | 123 String methodName, LibraryElement library) => |
| 124 actualElement.lookUpConcreteMethod(methodName, library); | 124 actualElement.lookUpConcreteMethod(methodName, library); |
| 125 | 125 |
| 126 @override | 126 @override |
| 127 PropertyAccessorElement lookUpGetter(String getterName, | 127 PropertyAccessorElement lookUpGetter( |
| 128 LibraryElement library) => | 128 String getterName, LibraryElement library) => |
| 129 actualElement.lookUpGetter(getterName, library); | 129 actualElement.lookUpGetter(getterName, library); |
| 130 | 130 |
| 131 @override | 131 @override |
| 132 PropertyAccessorElement lookUpInheritedConcreteGetter(String methodName, | 132 PropertyAccessorElement lookUpInheritedConcreteGetter( |
| 133 LibraryElement library) => | 133 String methodName, LibraryElement library) => |
| 134 actualElement.lookUpInheritedConcreteGetter(methodName, library); | 134 actualElement.lookUpInheritedConcreteGetter(methodName, library); |
| 135 | 135 |
| 136 @override | 136 @override |
| 137 MethodElement lookUpInheritedConcreteMethod(String methodName, | 137 MethodElement lookUpInheritedConcreteMethod( |
| 138 LibraryElement library) => | 138 String methodName, LibraryElement library) => |
| 139 actualElement.lookUpInheritedConcreteMethod(methodName, library); | 139 actualElement.lookUpInheritedConcreteMethod(methodName, library); |
| 140 | 140 |
| 141 @override | 141 @override |
| 142 PropertyAccessorElement lookUpInheritedConcreteSetter(String methodName, | 142 PropertyAccessorElement lookUpInheritedConcreteSetter( |
| 143 LibraryElement library) => | 143 String methodName, LibraryElement library) => |
| 144 actualElement.lookUpInheritedConcreteSetter(methodName, library); | 144 actualElement.lookUpInheritedConcreteSetter(methodName, library); |
| 145 | 145 |
| 146 @override | 146 @override |
| 147 MethodElement lookUpInheritedMethod(String methodName, | 147 MethodElement lookUpInheritedMethod( |
| 148 LibraryElement library) => | 148 String methodName, LibraryElement library) => |
| 149 actualElement.lookUpInheritedMethod(methodName, library); | 149 actualElement.lookUpInheritedMethod(methodName, library); |
| 150 | 150 |
| 151 @override | 151 @override |
| 152 MethodElement lookUpMethod(String methodName, LibraryElement library) => | 152 MethodElement lookUpMethod(String methodName, LibraryElement library) => |
| 153 actualElement.lookUpMethod(methodName, library); | 153 actualElement.lookUpMethod(methodName, library); |
| 154 | 154 |
| 155 @override | 155 @override |
| 156 PropertyAccessorElement lookUpSetter(String setterName, | 156 PropertyAccessorElement lookUpSetter( |
| 157 LibraryElement library) => | 157 String setterName, LibraryElement library) => |
| 158 actualElement.lookUpSetter(setterName, library); | 158 actualElement.lookUpSetter(setterName, library); |
| 159 } | 159 } |
| 160 | 160 |
| 161 /** | 161 /** |
| 162 * Instances of the class `CompilationUnitElementHandle` implements a handle to
a | 162 * Instances of the class `CompilationUnitElementHandle` implements a handle to
a |
| 163 * [CompilationUnitElement]. | 163 * [CompilationUnitElement]. |
| 164 */ | 164 */ |
| 165 class CompilationUnitElementHandle extends ElementHandle implements | 165 class CompilationUnitElementHandle extends ElementHandle |
| 166 CompilationUnitElement { | 166 implements CompilationUnitElement { |
| 167 /** | 167 /** |
| 168 * Initialize a newly created element handle to represent the given element. | 168 * Initialize a newly created element handle to represent the given element. |
| 169 * | 169 * |
| 170 * @param element the element being represented | 170 * @param element the element being represented |
| 171 */ | 171 */ |
| 172 CompilationUnitElementHandle(CompilationUnitElement element) : super(element); | 172 CompilationUnitElementHandle(CompilationUnitElement element) : super(element); |
| 173 | 173 |
| 174 @override | 174 @override |
| 175 List<PropertyAccessorElement> get accessors => actualElement.accessors; | 175 List<PropertyAccessorElement> get accessors => actualElement.accessors; |
| 176 | 176 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 ClassElement getEnum(String enumName) => actualElement.getEnum(enumName); | 224 ClassElement getEnum(String enumName) => actualElement.getEnum(enumName); |
| 225 | 225 |
| 226 @override | 226 @override |
| 227 ClassElement getType(String className) => actualElement.getType(className); | 227 ClassElement getType(String className) => actualElement.getType(className); |
| 228 } | 228 } |
| 229 | 229 |
| 230 /** | 230 /** |
| 231 * Instances of the class `ConstructorElementHandle` implement a handle to a | 231 * Instances of the class `ConstructorElementHandle` implement a handle to a |
| 232 * `ConstructorElement`. | 232 * `ConstructorElement`. |
| 233 */ | 233 */ |
| 234 class ConstructorElementHandle extends ExecutableElementHandle implements | 234 class ConstructorElementHandle extends ExecutableElementHandle |
| 235 ConstructorElement { | 235 implements ConstructorElement { |
| 236 /** | 236 /** |
| 237 * Initialize a newly created element handle to represent the given element. | 237 * Initialize a newly created element handle to represent the given element. |
| 238 * | 238 * |
| 239 * @param element the element being represented | 239 * @param element the element being represented |
| 240 */ | 240 */ |
| 241 ConstructorElementHandle(ConstructorElement element) : super(element); | 241 ConstructorElementHandle(ConstructorElement element) : super(element); |
| 242 | 242 |
| 243 @override | 243 @override |
| 244 ConstructorElement get actualElement => | 244 ConstructorElement get actualElement => |
| 245 super.actualElement as ConstructorElement; | 245 super.actualElement as ConstructorElement; |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 handles[i] = forElement(elements[i]); | 480 handles[i] = forElement(elements[i]); |
| 481 } | 481 } |
| 482 return handles; | 482 return handles; |
| 483 } | 483 } |
| 484 } | 484 } |
| 485 | 485 |
| 486 /** | 486 /** |
| 487 * The abstract class `ExecutableElementHandle` implements the behavior common t
o objects that | 487 * The abstract class `ExecutableElementHandle` implements the behavior common t
o objects that |
| 488 * implement a handle to an [ExecutableElement]. | 488 * implement a handle to an [ExecutableElement]. |
| 489 */ | 489 */ |
| 490 abstract class ExecutableElementHandle extends ElementHandle implements | 490 abstract class ExecutableElementHandle extends ElementHandle |
| 491 ExecutableElement { | 491 implements ExecutableElement { |
| 492 /** | 492 /** |
| 493 * Initialize a newly created element handle to represent the given element. | 493 * Initialize a newly created element handle to represent the given element. |
| 494 * | 494 * |
| 495 * @param element the element being represented | 495 * @param element the element being represented |
| 496 */ | 496 */ |
| 497 ExecutableElementHandle(ExecutableElement element) : super(element); | 497 ExecutableElementHandle(ExecutableElement element) : super(element); |
| 498 | 498 |
| 499 @override | 499 @override |
| 500 ExecutableElement get actualElement => | 500 ExecutableElement get actualElement => |
| 501 super.actualElement as ExecutableElement; | 501 super.actualElement as ExecutableElement; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 @override | 564 @override |
| 565 int get uriEnd => actualElement.uriEnd; | 565 int get uriEnd => actualElement.uriEnd; |
| 566 | 566 |
| 567 @override | 567 @override |
| 568 int get uriOffset => actualElement.uriOffset; | 568 int get uriOffset => actualElement.uriOffset; |
| 569 } | 569 } |
| 570 | 570 |
| 571 /** | 571 /** |
| 572 * Instances of the class `FieldElementHandle` implement a handle to a `FieldEle
ment`. | 572 * Instances of the class `FieldElementHandle` implement a handle to a `FieldEle
ment`. |
| 573 */ | 573 */ |
| 574 class FieldElementHandle extends PropertyInducingElementHandle implements | 574 class FieldElementHandle extends PropertyInducingElementHandle |
| 575 FieldElement { | 575 implements FieldElement { |
| 576 /** | 576 /** |
| 577 * Initialize a newly created element handle to represent the given element. | 577 * Initialize a newly created element handle to represent the given element. |
| 578 * | 578 * |
| 579 * @param element the element being represented | 579 * @param element the element being represented |
| 580 */ | 580 */ |
| 581 FieldElementHandle(FieldElement element) : super(element); | 581 FieldElementHandle(FieldElement element) : super(element); |
| 582 | 582 |
| 583 @override | 583 @override |
| 584 FieldElement get actualElement => super.actualElement as FieldElement; | 584 FieldElement get actualElement => super.actualElement as FieldElement; |
| 585 | 585 |
| 586 @override | 586 @override |
| 587 ClassElement get enclosingElement => actualElement.enclosingElement; | 587 ClassElement get enclosingElement => actualElement.enclosingElement; |
| 588 | 588 |
| 589 @override | 589 @override |
| 590 bool get isEnumConstant => actualElement.isEnumConstant; | 590 bool get isEnumConstant => actualElement.isEnumConstant; |
| 591 | 591 |
| 592 @override | 592 @override |
| 593 bool get isStatic => actualElement.isStatic; | 593 bool get isStatic => actualElement.isStatic; |
| 594 | 594 |
| 595 @override | 595 @override |
| 596 ElementKind get kind => ElementKind.FIELD; | 596 ElementKind get kind => ElementKind.FIELD; |
| 597 } | 597 } |
| 598 | 598 |
| 599 /** | 599 /** |
| 600 * Instances of the class `FunctionElementHandle` implement a handle to a | 600 * Instances of the class `FunctionElementHandle` implement a handle to a |
| 601 * `FunctionElement`. | 601 * `FunctionElement`. |
| 602 */ | 602 */ |
| 603 class FunctionElementHandle extends ExecutableElementHandle implements | 603 class FunctionElementHandle extends ExecutableElementHandle |
| 604 FunctionElement { | 604 implements FunctionElement { |
| 605 /** | 605 /** |
| 606 * Initialize a newly created element handle to represent the given element. | 606 * Initialize a newly created element handle to represent the given element. |
| 607 * | 607 * |
| 608 * @param element the element being represented | 608 * @param element the element being represented |
| 609 */ | 609 */ |
| 610 FunctionElementHandle(FunctionElement element) : super(element); | 610 FunctionElementHandle(FunctionElement element) : super(element); |
| 611 | 611 |
| 612 @override | 612 @override |
| 613 FunctionElement get actualElement => super.actualElement as FunctionElement; | 613 FunctionElement get actualElement => super.actualElement as FunctionElement; |
| 614 | 614 |
| 615 @override | 615 @override |
| 616 ElementKind get kind => ElementKind.FUNCTION; | 616 ElementKind get kind => ElementKind.FUNCTION; |
| 617 | 617 |
| 618 @override | 618 @override |
| 619 FunctionDeclaration get node => actualElement.node; | 619 FunctionDeclaration get node => actualElement.node; |
| 620 | 620 |
| 621 @override | 621 @override |
| 622 SourceRange get visibleRange => actualElement.visibleRange; | 622 SourceRange get visibleRange => actualElement.visibleRange; |
| 623 } | 623 } |
| 624 | 624 |
| 625 /** | 625 /** |
| 626 * Instances of the class `FunctionTypeAliasElementHandle` implement a handle to
a | 626 * Instances of the class `FunctionTypeAliasElementHandle` implement a handle to
a |
| 627 * `FunctionTypeAliasElement`. | 627 * `FunctionTypeAliasElement`. |
| 628 */ | 628 */ |
| 629 class FunctionTypeAliasElementHandle extends ElementHandle implements | 629 class FunctionTypeAliasElementHandle extends ElementHandle |
| 630 FunctionTypeAliasElement { | 630 implements FunctionTypeAliasElement { |
| 631 /** | 631 /** |
| 632 * Initialize a newly created element handle to represent the given element. | 632 * Initialize a newly created element handle to represent the given element. |
| 633 * | 633 * |
| 634 * @param element the element being represented | 634 * @param element the element being represented |
| 635 */ | 635 */ |
| 636 FunctionTypeAliasElementHandle(FunctionTypeAliasElement element) | 636 FunctionTypeAliasElementHandle(FunctionTypeAliasElement element) |
| 637 : super(element); | 637 : super(element); |
| 638 | 638 |
| 639 @override | 639 @override |
| 640 FunctionTypeAliasElement get actualElement => | 640 FunctionTypeAliasElement get actualElement => |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 ClassElement getType(String className) => actualElement.getType(className); | 800 ClassElement getType(String className) => actualElement.getType(className); |
| 801 | 801 |
| 802 @override | 802 @override |
| 803 bool isUpToDate(int timeStamp) => actualElement.isUpToDate(timeStamp); | 803 bool isUpToDate(int timeStamp) => actualElement.isUpToDate(timeStamp); |
| 804 } | 804 } |
| 805 | 805 |
| 806 /** | 806 /** |
| 807 * Instances of the class `LocalVariableElementHandle` implement a handle to a | 807 * Instances of the class `LocalVariableElementHandle` implement a handle to a |
| 808 * `LocalVariableElement`. | 808 * `LocalVariableElement`. |
| 809 */ | 809 */ |
| 810 class LocalVariableElementHandle extends VariableElementHandle implements | 810 class LocalVariableElementHandle extends VariableElementHandle |
| 811 LocalVariableElement { | 811 implements LocalVariableElement { |
| 812 /** | 812 /** |
| 813 * Initialize a newly created element handle to represent the given element. | 813 * Initialize a newly created element handle to represent the given element. |
| 814 * | 814 * |
| 815 * @param element the element being represented | 815 * @param element the element being represented |
| 816 */ | 816 */ |
| 817 LocalVariableElementHandle(LocalVariableElement element) : super(element); | 817 LocalVariableElementHandle(LocalVariableElement element) : super(element); |
| 818 | 818 |
| 819 @override | 819 @override |
| 820 LocalVariableElement get actualElement => | 820 LocalVariableElement get actualElement => |
| 821 super.actualElement as LocalVariableElement; | 821 super.actualElement as LocalVariableElement; |
| 822 | 822 |
| 823 @override | 823 @override |
| 824 ElementKind get kind => ElementKind.LOCAL_VARIABLE; | 824 ElementKind get kind => ElementKind.LOCAL_VARIABLE; |
| 825 | 825 |
| 826 @override | 826 @override |
| 827 SourceRange get visibleRange => actualElement.visibleRange; | 827 SourceRange get visibleRange => actualElement.visibleRange; |
| 828 } | 828 } |
| 829 | 829 |
| 830 /** | 830 /** |
| 831 * Instances of the class `MethodElementHandle` implement a handle to a `MethodE
lement`. | 831 * Instances of the class `MethodElementHandle` implement a handle to a `MethodE
lement`. |
| 832 */ | 832 */ |
| 833 class MethodElementHandle extends ExecutableElementHandle implements | 833 class MethodElementHandle extends ExecutableElementHandle |
| 834 MethodElement { | 834 implements MethodElement { |
| 835 /** | 835 /** |
| 836 * Initialize a newly created element handle to represent the given element. | 836 * Initialize a newly created element handle to represent the given element. |
| 837 * | 837 * |
| 838 * @param element the element being represented | 838 * @param element the element being represented |
| 839 */ | 839 */ |
| 840 MethodElementHandle(MethodElement element) : super(element); | 840 MethodElementHandle(MethodElement element) : super(element); |
| 841 | 841 |
| 842 @override | 842 @override |
| 843 MethodElement get actualElement => super.actualElement as MethodElement; | 843 MethodElement get actualElement => super.actualElement as MethodElement; |
| 844 | 844 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 855 ElementKind get kind => ElementKind.METHOD; | 855 ElementKind get kind => ElementKind.METHOD; |
| 856 | 856 |
| 857 @override | 857 @override |
| 858 MethodDeclaration get node => actualElement.node; | 858 MethodDeclaration get node => actualElement.node; |
| 859 } | 859 } |
| 860 | 860 |
| 861 /** | 861 /** |
| 862 * Instances of the class `ParameterElementHandle` implement a handle to a | 862 * Instances of the class `ParameterElementHandle` implement a handle to a |
| 863 * `ParameterElement`. | 863 * `ParameterElement`. |
| 864 */ | 864 */ |
| 865 class ParameterElementHandle extends VariableElementHandle implements | 865 class ParameterElementHandle extends VariableElementHandle |
| 866 ParameterElement { | 866 implements ParameterElement { |
| 867 /** | 867 /** |
| 868 * Initialize a newly created element handle to represent the given element. | 868 * Initialize a newly created element handle to represent the given element. |
| 869 * | 869 * |
| 870 * @param element the element being represented | 870 * @param element the element being represented |
| 871 */ | 871 */ |
| 872 ParameterElementHandle(ParameterElement element) : super(element); | 872 ParameterElementHandle(ParameterElement element) : super(element); |
| 873 | 873 |
| 874 @override | 874 @override |
| 875 ParameterElement get actualElement => super.actualElement as ParameterElement; | 875 ParameterElement get actualElement => super.actualElement as ParameterElement; |
| 876 | 876 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 List<LibraryElement> get importedLibraries => actualElement.importedLibraries; | 915 List<LibraryElement> get importedLibraries => actualElement.importedLibraries; |
| 916 | 916 |
| 917 @override | 917 @override |
| 918 ElementKind get kind => ElementKind.PREFIX; | 918 ElementKind get kind => ElementKind.PREFIX; |
| 919 } | 919 } |
| 920 | 920 |
| 921 /** | 921 /** |
| 922 * Instances of the class `PropertyAccessorElementHandle` implement a handle to
a | 922 * Instances of the class `PropertyAccessorElementHandle` implement a handle to
a |
| 923 * `PropertyAccessorElement`. | 923 * `PropertyAccessorElement`. |
| 924 */ | 924 */ |
| 925 class PropertyAccessorElementHandle extends ExecutableElementHandle implements | 925 class PropertyAccessorElementHandle extends ExecutableElementHandle |
| 926 PropertyAccessorElement { | 926 implements PropertyAccessorElement { |
| 927 /** | 927 /** |
| 928 * Initialize a newly created element handle to represent the given element. | 928 * Initialize a newly created element handle to represent the given element. |
| 929 * | 929 * |
| 930 * @param element the element being represented | 930 * @param element the element being represented |
| 931 */ | 931 */ |
| 932 PropertyAccessorElementHandle(PropertyAccessorElement element) | 932 PropertyAccessorElementHandle(PropertyAccessorElement element) |
| 933 : super(element); | 933 : super(element); |
| 934 | 934 |
| 935 @override | 935 @override |
| 936 PropertyAccessorElement get actualElement => | 936 PropertyAccessorElement get actualElement => |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1012 : super(element); | 1012 : super(element); |
| 1013 | 1013 |
| 1014 @override | 1014 @override |
| 1015 ElementKind get kind => ElementKind.TOP_LEVEL_VARIABLE; | 1015 ElementKind get kind => ElementKind.TOP_LEVEL_VARIABLE; |
| 1016 } | 1016 } |
| 1017 | 1017 |
| 1018 /** | 1018 /** |
| 1019 * Instances of the class `TypeParameterElementHandle` implement a handle to a | 1019 * Instances of the class `TypeParameterElementHandle` implement a handle to a |
| 1020 * [TypeParameterElement]. | 1020 * [TypeParameterElement]. |
| 1021 */ | 1021 */ |
| 1022 class TypeParameterElementHandle extends ElementHandle implements | 1022 class TypeParameterElementHandle extends ElementHandle |
| 1023 TypeParameterElement { | 1023 implements TypeParameterElement { |
| 1024 /** | 1024 /** |
| 1025 * Initialize a newly created element handle to represent the given element. | 1025 * Initialize a newly created element handle to represent the given element. |
| 1026 * | 1026 * |
| 1027 * @param element the element being represented | 1027 * @param element the element being represented |
| 1028 */ | 1028 */ |
| 1029 TypeParameterElementHandle(TypeParameterElement element) : super(element); | 1029 TypeParameterElementHandle(TypeParameterElement element) : super(element); |
| 1030 | 1030 |
| 1031 @override | 1031 @override |
| 1032 TypeParameterElement get actualElement => | 1032 TypeParameterElement get actualElement => |
| 1033 super.actualElement as TypeParameterElement; | 1033 super.actualElement as TypeParameterElement; |
| 1034 | 1034 |
| 1035 @override | 1035 @override |
| 1036 DartType get bound => actualElement.bound; | 1036 DartType get bound => actualElement.bound; |
| 1037 | 1037 |
| 1038 @override | 1038 @override |
| 1039 ElementKind get kind => ElementKind.TYPE_PARAMETER; | 1039 ElementKind get kind => ElementKind.TYPE_PARAMETER; |
| 1040 | 1040 |
| 1041 @override | 1041 @override |
| 1042 TypeParameterType get type => actualElement.type; | 1042 TypeParameterType get type => actualElement.type; |
| 1043 } | 1043 } |
| 1044 | 1044 |
| 1045 /** | 1045 /** |
| 1046 * The abstract class `VariableElementHandle` implements the behavior common to
objects that | 1046 * The abstract class `VariableElementHandle` implements the behavior common to
objects that |
| 1047 * implement a handle to an `VariableElement`. | 1047 * implement a handle to an `VariableElement`. |
| 1048 */ | 1048 */ |
| 1049 abstract class VariableElementHandle extends ElementHandle implements | 1049 abstract class VariableElementHandle extends ElementHandle |
| 1050 VariableElement { | 1050 implements VariableElement { |
| 1051 /** | 1051 /** |
| 1052 * Initialize a newly created element handle to represent the given element. | 1052 * Initialize a newly created element handle to represent the given element. |
| 1053 * | 1053 * |
| 1054 * @param element the element being represented | 1054 * @param element the element being represented |
| 1055 */ | 1055 */ |
| 1056 VariableElementHandle(VariableElement element) : super(element); | 1056 VariableElementHandle(VariableElement element) : super(element); |
| 1057 | 1057 |
| 1058 @override | 1058 @override |
| 1059 VariableElement get actualElement => super.actualElement as VariableElement; | 1059 VariableElement get actualElement => super.actualElement as VariableElement; |
| 1060 | 1060 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1074 DartType get type => actualElement.type; | 1074 DartType get type => actualElement.type; |
| 1075 } | 1075 } |
| 1076 /** | 1076 /** |
| 1077 * TODO(scheglov) invalid implementation | 1077 * TODO(scheglov) invalid implementation |
| 1078 */ | 1078 */ |
| 1079 class WeakReference<T> { | 1079 class WeakReference<T> { |
| 1080 final T value; | 1080 final T value; |
| 1081 WeakReference(this.value); | 1081 WeakReference(this.value); |
| 1082 T get() => value; | 1082 T get() => value; |
| 1083 } | 1083 } |
| OLD | NEW |