| 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 3933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3944 | 3944 |
| 3945 @override | 3945 @override |
| 3946 String toString() => '$enclosingElement.$name'; | 3946 String toString() => '$enclosingElement.$name'; |
| 3947 } | 3947 } |
| 3948 | 3948 |
| 3949 /** | 3949 /** |
| 3950 * Element used for references that result from trying to access a non-static | 3950 * Element used for references that result from trying to access a non-static |
| 3951 * member of an element that is not a container (e.g. accessing the "length" | 3951 * member of an element that is not a container (e.g. accessing the "length" |
| 3952 * property of a constant). | 3952 * property of a constant). |
| 3953 * | 3953 * |
| 3954 * Accesses to a chain of non-static members separated by '.' are andled by | 3954 * Accesses to a chain of non-static members separated by '.' are handled by |
| 3955 * creating a [NonstaticMemberElementForLink] that points to another | 3955 * creating a [NonstaticMemberElementForLink] that points to another |
| 3956 * [NonstaticMemberElementForLink], to whatever nesting level is necessary. | 3956 * [NonstaticMemberElementForLink], to whatever nesting level is necessary. |
| 3957 */ | 3957 */ |
| 3958 class NonstaticMemberElementForLink extends Object | 3958 class NonstaticMemberElementForLink extends Object |
| 3959 with ReferenceableElementForLink { | 3959 with ReferenceableElementForLink { |
| 3960 /** | 3960 /** |
| 3961 * The [ReferenceableElementForLink] which is the target of the non-static | 3961 * The [ReferenceableElementForLink] which is the target of the non-static |
| 3962 * reference. | 3962 * reference. |
| 3963 */ | 3963 */ |
| 3964 final ReferenceableElementForLink _target; | 3964 final ReferenceableElementForLink _target; |
| (...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5310 } | 5310 } |
| 5311 | 5311 |
| 5312 /** | 5312 /** |
| 5313 * This exception is thrown when [ExprTypeComputer] cannot inference the type. | 5313 * This exception is thrown when [ExprTypeComputer] cannot inference the type. |
| 5314 */ | 5314 */ |
| 5315 class _InferenceFailedError { | 5315 class _InferenceFailedError { |
| 5316 final String message; | 5316 final String message; |
| 5317 | 5317 |
| 5318 _InferenceFailedError(this.message); | 5318 _InferenceFailedError(this.message); |
| 5319 } | 5319 } |
| OLD | NEW |