| Index: pkg/dartdoc/lib/mirrors.dart
|
| diff --git a/pkg/dartdoc/lib/mirrors.dart b/pkg/dartdoc/lib/mirrors.dart
|
| index 4e05cfa6304483b31def3fc73180369dc9c4aaf1..ba361681f7f72d624f597770856872318fb79b2d 100644
|
| --- a/pkg/dartdoc/lib/mirrors.dart
|
| +++ b/pkg/dartdoc/lib/mirrors.dart
|
| @@ -115,6 +115,21 @@ abstract class DeclarationMirror implements Mirror {
|
| * Note that for libraries, the owner will be [:null:].
|
| */
|
| DeclarationMirror get owner;
|
| +
|
| + /**
|
| + * Is this declaration private?
|
| + *
|
| + * Note that for libraries, this will be [:false:].
|
| + */
|
| + bool get isPrivate;
|
| +
|
| + /**
|
| + * Is this declaration top-level?
|
| + *
|
| + * This is defined to be equivalent to:
|
| + * [:mirror.owner != null && mirror.owner is LibraryMirror:]
|
| + */
|
| + bool get isTopLevel;
|
| }
|
|
|
| /**
|
| @@ -220,11 +235,6 @@ abstract class ClassMirror implements TypeMirror, ObjectMirror {
|
| bool get isInterface;
|
|
|
| /**
|
| - * Is [:true:] if this type is private.
|
| - */
|
| - bool get isPrivate;
|
| -
|
| - /**
|
| * Is [:true:] if this type is the declaration of a type.
|
| */
|
| bool get isDeclaration;
|
| @@ -331,11 +341,6 @@ abstract class MemberMirror implements DeclarationMirror {
|
| bool get isMethod;
|
|
|
| /**
|
| - * Returns true if this member is private.
|
| - */
|
| - bool get isPrivate;
|
| -
|
| - /**
|
| * Returns true if this member is static.
|
| */
|
| bool get isStatic;
|
|
|