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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 1299413002: Move common identifiers, names and selectors to a separate library. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
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..7d91be57907a979c2f36ae7e43535f3b983a45b8 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -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.
sigurdm 2015/08/20 10:19:02 /// The name of this type variable, taking privacy
Johnni Winther 2015/08/21 11:49:22 Done.
+ 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.
sigurdm 2015/08/20 10:19:02 Same here
Johnni Winther 2015/08/21 11:49:22 Done.
+ Name get memberName;
/// Use [typeDeclaration] instead.
@deprecated

Powered by Google App Engine
This is Rietveld 408576698