| 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 4679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4690 * linking. | 4690 * linking. |
| 4691 */ | 4691 */ |
| 4692 class SyntheticVariableElementForLink implements PropertyInducingElementImpl { | 4692 class SyntheticVariableElementForLink implements PropertyInducingElementImpl { |
| 4693 PropertyAccessorElementForLink_Executable _getter; | 4693 PropertyAccessorElementForLink_Executable _getter; |
| 4694 PropertyAccessorElementForLink_Executable _setter; | 4694 PropertyAccessorElementForLink_Executable _setter; |
| 4695 | 4695 |
| 4696 @override | 4696 @override |
| 4697 PropertyAccessorElementForLink_Executable get getter => _getter; | 4697 PropertyAccessorElementForLink_Executable get getter => _getter; |
| 4698 | 4698 |
| 4699 @override | 4699 @override |
| 4700 bool get isFinal => _setter == null; |
| 4701 |
| 4702 @override |
| 4700 bool get isSynthetic => true; | 4703 bool get isSynthetic => true; |
| 4701 | 4704 |
| 4702 @override | 4705 @override |
| 4703 PropertyAccessorElementForLink_Executable get setter => _setter; | 4706 PropertyAccessorElementForLink_Executable get setter => _setter; |
| 4704 | 4707 |
| 4705 @override | 4708 @override |
| 4706 void set type(DartType inferredType) {} | 4709 void set type(DartType inferredType) {} |
| 4707 | 4710 |
| 4708 @override | 4711 @override |
| 4709 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 4712 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5277 } | 5280 } |
| 5278 | 5281 |
| 5279 /** | 5282 /** |
| 5280 * This exception is thrown when [ExprTypeComputer] cannot inference the type. | 5283 * This exception is thrown when [ExprTypeComputer] cannot inference the type. |
| 5281 */ | 5284 */ |
| 5282 class _InferenceFailedError { | 5285 class _InferenceFailedError { |
| 5283 final String message; | 5286 final String message; |
| 5284 | 5287 |
| 5285 _InferenceFailedError(this.message); | 5288 _InferenceFailedError(this.message); |
| 5286 } | 5289 } |
| OLD | NEW |