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

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

Issue 1806003002: Fix warnings about unimplemented methods in serialized element model. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 @override 85 @override
86 ClassElement get enclosingClass => null; 86 ClassElement get enclosingClass => null;
87 87
88 @override 88 @override
89 Element get enclosingClassOrCompilationUnit { 89 Element get enclosingClassOrCompilationUnit {
90 return _unsupported('enclosingClassOrCompilationUnit'); 90 return _unsupported('enclosingClassOrCompilationUnit');
91 } 91 }
92 92
93 @override 93 @override
94 String get fixedBackendName => _unsupported('fixedBackendName');
95
96 @override
97 LibraryElement get implementationLibrary => library; 94 LibraryElement get implementationLibrary => library;
98 95
99 @override 96 @override
100 bool get isAbstract => false; 97 bool get isAbstract => false;
101 98
102 @override 99 @override
103 bool get isAssignable => _unsupported('isAssignable'); 100 bool get isAssignable => _unsupported('isAssignable');
104 101
105 @override 102 @override
106 bool get isClassMember => false; 103 bool get isClassMember => false;
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 return _unsupported('redirectionDeferredPrefix'); 965 return _unsupported('redirectionDeferredPrefix');
969 } 966 }
970 } 967 }
971 968
972 class GenerativeConstructorElementZ extends ConstructorElementZ { 969 class GenerativeConstructorElementZ extends ConstructorElementZ {
973 GenerativeConstructorElementZ(ObjectDecoder decoder) 970 GenerativeConstructorElementZ(ObjectDecoder decoder)
974 : super(decoder); 971 : super(decoder);
975 972
976 @override 973 @override
977 ElementKind get kind => ElementKind.GENERATIVE_CONSTRUCTOR; 974 ElementKind get kind => ElementKind.GENERATIVE_CONSTRUCTOR;
975
976 @override
977 bool get isEffectiveTargetMalformed =>
978 _unsupported('isEffectiveTargetMalformed');
978 } 979 }
979 980
980 class FactoryConstructorElementZ extends ConstructorElementZ { 981 class FactoryConstructorElementZ extends ConstructorElementZ {
981 982
982 FactoryConstructorElementZ(ObjectDecoder decoder) 983 FactoryConstructorElementZ(ObjectDecoder decoder)
983 : super(decoder); 984 : super(decoder);
984 985
985 @override 986 @override
986 ElementKind get kind => ElementKind.FACTORY_CONSTRUCTOR; 987 ElementKind get kind => ElementKind.FACTORY_CONSTRUCTOR;
988
989 @override
990 bool get isEffectiveTargetMalformed =>
991 _unsupported('isEffectiveTargetMalformed');
987 } 992 }
988 993
989 abstract class MemberElementMixin 994 abstract class MemberElementMixin
990 implements DeserializedElementZ, MemberElement { 995 implements DeserializedElementZ, MemberElement {
991 996
992 @override 997 @override
993 MemberElement get memberContext => this; 998 MemberElement get memberContext => this;
994 999
995 @override 1000 @override
996 Name get memberName => new Name(name, library); 1001 Name get memberName => new Name(name, library);
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 } 1551 }
1547 1552
1548 @override 1553 @override
1549 ElementKind get kind => ElementKind.PREFIX; 1554 ElementKind get kind => ElementKind.PREFIX;
1550 1555
1551 @override 1556 @override
1552 Element lookupLocalMember(String memberName) { 1557 Element lookupLocalMember(String memberName) {
1553 return _unsupported('lookupLocalMember'); 1558 return _unsupported('lookupLocalMember');
1554 } 1559 }
1555 } 1560 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698