Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| index 256d0b516cc4af6760d91ba63bad879e4f9e72eb..ab01f358f5c74501aefc5cb62f99086bd4d81cf2 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
| @@ -391,8 +391,15 @@ abstract class Element implements Spannable { |
| void diagnose(Element context, DiagnosticListener listener); |
| + // TODO(johnniwinther): Move this to [AstElement]. |
| + /// Returns the [TreeElements] that hold the resolution information for the |
| + /// AST nodes of this element. |
| TreeElements get treeElements; |
| + // TODO(johnniwinther): Move this to [AstElement]. |
| + /// Returns the [Element] that holds the [TreeElements] for this element. |
| + Element get analyzableElement; |
|
karlklose
2014/05/22 06:27:29
Perhaps we should have have AstElement extend Anal
Johnni Winther
2014/05/22 10:09:09
Added AnalyzableElement as an interface.
|
| + |
| accept(ElementVisitor visitor); |
| } |
| @@ -1217,9 +1224,6 @@ abstract class MetadataAnnotation implements Spannable { |
| Token get beginToken; |
| Token get endToken; |
| - // TODO(kasperl): Try to get rid of these. |
| - void set annotatedElement(Element value); |
| - |
| MetadataAnnotation ensureResolved(Compiler compiler); |
| } |