Chromium Code Reviews| 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 e49cf9b5152cb33a65cb65178ec00410c453dced..38a49d34d1c12cb0d945e8519d76abf05c2ae286 100644 |
| --- a/pkg/analyzer/lib/src/summary/idl.dart |
| +++ b/pkg/analyzer/lib/src/summary/idl.dart |
| @@ -354,6 +354,46 @@ abstract class LinkedUnit extends base.SummaryClass { |
| } |
| /** |
| + * Summary information about a package. |
| + */ |
| +@topLevel |
| +abstract class PackageBundle extends base.SummaryClass { |
| + factory PackageBundle.fromBuffer(List<int> buffer) => |
| + generated.readPackageBundle(buffer); |
| + |
| + /** |
| + * Linked libraries. |
| + */ |
| + @Id(0) |
| + List<LinkedLibrary> get linkedLibraries; |
| + |
| + /** |
| + * The list of URIs of items in [linkedLibraries], e.g. `dart:core`. |
|
scheglov
2016/02/23 18:50:18
Maybe add also a "package:" type URI example.
Paul Berry
2016/02/23 18:55:24
Done.
|
| + */ |
| + @Id(1) |
| + List<String> get linkedLibraryUris; |
| + |
| + /** |
| + * List of MD5 hashes of the files listed in [unlinkedUnitUris]. Each hash |
| + * is encoded as a hexadecimal string using lower case letters. |
| + */ |
| + @Id(4) |
| + List<String> get unlinkedUnitHashes; |
| + |
| + /** |
| + * Unlinked information for the compilation units constituting the SDK. |
|
scheglov
2016/02/23 18:50:18
"the SDK" => "the package"?
Paul Berry
2016/02/23 18:55:24
Done.
|
| + */ |
| + @Id(2) |
| + List<UnlinkedUnit> get unlinkedUnits; |
| + |
| + /** |
| + * The list of URIs of items in [unlinkedUnits], e.g. `dart:core/bool.dart`. |
| + */ |
| + @Id(3) |
| + List<String> get unlinkedUnitUris; |
| +} |
| + |
| +/** |
| * Enum used to indicate the kind of entity referred to by a |
| * [LinkedReference]. |
| */ |
| @@ -422,39 +462,6 @@ enum ReferenceKind { |
| } |
| /** |
| - * Information about SDK. |
| - */ |
| -@topLevel |
| -abstract class SdkBundle extends base.SummaryClass { |
| - factory SdkBundle.fromBuffer(List<int> buffer) => |
| - generated.readSdkBundle(buffer); |
| - |
| - /** |
| - * Linked libraries. |
| - */ |
| - @Id(0) |
| - List<LinkedLibrary> get linkedLibraries; |
| - |
| - /** |
| - * The list of URIs of items in [linkedLibraries], e.g. `dart:core`. |
| - */ |
| - @Id(1) |
| - List<String> get linkedLibraryUris; |
| - |
| - /** |
| - * Unlinked information for the compilation units constituting the SDK. |
| - */ |
| - @Id(2) |
| - List<UnlinkedUnit> get unlinkedUnits; |
| - |
| - /** |
| - * The list of URIs of items in [unlinkedUnits], e.g. `dart:core/bool.dart`. |
| - */ |
| - @Id(3) |
| - List<String> get unlinkedUnitUris; |
| -} |
| - |
| -/** |
| * Unlinked summary information about a class declaration. |
| */ |
| abstract class UnlinkedClass extends base.SummaryClass { |