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

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: Fix constructor name bug. 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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 void set thisType(InterfaceType value); 756 void set thisType(InterfaceType value);
757 void set supertype(DartType value); 757 void set supertype(DartType value);
758 void set allSupertypes(Link<DartType> value); 758 void set allSupertypes(Link<DartType> value);
759 void set interfaces(Link<DartType> value); 759 void set interfaces(Link<DartType> value);
760 void set patch(ClassElement value); 760 void set patch(ClassElement value);
761 void set origin(ClassElement value); 761 void set origin(ClassElement value);
762 void set supertypeLoadState(int value); 762 void set supertypeLoadState(int value);
763 void set resolutionState(int value); 763 void set resolutionState(int value);
764 void set nativeTagInfo(SourceString value); 764 void set nativeTagInfo(SourceString value);
765 765
766 // TODO(kasperl): These seem outdated.
767 bool isInterface();
768 DartType get defaultClass;
769 void set defaultClass(DartType value);
770
771 bool isObject(Compiler compiler); 766 bool isObject(Compiler compiler);
772 bool isSubclassOf(ClassElement cls); 767 bool isSubclassOf(ClassElement cls);
773 bool implementsInterface(ClassElement intrface); 768 bool implementsInterface(ClassElement intrface);
774 bool isShadowedByField(Element fieldMember); 769 bool isShadowedByField(Element fieldMember);
775 770
776 ClassElement ensureResolved(Compiler compiler); 771 ClassElement ensureResolved(Compiler compiler);
777 772
778 void addMember(Element element, DiagnosticListener listener); 773 void addMember(Element element, DiagnosticListener listener);
779 void addToScope(Element element, DiagnosticListener listener); 774 void addToScope(Element element, DiagnosticListener listener);
780 775
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 int get resolutionState; 865 int get resolutionState;
871 Token get beginToken; 866 Token get beginToken;
872 Token get endToken; 867 Token get endToken;
873 868
874 // TODO(kasperl): Try to get rid of these. 869 // TODO(kasperl): Try to get rid of these.
875 void set annotatedElement(Element value); 870 void set annotatedElement(Element value);
876 void set resolutionState(int value); 871 void set resolutionState(int value);
877 872
878 MetadataAnnotation ensureResolved(Compiler compiler); 873 MetadataAnnotation ensureResolved(Compiler compiler);
879 } 874 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698