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

Unified Diff: pkg/analyzer/lib/src/summary/format.fbs

Issue 1826353002: Add a fallback mode for building summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/idl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/format.fbs
diff --git a/pkg/analyzer/lib/src/summary/format.fbs b/pkg/analyzer/lib/src/summary/format.fbs
index 9c6cf83ff4fe42c434b3278aaa55182ca70a56ec..e9ca14d0a697f0025fa89db09da1485733559430 100644
--- a/pkg/analyzer/lib/src/summary/format.fbs
+++ b/pkg/analyzer/lib/src/summary/format.fbs
@@ -789,6 +789,12 @@ table LinkedLibrary {
exportNames:[LinkedExportName] (id: 4);
/**
+ * Indicates whether this library was summarized in "fallback mode". If
+ * true, all other fields in the data structure have their default values.
+ */
+ fallbackMode:bool (id: 5);
+
+ /**
* For each import in [UnlinkedUnit.imports], an index into [dependencies]
* of the library being imported.
*/
@@ -1941,6 +1947,15 @@ table UnlinkedTypeParam {
*/
table UnlinkedUnit {
/**
+ * If this compilation unit was summarized in fallback mode, the path where
+ * the compilation unit may be found on disk. Otherwise empty.
+ *
+ * When this field is non-empty, all other fields in the data structure have
+ * their default values.
+ */
+ fallbackModePath:string (id: 16);
+
+ /**
* Classes declared in the compilation unit.
*/
classes:[UnlinkedClass] (id: 2);
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/idl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698