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

Side by Side Diff: pkg/analyzer/lib/src/summary/format.fbs

Issue 2226093002: Record information about a summary's dependencies in the summary itself. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 unified diff | Download patch
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 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files".
7 7
8 8
9 /** 9 /**
10 * Kind of a source in the cache. 10 * Kind of a source in the cache.
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 */ 1181 */
1182 table PackageBundle { 1182 table PackageBundle {
1183 /** 1183 /**
1184 * MD5 hash of the non-informative fields of the [PackageBundle] (not 1184 * MD5 hash of the non-informative fields of the [PackageBundle] (not
1185 * including this one). This can be used to identify when the API of a 1185 * including this one). This can be used to identify when the API of a
1186 * package may have changed. 1186 * package may have changed.
1187 */ 1187 */
1188 apiSignature:string (id: 7); 1188 apiSignature:string (id: 7);
1189 1189
1190 /** 1190 /**
1191 * Information about the packages this package depends on, if known.
1192 */
1193 dependencies:[PackageDependencyInfo] (id: 8);
1194
1195 /**
1191 * Linked libraries. 1196 * Linked libraries.
1192 */ 1197 */
1193 linkedLibraries:[LinkedLibrary] (id: 0); 1198 linkedLibraries:[LinkedLibrary] (id: 0);
1194 1199
1195 /** 1200 /**
1196 * The list of URIs of items in [linkedLibraries], e.g. `dart:core` or 1201 * The list of URIs of items in [linkedLibraries], e.g. `dart:core` or
1197 * `package:foo/bar.dart`. 1202 * `package:foo/bar.dart`.
1198 */ 1203 */
1199 linkedLibraryUris:[string] (id: 1); 1204 linkedLibraryUris:[string] (id: 1);
1200 1205
(...skipping 20 matching lines...) Expand all
1221 */ 1226 */
1222 unlinkedUnits:[UnlinkedUnit] (id: 2); 1227 unlinkedUnits:[UnlinkedUnit] (id: 2);
1223 1228
1224 /** 1229 /**
1225 * The list of URIs of items in [unlinkedUnits], e.g. `dart:core/bool.dart`. 1230 * The list of URIs of items in [unlinkedUnits], e.g. `dart:core/bool.dart`.
1226 */ 1231 */
1227 unlinkedUnitUris:[string] (id: 3); 1232 unlinkedUnitUris:[string] (id: 3);
1228 } 1233 }
1229 1234
1230 /** 1235 /**
1236 * Information about a single dependency of a summary package.
1237 */
1238 table PackageDependencyInfo {
1239 /**
1240 * API signature of this dependency.
1241 */
1242 apiSignature:string (id: 0);
1243
1244 /**
1245 * If this dependency summarizes any files whose URI takes the form
1246 * "package:<package_name>/...", a list of all such package names, sorted
1247 * lexicographically. Otherwise empty.
1248 */
1249 includedPackageNames:[string] (id: 2);
1250
1251 /**
1252 * Indicates whether this dependency summarizes any files whose URI takes the
1253 * form "dart:...".
1254 */
1255 includesDartUris:bool (id: 4);
1256
1257 /**
1258 * Indicates whether this dependency summarizes any files whose URI takes the
1259 * form "file:...".
1260 */
1261 includesFileUris:bool (id: 3);
1262
1263 /**
1264 * Relative path to the summary file for this dependency. This is intended as
1265 * a hint to help the analysis server locate summaries of dependencies. We
1266 * don't specify precisely what this path is relative to, but we expect it to
1267 * be relative to a directory the analysis server can find (e.g. for projects
1268 * built using Bazel, it would be relative to the "bazel-bin" directory).
1269 *
1270 * Absent if the path is not known.
1271 */
1272 summaryPath:string (id: 1);
1273 }
1274
1275 /**
1231 * Index information about a package. 1276 * Index information about a package.
1232 */ 1277 */
1233 table PackageIndex { 1278 table PackageIndex {
1234 /** 1279 /**
1235 * Each item of this list corresponds to a unique referenced element. It is 1280 * Each item of this list corresponds to a unique referenced element. It is
1236 * the kind of the synthetic element. 1281 * the kind of the synthetic element.
1237 */ 1282 */
1238 elementKinds:[IndexSyntheticElementKind] (id: 5); 1283 elementKinds:[IndexSyntheticElementKind] (id: 5);
1239 1284
1240 /** 1285 /**
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
2449 2494
2450 /** 2495 /**
2451 * If a local variable, the beginning of the visible range; zero otherwise. 2496 * If a local variable, the beginning of the visible range; zero otherwise.
2452 */ 2497 */
2453 visibleOffset:uint (id: 12); 2498 visibleOffset:uint (id: 12);
2454 } 2499 }
2455 2500
2456 root_type PackageBundle; 2501 root_type PackageBundle;
2457 2502
2458 file_identifier "PBdl"; 2503 file_identifier "PBdl";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698