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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 296463003: Handle metadata on nested function parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comment. Created 6 years, 7 months 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 side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698