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

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

Issue 11363005: ObjectMirror => ContainerMirror (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Test updated 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
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | pkg/dartdoc/lib/mirrors_util.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/lib/mirrors.dart
diff --git a/pkg/dartdoc/lib/mirrors.dart b/pkg/dartdoc/lib/mirrors.dart
index ffc0fe49610cbfdafd0094294e006ef20f90bb38..fc82fa11fff945ea51adf64535b90e5e4cae6d23 100644
--- a/pkg/dartdoc/lib/mirrors.dart
+++ b/pkg/dartdoc/lib/mirrors.dart
@@ -133,29 +133,29 @@ abstract class DeclarationMirror implements Mirror {
}
/**
- * Common interface for interface types and libraries.
+ * Common interface for classes and libraries.
*/
-abstract class ObjectMirror implements Mirror {
+abstract class ContainerMirror implements Mirror {
/**
- * Returns an unmodifiable map of the members of declared in this type or
- * library.
+ * An immutable map from from names to mirrors for all members in this
+ * container.
*/
- Map<String, MemberMirror> get declaredMembers;
+ Map<String, MemberMirror> get members;
}
/**
* A library.
*/
-abstract class LibraryMirror implements ObjectMirror, DeclarationMirror {
+abstract class LibraryMirror implements ContainerMirror, DeclarationMirror {
/**
- * An immutable map from from names to mirrors for all members in
- * this library.
+ * An immutable map from from names to mirrors for all members in this
+ * library.
*
- * The members of a library are its top-level classes,
- * functions, variables, getters, and setters.
+ * The members of a library are its top-level classes, functions, variables,
+ * getters, and setters.
*/
- Map<String, Mirror> get members;
+ Map<String, MemberMirror> get members;
/**
* An immutable map from names to mirrors for all class
@@ -236,7 +236,7 @@ abstract class TypeMirror implements DeclarationMirror {
/**
* A class or interface type.
*/
-abstract class ClassMirror implements TypeMirror, ObjectMirror {
+abstract class ClassMirror implements TypeMirror, ContainerMirror {
/**
* A mirror on the original declaration of this type.
*
@@ -305,7 +305,7 @@ abstract class ClassMirror implements TypeMirror, ObjectMirror {
*
* This does not include inherited members.
*/
- Map<String, Mirror> get members;
+ Map<String, MemberMirror> get members;
/**
* An immutable map from names to mirrors for all method,
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | pkg/dartdoc/lib/mirrors_util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698