Index: pkg/analyzer/lib/src/summary/idl.dart |
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart |
index 901c5bad796a718b1c29cffd249f768531496465..436ad02157c7b583838bec99d0c715da342e361f 100644 |
--- a/pkg/analyzer/lib/src/summary/idl.dart |
+++ b/pkg/analyzer/lib/src/summary/idl.dart |
@@ -129,6 +129,31 @@ abstract class AnalysisDriverResolvedUnit extends base.SummaryClass { |
} |
/** |
+ * Information about a subtype of one or more classes. |
+ */ |
+abstract class AnalysisDriverSubtype extends base.SummaryClass { |
+ /** |
+ * The names of defined class members. |
+ * The list is sorted in ascending order. |
+ */ |
+ @Id(2) |
+ List<String> get members; |
+ |
+ /** |
+ * The name of the class. |
+ */ |
+ @Id(0) |
+ String get name; |
+ |
+ /** |
+ * The identifiers of the direct supertypes. |
+ * The list is sorted in ascending order. |
+ */ |
+ @Id(1) |
+ List<String> get supertypes; |
+} |
+ |
+/** |
* Information about an error in a resolved unit. |
*/ |
abstract class AnalysisDriverUnitError extends base.SummaryClass { |
@@ -228,6 +253,12 @@ abstract class AnalysisDriverUnitIndex extends base.SummaryClass { |
List<String> get strings; |
/** |
+ * The list of classes declared in the unit. |
+ */ |
+ @Id(18) |
+ List<AnalysisDriverSubtype> get subtypes; |
+ |
+ /** |
* Each item of this list corresponds to the library URI of a unique library |
* specific unit referenced in the index. It is an index into [strings] list. |
*/ |