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

Unified Diff: pkg/dartdoc/lib/mirrors.dart

Issue 11340044: FieldMirror => VariableMirror (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: pkg/dartdoc/lib/mirrors.dart
diff --git a/pkg/dartdoc/lib/mirrors.dart b/pkg/dartdoc/lib/mirrors.dart
index 21ce02ff7787ccf4da89917e4afdc8023b383d39..a6142ed35e3c5f0cc8f46747ec0f43c670b0677c 100644
--- a/pkg/dartdoc/lib/mirrors.dart
+++ b/pkg/dartdoc/lib/mirrors.dart
@@ -182,6 +182,12 @@ abstract class LibraryMirror implements ObjectMirror, DeclarationMirror {
Map<String, MethodMirror> get setters;
/**
+ * An immutable map from names to mirrors for all variable
+ * declarations in this library.
+ */
+ Map<String, VariableMirror> get variables;
+
+ /**
* Returns the canonical URI for this library.
*/
Uri get uri;
@@ -321,6 +327,12 @@ abstract class ClassMirror implements TypeMirror, ObjectMirror {
Map<String, MethodMirror> get setters;
/**
+ * An immutable map from names to mirrors for all variable
+ * declarations for this type.
+ */
+ Map<String, VariableMirror> get variables;
+
+ /**
* An immutable map from names to mirrors for all constructor
* declarations for this type.
*/
@@ -416,7 +428,7 @@ abstract class MemberMirror implements DeclarationMirror {
/**
* A field.
*/
-abstract class FieldMirror implements MemberMirror {
+abstract class VariableMirror implements MemberMirror {
/**
* Returns true if this field is final.
@@ -526,7 +538,7 @@ abstract class ParameterMirror implements Mirror {
/**
* Returns the initialized field, if this parameter is an initializing formal.
*/
- FieldMirror get initializedField;
+ VariableMirror get initializedField;
}
/**

Powered by Google App Engine
This is Rietveld 408576698