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

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

Issue 19405002: Implement reflecting on static fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix a long line. Created 7 years, 5 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/elements/modelx.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 'modelx.dart'; 8 import 'modelx.dart';
9 import '../tree/tree.dart'; 9 import '../tree/tree.dart';
10 import '../util/util.dart'; 10 import '../util/util.dart';
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 Element lookupFactoryConstructor(Selector selector, 876 Element lookupFactoryConstructor(Selector selector,
877 [Element noMatch(Element)]); 877 [Element noMatch(Element)]);
878 878
879 void forEachMember(void f(ClassElement enclosingClass, Element member), 879 void forEachMember(void f(ClassElement enclosingClass, Element member),
880 {includeBackendMembers: false, 880 {includeBackendMembers: false,
881 includeSuperAndInjectedMembers: false}); 881 includeSuperAndInjectedMembers: false});
882 882
883 void forEachInstanceField(void f(ClassElement enclosingClass, Element field), 883 void forEachInstanceField(void f(ClassElement enclosingClass, Element field),
884 {includeSuperAndInjectedMembers: false}); 884 {includeSuperAndInjectedMembers: false});
885 885
886 /// Similar to [forEachInstanceField] but visits static fields.
887 void forEachStaticField(void f(ClassElement enclosingClass, Element field));
888
886 void forEachBackendMember(void f(Element member)); 889 void forEachBackendMember(void f(Element member));
887 } 890 }
888 891
889 abstract class MixinApplicationElement extends ClassElement { 892 abstract class MixinApplicationElement extends ClassElement {
890 ClassElement get mixin; 893 ClassElement get mixin;
891 void set mixin(ClassElement value); 894 void set mixin(ClassElement value);
892 void addConstructor(FunctionElement constructor); 895 void addConstructor(FunctionElement constructor);
893 } 896 }
894 897
895 abstract class LabelElement extends Element { 898 abstract class LabelElement extends Element {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 int get resolutionState; 940 int get resolutionState;
938 Token get beginToken; 941 Token get beginToken;
939 Token get endToken; 942 Token get endToken;
940 943
941 // TODO(kasperl): Try to get rid of these. 944 // TODO(kasperl): Try to get rid of these.
942 void set annotatedElement(Element value); 945 void set annotatedElement(Element value);
943 void set resolutionState(int value); 946 void set resolutionState(int value);
944 947
945 MetadataAnnotation ensureResolved(Compiler compiler); 948 MetadataAnnotation ensureResolved(Compiler compiler);
946 } 949 }
OLDNEW
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698