Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 2808763005: Extract OrderedTypeSetBuilderBase from OrderedTypeSetBuilder (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/resolution/class_hierarchy.dart ('k') | pkg/compiler/lib/src/world.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/class_hierarchy.dart ('k') | pkg/compiler/lib/src/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698