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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 14907008: Remove support for interface in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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; 5 library elements;
6 6
7 import 'dart:uri'; 7 import 'dart:uri';
8 8
9 import 'modelx.dart'; 9 import 'modelx.dart';
10 import '../tree/tree.dart'; 10 import '../tree/tree.dart';
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 void set thisType(InterfaceType value); 762 void set thisType(InterfaceType value);
763 void set supertype(DartType value); 763 void set supertype(DartType value);
764 void set allSupertypes(Link<DartType> value); 764 void set allSupertypes(Link<DartType> value);
765 void set interfaces(Link<DartType> value); 765 void set interfaces(Link<DartType> value);
766 void set patch(ClassElement value); 766 void set patch(ClassElement value);
767 void set origin(ClassElement value); 767 void set origin(ClassElement value);
768 void set supertypeLoadState(int value); 768 void set supertypeLoadState(int value);
769 void set resolutionState(int value); 769 void set resolutionState(int value);
770 void set nativeTagInfo(SourceString value); 770 void set nativeTagInfo(SourceString value);
771 771
772 // TODO(kasperl): These seem outdated.
773 bool isInterface();
774 DartType get defaultClass;
775 void set defaultClass(DartType value);
776
777 bool isObject(Compiler compiler); 772 bool isObject(Compiler compiler);
778 bool isSubclassOf(ClassElement cls); 773 bool isSubclassOf(ClassElement cls);
779 bool implementsInterface(ClassElement intrface); 774 bool implementsInterface(ClassElement intrface);
780 bool isShadowedByField(Element fieldMember); 775 bool isShadowedByField(Element fieldMember);
781 776
782 ClassElement ensureResolved(Compiler compiler); 777 ClassElement ensureResolved(Compiler compiler);
783 778
784 void addMember(Element element, DiagnosticListener listener); 779 void addMember(Element element, DiagnosticListener listener);
785 void addToScope(Element element, DiagnosticListener listener); 780 void addToScope(Element element, DiagnosticListener listener);
786 781
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 int get resolutionState; 872 int get resolutionState;
878 Token get beginToken; 873 Token get beginToken;
879 Token get endToken; 874 Token get endToken;
880 875
881 // TODO(kasperl): Try to get rid of these. 876 // TODO(kasperl): Try to get rid of these.
882 void set annotatedElement(Element value); 877 void set annotatedElement(Element value);
883 void set resolutionState(int value); 878 void set resolutionState(int value);
884 879
885 MetadataAnnotation ensureResolved(Compiler compiler); 880 MetadataAnnotation ensureResolved(Compiler compiler);
886 } 881 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698