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

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

Issue 2781483002: Mostly use Entity in InterceptorData (Closed)
Patch Set: Created 3 years, 9 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/common/codegen.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19cfb0e1d0c534240a1077c9003d46b7f9c3e89e..23206180802deecd1063bd05cb6d0a58a16a7732 100644
--- a/pkg/compiler/lib/src/common_elements.dart
+++ b/pkg/compiler/lib/src/common_elements.dart
@@ -241,6 +241,18 @@ abstract class ElementEnvironment {
ConstructorEntity lookupConstructor(ClassEntity cls, String name,
{bool required: false});
+ /// Calls [f] for each class member declared or inherited in [cls] together
+ /// with the class that declared the member.
+ ///
+ /// TODO(johnniwinther): This should not include static members of
+ /// superclasses.
+ void forEachClassMember(
+ ClassEntity cls, void f(ClassEntity declarer, MemberEntity member));
+
+ /// Calls [f] for each class that is mixed into [cls] or one of its
+ /// superclasses.
+ void forEachMixin(ClassEntity cls, void f(ClassEntity mixin));
+
/// Create the instantiation of [cls] with the given [typeArguments].
InterfaceType createInterfaceType(
ClassEntity cls, List<DartType> typeArguments);
« no previous file with comments | « pkg/compiler/lib/src/common/codegen.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698