| 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);
|
|
|