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 6fd1f50d543fdc1536a855a9c13e99f0dc90f79f..7d45c4a998403fed4e1d3c2d1ac34843f3f30cef 100644 |
| --- a/pkg/compiler/lib/src/elements/entities.dart |
| +++ b/pkg/compiler/lib/src/elements/entities.dart |
| @@ -53,6 +53,17 @@ abstract class FieldEntity extends MemberEntity {} |
| /// Stripped down super interface for function like entities. |
| /// |
| -/// Currently only [FieldElement] but later also kernel based Dart constructors |
| +/// Currently only [MethodElement] but later also kernel based Dart constructors |
| /// and methods and/or Dart-in-JS function-like properties. |
| abstract class FunctionEntity extends MemberEntity {} |
| + |
| +/// Stripped down super interface for constructor like entities. |
| +/// |
| +/// Currently only [ConstructorElement] but later also kernel based Dart |
| +/// constructors and methods and/or Dart-in-JS function-like properties. |
|
Siggi Cherem (dart-lang)
2017/01/30 18:51:37
remove "and methods and/or Dart-in-JS funciton-lik
Johnni Winther
2017/01/31 08:50:57
Done.
|
| +// TODO(johnniwinther): Remove factory constructors from the set of |
| +// constructors. |
| +abstract class ConstructorEntity extends FunctionEntity { |
| + bool get isGenerativeConstructor; |
| + bool get isFactoryConstructor; |
| +} |