Chromium Code Reviews| Index: runtime/vm/service/service.md |
| diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md |
| index f9ee96a532367a6626a42d406e3872ae66cfbd85..af2259bdde8e4396e3618a1949b87c3072cd1d50 100644 |
| --- a/runtime/vm/service/service.md |
| +++ b/runtime/vm/service/service.md |
| @@ -1297,7 +1297,7 @@ class Library extends Object { |
| string uri; |
| // A list of the imports for this library. |
| - @Library[] imports; |
| + LibraryDependency[] dependencies; |
| // A list of the scripts which constitute this library. |
| @Script[] scripts; |
| @@ -1315,6 +1315,24 @@ class Library extends Object { |
| A _Library_ provides information about a Dart language library. |
| +``` |
| +class LibraryDependency { |
|
turnidge
2015/05/28 20:10:28
Note for future reviews... Each type has its own #
|
| + // Is this dependency an import (rather than an export)? |
| + bool isImport; |
| + |
| + // Is this dependency deferred? |
| + bool isDeferred; |
| + |
| + // The prefix of an 'as' import, or null. |
| + String prefix; |
| + |
| + // The library being imported or exported. |
| + @Library target; |
| +} |
| +``` |
| + |
| +A _LibraryDependency_ provides information about an import or export. |
| + |
| ### List |
| ``` |