| OLD | NEW |
| 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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 /// Similar to [forEachInstanceField] but visits static fields. | 925 /// Similar to [forEachInstanceField] but visits static fields. |
| 926 void forEachStaticField(void f(ClassElement enclosingClass, Element field)); | 926 void forEachStaticField(void f(ClassElement enclosingClass, Element field)); |
| 927 | 927 |
| 928 void forEachBackendMember(void f(Element member)); | 928 void forEachBackendMember(void f(Element member)); |
| 929 | 929 |
| 930 Link<DartType> computeTypeParameters(Compiler compiler); | 930 Link<DartType> computeTypeParameters(Compiler compiler); |
| 931 } | 931 } |
| 932 | 932 |
| 933 abstract class MixinApplicationElement extends ClassElement { | 933 abstract class MixinApplicationElement extends ClassElement { |
| 934 ClassElement get mixin; | 934 ClassElement get mixin; |
| 935 void set mixin(ClassElement value); | 935 InterfaceType get mixinType; |
| 936 void set mixinType(InterfaceType value); |
| 936 void addConstructor(FunctionElement constructor); | 937 void addConstructor(FunctionElement constructor); |
| 937 } | 938 } |
| 938 | 939 |
| 939 abstract class LabelElement extends Element { | 940 abstract class LabelElement extends Element { |
| 940 Label get label; | 941 Label get label; |
| 941 String get labelName; | 942 String get labelName; |
| 942 TargetElement get target; | 943 TargetElement get target; |
| 943 | 944 |
| 944 bool get isTarget; | 945 bool get isTarget; |
| 945 bool get isBreakTarget; | 946 bool get isBreakTarget; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 int get resolutionState; | 982 int get resolutionState; |
| 982 Token get beginToken; | 983 Token get beginToken; |
| 983 Token get endToken; | 984 Token get endToken; |
| 984 | 985 |
| 985 // TODO(kasperl): Try to get rid of these. | 986 // TODO(kasperl): Try to get rid of these. |
| 986 void set annotatedElement(Element value); | 987 void set annotatedElement(Element value); |
| 987 void set resolutionState(int value); | 988 void set resolutionState(int value); |
| 988 | 989 |
| 989 MetadataAnnotation ensureResolved(Compiler compiler); | 990 MetadataAnnotation ensureResolved(Compiler compiler); |
| 990 } | 991 } |
| OLD | NEW |