| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 /// Implementation of the element model used for deserialiation. | 5 /// Implementation of the element model used for deserialiation. |
| 6 /// | 6 /// |
| 7 /// These classes are created by [ElementDeserializer] triggered by the | 7 /// These classes are created by [ElementDeserializer] triggered by the |
| 8 /// [Deserializer]. | 8 /// [Deserializer]. |
| 9 | 9 |
| 10 library dart2js.serialization.modelz; | 10 library dart2js.serialization.modelz; |
| (...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 AnalyzableElementMixin, | 925 AnalyzableElementMixin, |
| 926 AstElementMixinZ, | 926 AstElementMixinZ, |
| 927 ClassElementCommon, | 927 ClassElementCommon, |
| 928 class_members.ClassMemberMixin, | 928 class_members.ClassMemberMixin, |
| 929 ContainerMixin, | 929 ContainerMixin, |
| 930 LibraryMemberMixin, | 930 LibraryMemberMixin, |
| 931 TypeDeclarationMixin<ResolutionInterfaceType>, | 931 TypeDeclarationMixin<ResolutionInterfaceType>, |
| 932 ClassElementMixin | 932 ClassElementMixin |
| 933 implements ClassElement { | 933 implements ClassElement { |
| 934 bool _isObject; | 934 bool _isObject; |
| 935 ResolutionDartType _supertype; | 935 ResolutionInterfaceType _supertype; |
| 936 OrderedTypeSet _allSupertypesAndSelf; | 936 OrderedTypeSet _allSupertypesAndSelf; |
| 937 Link<ResolutionDartType> _interfaces; | 937 Link<ResolutionDartType> _interfaces; |
| 938 ResolutionFunctionType _callType; | 938 ResolutionFunctionType _callType; |
| 939 | 939 |
| 940 ClassElementZ(ObjectDecoder decoder) : super(decoder); | 940 ClassElementZ(ObjectDecoder decoder) : super(decoder); |
| 941 | 941 |
| 942 @override | 942 @override |
| 943 List<ResolutionDartType> _getTypeVariables() { | 943 List<ResolutionDartType> _getTypeVariables() { |
| 944 return _decoder.getTypes(Key.TYPE_VARIABLES, isOptional: true); | 944 return _decoder.getTypes(Key.TYPE_VARIABLES, isOptional: true); |
| 945 } | 945 } |
| (...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2411 } | 2411 } |
| 2412 | 2412 |
| 2413 @override | 2413 @override |
| 2414 Node get node => throw new UnsupportedError('${this}.node'); | 2414 Node get node => throw new UnsupportedError('${this}.node'); |
| 2415 | 2415 |
| 2416 @override | 2416 @override |
| 2417 bool get hasNode => false; | 2417 bool get hasNode => false; |
| 2418 | 2418 |
| 2419 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; | 2419 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; |
| 2420 } | 2420 } |
| OLD | NEW |