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 5779cd8d5dd8f0c4491b723e2b20f9c7df967e6f..827ad5e0982f8d77c802e494eb4eafa35342252f 100644 |
| --- a/pkg/compiler/lib/src/elements/entities.dart |
| +++ b/pkg/compiler/lib/src/elements/entities.dart |
| @@ -206,6 +206,15 @@ abstract class ConstructorEntity extends FunctionEntity { |
| bool get isFromEnvironmentConstructor; |
| } |
| +/// The constructor body for a [ConstructorEntity]. |
| +/// |
| +/// This is used only in the backend to split encoding of a Dart constructor |
| +/// into two JavaScript functions; the constructor and the constructor body. |
| +abstract class ConstructorBodyEntity extends FunctionEntity { |
|
Siggi Cherem (dart-lang)
2017/07/07 20:00:25
+TODO or clarify that this entity shouldn't exist
Johnni Winther
2017/07/10 14:11:33
Done.
|
| + /// The constructor for which this constructor body was created. |
| + ConstructorEntity get constructor; |
| +} |
| + |
| /// An entity that defines a local entity (memory slot) in generated code. |
| /// |
| /// Parameters, local variables and local functions (can) define local entity |