Index: pkg/compiler/lib/src/elements/elements.dart |
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart |
index 8fac4903568436a57ade0e1d37aabbade17ba7aa..ed40c2908ecb768e012f2130ea376af3478c5faf 100644 |
--- a/pkg/compiler/lib/src/elements/elements.dart |
+++ b/pkg/compiler/lib/src/elements/elements.dart |
@@ -968,7 +968,7 @@ abstract class MemberElement extends Element implements ExecutableElement { |
/// The local functions defined within this member. |
List<FunctionElement> get nestedClosures; |
- /// The name of this member taking privacy into account. |
+ /// The name of this member, taking privacy into account. |
Name get memberName; |
} |
@@ -1279,6 +1279,9 @@ abstract class ConstructorBodyElement extends MethodElement { |
/// [TypeDeclarationElement] defines the common interface for class/interface |
/// declarations and typedefs. |
abstract class TypeDeclarationElement extends Element implements AstElement { |
+ /// The name of this type declaration, taking privacy into account. |
+ Name get memberName; |
+ |
/// Do not use [computeType] outside of the resolver; instead retrieve the |
/// type from the [thisType] or [rawType], depending on the use case. |
/// |
@@ -1488,6 +1491,8 @@ abstract class JumpTarget extends Local { |
/// The [Element] for a type variable declaration on a generic class or typedef. |
abstract class TypeVariableElement extends Element |
implements AstElement, TypedElement { |
+ /// The name of this type variable, taking privacy into account. |
+ Name get memberName; |
/// Use [typeDeclaration] instead. |
@deprecated |