| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * This file is an "idl" style description of the summary format. It is not | 6 * This file is an "idl" style description of the summary format. It is not |
| 7 * executed directly; instead it is parsed and transformed into code that | 7 * executed directly; instead it is parsed and transformed into code that |
| 8 * implements the summary format. | 8 * implements the summary format. |
| 9 * | 9 * |
| 10 * The code generation process introduces the following non-typical semantics: | 10 * The code generation process introduces the following non-typical semantics: |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 * encoded summary. | 61 * encoded summary. |
| 62 */ | 62 */ |
| 63 const topLevel = null; | 63 const topLevel = null; |
| 64 | 64 |
| 65 /** | 65 /** |
| 66 * Information about a dependency that exists between one library and another | 66 * Information about a dependency that exists between one library and another |
| 67 * due to an "import" declaration. | 67 * due to an "import" declaration. |
| 68 */ | 68 */ |
| 69 class PrelinkedDependency { | 69 class PrelinkedDependency { |
| 70 /** | 70 /** |
| 71 * The relative URI used to import one library from the other. | 71 * The relative URI of the dependent library. This URI is relative to the |
| 72 * importing library, even if there are intervening `export` declarations. |
| 73 * So, for example, if `a.dart` imports `b/c.dart` and `b/c.dart` exports |
| 74 * `d/e.dart`, the URI listed for `a.dart`'s dependency on `e.dart` will be |
| 75 * `b/d/e.dart`. |
| 72 */ | 76 */ |
| 73 String uri; | 77 String uri; |
| 78 |
| 79 /** |
| 80 * URI for the compilation units listed in the library's `part` declarations. |
| 81 * These URIs are relative to the importing library. |
| 82 */ |
| 83 List<String> parts; |
| 74 } | 84 } |
| 75 | 85 |
| 76 /** | 86 /** |
| 77 * Pre-linked summary of a library. | 87 * Pre-linked summary of a library. |
| 78 */ | 88 */ |
| 79 @topLevel | 89 @topLevel |
| 80 class PrelinkedLibrary { | 90 class PrelinkedLibrary { |
| 81 /** | 91 /** |
| 82 * The pre-linked summary of all the compilation units constituting the | 92 * The pre-linked summary of all the compilation units constituting the |
| 83 * library. The summary of the defining compilation unit is listed first, | 93 * library. The summary of the defining compilation unit is listed first, |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 /** | 1003 /** |
| 994 * Indicates whether the variable is declared using the `const` keyword. | 1004 * Indicates whether the variable is declared using the `const` keyword. |
| 995 */ | 1005 */ |
| 996 bool isConst; | 1006 bool isConst; |
| 997 | 1007 |
| 998 /** | 1008 /** |
| 999 * Indicates whether this variable lacks an explicit type declaration. | 1009 * Indicates whether this variable lacks an explicit type declaration. |
| 1000 */ | 1010 */ |
| 1001 bool hasImplicitType; | 1011 bool hasImplicitType; |
| 1002 } | 1012 } |
| OLD | NEW |