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

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

Issue 11341037: Rename InterfaceMirror to ClassMirror (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
« 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 82d48429e8d5d214ce6489006a1200800748df94..934ce3203619b8cdbde1e15acec4c80322ad3e54 100644
--- a/pkg/dartdoc/lib/mirrors.dart
+++ b/pkg/dartdoc/lib/mirrors.dart
@@ -126,7 +126,7 @@ abstract class LibraryMirror extends ObjectMirror {
/**
* Returns an iterable over all types in the library.
*/
- Map<String, InterfaceMirror> get types;
+ Map<String, ClassMirror> get types;
/**
* Returns the source location for this library.
@@ -187,22 +187,22 @@ abstract class TypeMirror implements Mirror {
/**
* A class or interface type.
*/
-abstract class InterfaceMirror implements TypeMirror, ObjectMirror {
+abstract class ClassMirror implements TypeMirror, ObjectMirror {
/**
* Returns the defining type, i.e. declaration of a type.
*/
- InterfaceMirror get declaration;
+ ClassMirror get declaration;
/**
* Returns the super class of this type, or null if this type is [Object] or a
* typedef.
*/
- InterfaceMirror get superclass;
+ ClassMirror get superclass;
/**
* Returns a list of the interfaces directly implemented by this type.
*/
- List<InterfaceMirror> get interfaces;
+ List<ClassMirror> get interfaces;
/**
* Is [:true:] iff this type is a class.
@@ -247,7 +247,7 @@ abstract class InterfaceMirror implements TypeMirror, ObjectMirror {
/**
* Returns the default type for this interface.
*/
- InterfaceMirror get defaultType;
+ ClassMirror get defaultType;
}
/**
@@ -261,7 +261,7 @@ abstract class TypeVariableMirror implements TypeMirror {
// Should not be called [declaration] as we then would have two [TypeMirror]
// subtypes ([InterfaceMirror] and [TypeVariableMirror]) which have
// [declaration()] methods but with different semantics.
- InterfaceMirror get declarer;
+ ClassMirror get declarer;
/**
* Returns the bound of the type parameter.
@@ -272,7 +272,7 @@ abstract class TypeVariableMirror implements TypeMirror {
/**
* A function type.
*/
-abstract class FunctionTypeMirror implements InterfaceMirror {
+abstract class FunctionTypeMirror implements ClassMirror {
/**
* Returns the return type of this function type.
*/
@@ -292,7 +292,7 @@ abstract class FunctionTypeMirror implements InterfaceMirror {
/**
* A typedef.
*/
-abstract class TypedefMirror implements InterfaceMirror {
+abstract class TypedefMirror implements ClassMirror {
/**
* Returns the defining type for this typedef. For instance [:void f(int):]
* for a [:typedef void f(int):].
« 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