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 import 'dart:uri'; | 7 import 'dart:uri'; |
8 | 8 |
9 import 'modelx.dart'; | 9 import 'modelx.dart'; |
10 import '../tree/tree.dart'; | 10 import '../tree/tree.dart'; |
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 | 768 |
769 abstract class TypeVariableElement extends Element { | 769 abstract class TypeVariableElement extends Element { |
770 TypeVariableType get type; | 770 TypeVariableType get type; |
771 DartType get bound; | 771 DartType get bound; |
772 | 772 |
773 // TODO(kasperl): Try to get rid of these. | 773 // TODO(kasperl): Try to get rid of these. |
774 void set type(TypeVariableType value); | 774 void set type(TypeVariableType value); |
775 void set bound(DartType value); | 775 void set bound(DartType value); |
776 } | 776 } |
777 | 777 |
778 abstract class MetadataAnnotation { | 778 abstract class MetadataAnnotation implements Spannable { |
779 Constant get value; | 779 Constant get value; |
780 Element get annotatedElement; | 780 Element get annotatedElement; |
781 int get resolutionState; | 781 int get resolutionState; |
782 Token get beginToken; | 782 Token get beginToken; |
783 | 783 |
784 // TODO(kasperl): Try to get rid of these. | 784 // TODO(kasperl): Try to get rid of these. |
785 void set annotatedElement(Element value); | 785 void set annotatedElement(Element value); |
786 void set resolutionState(int value); | 786 void set resolutionState(int value); |
787 | 787 |
788 MetadataAnnotation ensureResolved(Compiler compiler); | 788 MetadataAnnotation ensureResolved(Compiler compiler); |
789 } | 789 } |
OLD | NEW |