| Index: runtime/observatory/lib/src/models/objects/library.dart
|
| diff --git a/runtime/observatory/lib/src/models/objects/library.dart b/runtime/observatory/lib/src/models/objects/library.dart
|
| index 602231c53f453b791fe57db576465c486c35adea..b0046fbeff2ab19cc58da7b5354e5b5f9e6607cb 100644
|
| --- a/runtime/observatory/lib/src/models/objects/library.dart
|
| +++ b/runtime/observatory/lib/src/models/objects/library.dart
|
| @@ -17,17 +17,28 @@ abstract class Library extends Object implements LibraryRef {
|
| //bool get debuggable;
|
|
|
| /// A list of the imports for this library.
|
| - //LibraryDependency[] dependencies;
|
| + Iterable<LibraryDependency> get dependencies;
|
|
|
| - // A list of the scripts which constitute this library.
|
| + /// A list of the scripts which constitute this library.
|
| Iterable<ScriptRef> get scripts;
|
|
|
| - // A list of the top-level variables in this library.
|
| - //List<FieldRef> get variables;
|
| + /// A list of the top-level variables in this library.
|
| + Iterable<FieldRef> get variables;
|
|
|
| - // A list of the top-level functions in this library.
|
| - //List<FunctionRef> get functions;
|
| + /// A list of the top-level functions in this library.
|
| + Iterable<FunctionRef> get functions;
|
|
|
| - // A list of all classes in this library.
|
| + /// A list of all classes in this library.
|
| Iterable<ClassRef> get classes;
|
| +
|
| + ScriptRef get rootScript;
|
| + String get vmName;
|
| +}
|
| +
|
| +abstract class LibraryDependency {
|
| + bool get isImport;
|
| + bool get isDeferred;
|
| + LibraryRef get target;
|
| + /// [optional]
|
| + String get prefix;
|
| }
|
|
|