Index: pkg/compiler/lib/src/elements/types.dart |
diff --git a/pkg/compiler/lib/src/elements/types.dart b/pkg/compiler/lib/src/elements/types.dart |
index ba4b8d1731d55adb4700d6902ed4a6512bb19d62..8d3a6468e76ae169d8451016afc4b31725a67927 100644 |
--- a/pkg/compiler/lib/src/elements/types.dart |
+++ b/pkg/compiler/lib/src/elements/types.dart |
@@ -753,4 +753,11 @@ abstract class DartTypes { |
/// Returns the supertype of [cls], i.e. the type in the `extends` clause of |
/// [cls]. |
InterfaceType getSupertype(ClassEntity cls); |
+ |
+ /// Returns all supertypes of [cls]. |
+ Iterable<InterfaceType> getSupertypes(ClassEntity cls); |
+ |
+ /// Returns the type of the `call` method on [type], or `null` if the class |
+ /// of [type] does not have a `call` method. |
+ FunctionType getCallType(InterfaceType type); |
} |