| Index: pkg/analyzer/lib/src/summary/inspect.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/inspect.dart b/pkg/analyzer/lib/src/summary/inspect.dart
|
| index ba4e18f3fb4c67307fa50652cdebf5b333f0e49f..799c15eb7798faa70b8d1b21791b6aec56147c96 100644
|
| --- a/pkg/analyzer/lib/src/summary/inspect.dart
|
| +++ b/pkg/analyzer/lib/src/summary/inspect.dart
|
| @@ -155,11 +155,21 @@ class SummaryInspector {
|
| List<ReferenceWrapper> _references;
|
|
|
| /**
|
| + * Indicates whether summary inspection should operate in "raw" mode. In this
|
| + * mode, the structure of the summary file is not altered for easier
|
| + * readability; everything is output in exactly the form in which it appears
|
| + * in the file.
|
| + */
|
| + final bool raw;
|
| +
|
| + SummaryInspector(this.raw);
|
| +
|
| + /**
|
| * Decode the object [obj], which was reached by examining [key] inside
|
| * another object.
|
| */
|
| DecodedEntity decode(Object obj, String key) {
|
| - if (obj is PackageBundle) {
|
| + if (!raw && obj is PackageBundle) {
|
| return decodePackageBundle(obj);
|
| }
|
| if (obj is LibraryWrapper) {
|
|
|