OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 /** | 5 /** |
6 * This library is capable of producing linked summaries from unlinked | 6 * This library is capable of producing linked summaries from unlinked |
7 * ones (or prelinked ones). It functions by building a miniature | 7 * ones (or prelinked ones). It functions by building a miniature |
8 * element model to represent the contents of the summaries, and then | 8 * element model to represent the contents of the summaries, and then |
9 * scanning the element model to gather linked information and adding | 9 * scanning the element model to gather linked information and adding |
10 * it to the summary data structures. | 10 * it to the summary data structures. |
(...skipping 3979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3990 * Element representing the parameter of a synthetic setter for a variable | 3990 * Element representing the parameter of a synthetic setter for a variable |
3991 * resynthesized during linking. | 3991 * resynthesized during linking. |
3992 */ | 3992 */ |
3993 class ParameterElementForLink_VariableSetter implements ParameterElementImpl { | 3993 class ParameterElementForLink_VariableSetter implements ParameterElementImpl { |
3994 @override | 3994 @override |
3995 final PropertyAccessorElementForLink_Variable enclosingElement; | 3995 final PropertyAccessorElementForLink_Variable enclosingElement; |
3996 | 3996 |
3997 ParameterElementForLink_VariableSetter(this.enclosingElement); | 3997 ParameterElementForLink_VariableSetter(this.enclosingElement); |
3998 | 3998 |
3999 @override | 3999 @override |
| 4000 bool get isCovariant => false; |
| 4001 |
| 4002 @override |
4000 bool get isSynthetic => true; | 4003 bool get isSynthetic => true; |
4001 | 4004 |
4002 @override | 4005 @override |
4003 String get name => 'x'; | 4006 String get name => 'x'; |
4004 | 4007 |
4005 @override | 4008 @override |
4006 ParameterKind get parameterKind => ParameterKind.REQUIRED; | 4009 ParameterKind get parameterKind => ParameterKind.REQUIRED; |
4007 | 4010 |
4008 @override | 4011 @override |
4009 DartType get type => enclosingElement.computeVariableType(); | 4012 DartType get type => enclosingElement.computeVariableType(); |
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4967 * there are no type parameters in scope. | 4970 * there are no type parameters in scope. |
4968 */ | 4971 */ |
4969 TypeParameterizedElementMixin get _typeParameterContext; | 4972 TypeParameterizedElementMixin get _typeParameterContext; |
4970 | 4973 |
4971 @override | 4974 @override |
4972 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 4975 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
4973 | 4976 |
4974 @override | 4977 @override |
4975 String toString() => '$enclosingElement.$name'; | 4978 String toString() => '$enclosingElement.$name'; |
4976 } | 4979 } |
OLD | NEW |