| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library elements.modelx; | 5 library elements.modelx; |
| 6 | 6 |
| 7 import 'elements.dart'; | 7 import 'elements.dart'; |
| 8 import '../../compiler.dart' as api; | 8 import '../../compiler.dart' as api; |
| 9 import '../tree/tree.dart'; | 9 import '../tree/tree.dart'; |
| 10 import '../util/util.dart'; | 10 import '../util/util.dart'; |
| (...skipping 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1737 * | 1737 * |
| 1738 * This type is computed together with [thisType] in [computeType]. | 1738 * This type is computed together with [thisType] in [computeType]. |
| 1739 */ | 1739 */ |
| 1740 InterfaceType rawTypeCache; | 1740 InterfaceType rawTypeCache; |
| 1741 DartType supertype; | 1741 DartType supertype; |
| 1742 Link<DartType> interfaces; | 1742 Link<DartType> interfaces; |
| 1743 String nativeTagInfo; | 1743 String nativeTagInfo; |
| 1744 int supertypeLoadState; | 1744 int supertypeLoadState; |
| 1745 int resolutionState; | 1745 int resolutionState; |
| 1746 bool get isResolved => resolutionState == STATE_DONE; | 1746 bool get isResolved => resolutionState == STATE_DONE; |
| 1747 bool isProxy = false; |
| 1747 | 1748 |
| 1748 // backendMembers are members that have been added by the backend to simplify | 1749 // backendMembers are members that have been added by the backend to simplify |
| 1749 // compilation. They don't have any user-side counter-part. | 1750 // compilation. They don't have any user-side counter-part. |
| 1750 Link<Element> backendMembers = const Link<Element>(); | 1751 Link<Element> backendMembers = const Link<Element>(); |
| 1751 | 1752 |
| 1752 OrderedTypeSet allSupertypesAndSelf; | 1753 OrderedTypeSet allSupertypesAndSelf; |
| 1753 | 1754 |
| 1754 Link<DartType> get allSupertypes => allSupertypesAndSelf.supertypes; | 1755 Link<DartType> get allSupertypes => allSupertypesAndSelf.supertypes; |
| 1755 | 1756 |
| 1756 int get hierarchyDepth => allSupertypesAndSelf.maxDepth; | 1757 int get hierarchyDepth => allSupertypesAndSelf.maxDepth; |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2424 | 2425 |
| 2425 MetadataAnnotation ensureResolved(Compiler compiler) { | 2426 MetadataAnnotation ensureResolved(Compiler compiler) { |
| 2426 if (resolutionState == STATE_NOT_STARTED) { | 2427 if (resolutionState == STATE_NOT_STARTED) { |
| 2427 compiler.resolver.resolveMetadataAnnotation(this); | 2428 compiler.resolver.resolveMetadataAnnotation(this); |
| 2428 } | 2429 } |
| 2429 return this; | 2430 return this; |
| 2430 } | 2431 } |
| 2431 | 2432 |
| 2432 String toString() => 'MetadataAnnotation($value, $resolutionState)'; | 2433 String toString() => 'MetadataAnnotation($value, $resolutionState)'; |
| 2433 } | 2434 } |
| OLD | NEW |