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

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

Issue 57983002: Add mixin support to source mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 1 month 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 | 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 '../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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 /// Similar to [forEachInstanceField] but visits static fields. 924 /// Similar to [forEachInstanceField] but visits static fields.
925 void forEachStaticField(void f(ClassElement enclosingClass, Element field)); 925 void forEachStaticField(void f(ClassElement enclosingClass, Element field));
926 926
927 void forEachBackendMember(void f(Element member)); 927 void forEachBackendMember(void f(Element member));
928 928
929 Link<DartType> computeTypeParameters(Compiler compiler); 929 Link<DartType> computeTypeParameters(Compiler compiler);
930 } 930 }
931 931
932 abstract class MixinApplicationElement extends ClassElement { 932 abstract class MixinApplicationElement extends ClassElement {
933 ClassElement get mixin; 933 ClassElement get mixin;
934 void set mixin(ClassElement value); 934 InterfaceType get mixinType;
935 void set mixinType(InterfaceType value);
935 void addConstructor(FunctionElement constructor); 936 void addConstructor(FunctionElement constructor);
936 } 937 }
937 938
938 abstract class LabelElement extends Element { 939 abstract class LabelElement extends Element {
939 Label get label; 940 Label get label;
940 String get labelName; 941 String get labelName;
941 TargetElement get target; 942 TargetElement get target;
942 943
943 bool get isTarget; 944 bool get isTarget;
944 bool get isBreakTarget; 945 bool get isBreakTarget;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 int get resolutionState; 981 int get resolutionState;
981 Token get beginToken; 982 Token get beginToken;
982 Token get endToken; 983 Token get endToken;
983 984
984 // TODO(kasperl): Try to get rid of these. 985 // TODO(kasperl): Try to get rid of these.
985 void set annotatedElement(Element value); 986 void set annotatedElement(Element value);
986 void set resolutionState(int value); 987 void set resolutionState(int value);
987 988
988 MetadataAnnotation ensureResolved(Compiler compiler); 989 MetadataAnnotation ensureResolved(Compiler compiler);
989 } 990 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698