Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1738)

Unified Diff: runtime/observatory/lib/src/models/objects/library.dart

Issue 2289953003: Converted Observatory library-view element (Closed)
Patch Set: Fixed inspect page pattern matching Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « runtime/observatory/lib/src/elements/service_view.html ('k') | runtime/observatory/lib/src/models/repositories/library.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698