| 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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 TypedefType get rawType; | 710 TypedefType get rawType; |
| 711 DartType get alias; | 711 DartType get alias; |
| 712 FunctionSignature get functionSignature; | 712 FunctionSignature get functionSignature; |
| 713 Link<DartType> get typeVariables; | 713 Link<DartType> get typeVariables; |
| 714 | 714 |
| 715 bool get isResolved; | 715 bool get isResolved; |
| 716 | 716 |
| 717 // TODO(kasperl): Try to get rid of these setters. | 717 // TODO(kasperl): Try to get rid of these setters. |
| 718 void set alias(DartType value); | 718 void set alias(DartType value); |
| 719 void set functionSignature(FunctionSignature value); | 719 void set functionSignature(FunctionSignature value); |
| 720 |
| 721 void checkCyclicReference(Compiler compiler); |
| 720 } | 722 } |
| 721 | 723 |
| 722 abstract class VariableElement extends Element { | 724 abstract class VariableElement extends Element { |
| 723 VariableListElement get variables; | 725 VariableListElement get variables; |
| 724 | 726 |
| 725 // TODO(kasperl): Try to get rid of this. | 727 // TODO(kasperl): Try to get rid of this. |
| 726 Expression get cachedNode; | 728 Expression get cachedNode; |
| 727 } | 729 } |
| 728 | 730 |
| 729 abstract class FieldParameterElement extends VariableElement { | 731 abstract class FieldParameterElement extends VariableElement { |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 int get resolutionState; | 975 int get resolutionState; |
| 974 Token get beginToken; | 976 Token get beginToken; |
| 975 Token get endToken; | 977 Token get endToken; |
| 976 | 978 |
| 977 // TODO(kasperl): Try to get rid of these. | 979 // TODO(kasperl): Try to get rid of these. |
| 978 void set annotatedElement(Element value); | 980 void set annotatedElement(Element value); |
| 979 void set resolutionState(int value); | 981 void set resolutionState(int value); |
| 980 | 982 |
| 981 MetadataAnnotation ensureResolved(Compiler compiler); | 983 MetadataAnnotation ensureResolved(Compiler compiler); |
| 982 } | 984 } |
| OLD | NEW |