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

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

Issue 12184017: MetadataAnnotation should be spannable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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: dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 81e2fc0b2c1d44e7cb39ddafa501d08ba7a00550..b3f8825c0b3698e09c19f5ff11cdd911106cf33d 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -775,11 +775,12 @@ abstract class TypeVariableElement extends Element {
void set bound(DartType value);
}
-abstract class MetadataAnnotation {
+abstract class MetadataAnnotation implements Spannable {
Constant get value;
Element get annotatedElement;
int get resolutionState;
Token get beginToken;
+ Token get endToken;
// TODO(kasperl): Try to get rid of these.
void set annotatedElement(Element value);

Powered by Google App Engine
This is Rietveld 408576698