Chromium Code Reviews| Index: pkg/compiler/lib/src/elements/entities.dart |
| diff --git a/pkg/compiler/lib/src/elements/entities.dart b/pkg/compiler/lib/src/elements/entities.dart |
| index c7942686970011a70dbed104d97a808ae5493d10..df0abbe37eb1c723941476ed1d35872388cf6843 100644 |
| --- a/pkg/compiler/lib/src/elements/entities.dart |
| +++ b/pkg/compiler/lib/src/elements/entities.dart |
| @@ -6,6 +6,14 @@ library entities; |
| import 'elements.dart' show Entity; |
| +/// Stripped down super interface for library like entities. |
| +/// |
| +/// Currently only [LibraryElement] but later also kernel based Dart classes |
| +/// and/or Dart-in-JS classes. |
| +abstract class LibraryEntity extends Entity { |
| + String get libraryName; |
|
Siggi Cherem (dart-lang)
2017/01/12 00:00:33
I wonder if we actually ever want the libraryName
Johnni Winther
2017/01/12 12:29:05
We don't. I'd rather use [name] but it has differe
Siggi Cherem (dart-lang)
2017/01/12 18:36:53
is the idea then to remove this field and change i
Johnni Winther
2017/01/13 08:27:14
Will do.
|
| +} |
| + |
| /// Stripped down super interface for class like entities. |
| /// |
| /// Currently only [ClassElement] but later also kernel based Dart classes |