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

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

Issue 22692002: Implement reflecting on mixin applications. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Minor bug fixes during testing. Created 7 years, 4 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
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/enqueue.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) 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 7
8 import '../tree/tree.dart'; 8 import '../tree/tree.dart';
9 import '../util/util.dart'; 9 import '../util/util.dart';
10 import '../resolution/resolution.dart'; 10 import '../resolution/resolution.dart';
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 {includeBackendMembers: false, 875 {includeBackendMembers: false,
876 includeSuperAndInjectedMembers: false}); 876 includeSuperAndInjectedMembers: false});
877 877
878 void forEachInstanceField(void f(ClassElement enclosingClass, Element field), 878 void forEachInstanceField(void f(ClassElement enclosingClass, Element field),
879 {includeSuperAndInjectedMembers: false}); 879 {includeSuperAndInjectedMembers: false});
880 880
881 /// Similar to [forEachInstanceField] but visits static fields. 881 /// Similar to [forEachInstanceField] but visits static fields.
882 void forEachStaticField(void f(ClassElement enclosingClass, Element field)); 882 void forEachStaticField(void f(ClassElement enclosingClass, Element field));
883 883
884 void forEachBackendMember(void f(Element member)); 884 void forEachBackendMember(void f(Element member));
885
886 Link<DartType> computeTypeParameters(Compiler compiler);
885 } 887 }
886 888
887 abstract class MixinApplicationElement extends ClassElement { 889 abstract class MixinApplicationElement extends ClassElement {
888 ClassElement get mixin; 890 ClassElement get mixin;
889 void set mixin(ClassElement value); 891 void set mixin(ClassElement value);
890 void addConstructor(FunctionElement constructor); 892 void addConstructor(FunctionElement constructor);
891 } 893 }
892 894
893 abstract class LabelElement extends Element { 895 abstract class LabelElement extends Element {
894 Label get label; 896 Label get label;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 int get resolutionState; 937 int get resolutionState;
936 Token get beginToken; 938 Token get beginToken;
937 Token get endToken; 939 Token get endToken;
938 940
939 // TODO(kasperl): Try to get rid of these. 941 // TODO(kasperl): Try to get rid of these.
940 void set annotatedElement(Element value); 942 void set annotatedElement(Element value);
941 void set resolutionState(int value); 943 void set resolutionState(int value);
942 944
943 MetadataAnnotation ensureResolved(Compiler compiler); 945 MetadataAnnotation ensureResolved(Compiler compiler);
944 } 946 }
OLDNEW
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698