| 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 } | 451 } |
| 452 | 452 |
| 453 @override | 453 @override |
| 454 String get identifier => name; | 454 String get identifier => name; |
| 455 | 455 |
| 456 @override | 456 @override |
| 457 List<InterfaceType> get interfaces => _interfaces ??= | 457 List<InterfaceType> get interfaces => _interfaces ??= |
| 458 _unlinkedClass.interfaces.map(_computeInterfaceType).toList(); | 458 _unlinkedClass.interfaces.map(_computeInterfaceType).toList(); |
| 459 | 459 |
| 460 @override | 460 @override |
| 461 bool get isMixinApplication => _unlinkedClass.isMixinApplication; |
| 462 |
| 463 @override |
| 461 bool get isObject => _unlinkedClass.hasNoSupertype; | 464 bool get isObject => _unlinkedClass.hasNoSupertype; |
| 462 | 465 |
| 463 @override | 466 @override |
| 464 LibraryElementForLink get library => enclosingElement.library; | 467 LibraryElementForLink get library => enclosingElement.library; |
| 465 | 468 |
| 466 @override | 469 @override |
| 467 List<MethodElementForLink> get methods { | 470 List<MethodElementForLink> get methods { |
| 468 if (_methods == null) { | 471 if (_methods == null) { |
| 469 _methods = <MethodElementForLink>[]; | 472 _methods = <MethodElementForLink>[]; |
| 470 for (UnlinkedExecutable unlinkedExecutable | 473 for (UnlinkedExecutable unlinkedExecutable |
| (...skipping 4050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4521 * there are no type parameters in scope. | 4524 * there are no type parameters in scope. |
| 4522 */ | 4525 */ |
| 4523 TypeParameterizedElementForLink get _typeParameterContext; | 4526 TypeParameterizedElementForLink get _typeParameterContext; |
| 4524 | 4527 |
| 4525 @override | 4528 @override |
| 4526 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 4529 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 4527 | 4530 |
| 4528 @override | 4531 @override |
| 4529 String toString() => '$enclosingElement.$name'; | 4532 String toString() => '$enclosingElement.$name'; |
| 4530 } | 4533 } |
| OLD | NEW |