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

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

Issue 11345035: TypeVariableMirror and TypedefMirror updated. (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/src/mirrors/dart2js_mirror.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 a6142ed35e3c5f0cc8f46747ec0f43c670b0677c..ef5734a22baef9be8a140e21aa9bee5ddaedb233 100644
--- a/pkg/dartdoc/lib/mirrors.dart
+++ b/pkg/dartdoc/lib/mirrors.dart
@@ -349,18 +349,9 @@ abstract class ClassMirror implements TypeMirror, ObjectMirror {
*/
abstract class TypeVariableMirror implements TypeMirror {
/**
- * Return a mirror on the class, interface, or typedef that declared the
- * type variable.
- */
- // Should not be called [declaration] as we then would have two [TypeMirror]
- // subtypes ([InterfaceMirror] and [TypeVariableMirror]) which have
- // [declaration()] methods but with different semantics.
- ClassMirror get declarer;
-
- /**
* Returns the bound of the type parameter.
*/
- TypeMirror get bound;
+ TypeMirror get upperBound;
}
/**
@@ -388,10 +379,11 @@ abstract class FunctionTypeMirror implements ClassMirror {
*/
abstract class TypedefMirror implements ClassMirror {
/**
- * Returns the defining type for this typedef. For instance [:void f(int):]
- * for a [:typedef void f(int):].
+ * The defining type for this typedef.
+ *
+ * For instance [:void f(int):] for a [:typedef void f(int):].
*/
- TypeMirror get definition;
+ TypeMirror get value;
}
/**
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698