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

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: Updated cf. comments. 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
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698