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

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

Issue 2968383002: Add ConstructorBodyEntity (Closed)
Patch Set: Created 3 years, 5 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/common_elements.dart
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart
index 97b43f3650ceeadbbb6b1e7984c746f0548774a2..898d093551624189690727eecc3bc0f8c58ecb00 100644
--- a/pkg/compiler/lib/src/common_elements.dart
+++ b/pkg/compiler/lib/src/common_elements.dart
@@ -1230,6 +1230,10 @@ abstract class ElementEnvironment {
void forEachConstructor(
ClassEntity cls, void f(ConstructorEntity constructor));
+ /// Calls [f] for every constructor body in [cls].
+ void forEachConstructorBody(
+ ClassEntity cls, void f(ConstructorBodyEntity constructorBody));
+
/// Returns the superclass of [cls].
///
/// If [skipUnnamedMixinApplications] is `true`, unnamed mixin applications
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | pkg/compiler/lib/src/elements/entities.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698