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

Side by Side Diff: pkg/analyzer/tool/summary/idl.dart

Issue 1574113002: Record information about parts of dependent libraries in summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698