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

Side by Side 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 unified diff | 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 »
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 // 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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 /** 782 /**
783 * Information about entities in the export namespace of the library that are 783 * Information about entities in the export namespace of the library that are
784 * not in the public namespace of the library (that is, entities that are 784 * not in the public namespace of the library (that is, entities that are
785 * brought into the namespace via `export` directives). 785 * brought into the namespace via `export` directives).
786 * 786 *
787 * Sorted by name. 787 * Sorted by name.
788 */ 788 */
789 exportNames:[LinkedExportName] (id: 4); 789 exportNames:[LinkedExportName] (id: 4);
790 790
791 /** 791 /**
792 * Indicates whether this library was summarized in "fallback mode". If
793 * true, all other fields in the data structure have their default values.
794 */
795 fallbackMode:bool (id: 5);
796
797 /**
792 * For each import in [UnlinkedUnit.imports], an index into [dependencies] 798 * For each import in [UnlinkedUnit.imports], an index into [dependencies]
793 * of the library being imported. 799 * of the library being imported.
794 */ 800 */
795 importDependencies:[uint] (id: 1); 801 importDependencies:[uint] (id: 1);
796 802
797 /** 803 /**
798 * The number of elements in [dependencies] which are not "linked" 804 * The number of elements in [dependencies] which are not "linked"
799 * dependencies (that is, the number of libraries in the direct imports plus 805 * dependencies (that is, the number of libraries in the direct imports plus
800 * the transitive closure of exports, plus the library itself). 806 * the transitive closure of exports, plus the library itself).
801 */ 807 */
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 * Offset of the type parameter name relative to the beginning of the file. 1940 * Offset of the type parameter name relative to the beginning of the file.
1935 */ 1941 */
1936 nameOffset:uint (id: 1); 1942 nameOffset:uint (id: 1);
1937 } 1943 }
1938 1944
1939 /** 1945 /**
1940 * Unlinked summary information about a compilation unit ("part file"). 1946 * Unlinked summary information about a compilation unit ("part file").
1941 */ 1947 */
1942 table UnlinkedUnit { 1948 table UnlinkedUnit {
1943 /** 1949 /**
1950 * If this compilation unit was summarized in fallback mode, the path where
1951 * the compilation unit may be found on disk. Otherwise empty.
1952 *
1953 * When this field is non-empty, all other fields in the data structure have
1954 * their default values.
1955 */
1956 fallbackModePath:string (id: 16);
1957
1958 /**
1944 * Classes declared in the compilation unit. 1959 * Classes declared in the compilation unit.
1945 */ 1960 */
1946 classes:[UnlinkedClass] (id: 2); 1961 classes:[UnlinkedClass] (id: 2);
1947 1962
1948 /** 1963 /**
1949 * Code range of the unit. 1964 * Code range of the unit.
1950 */ 1965 */
1951 codeRange:CodeRange (id: 15); 1966 codeRange:CodeRange (id: 15);
1952 1967
1953 /** 1968 /**
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
2123 2138
2124 /** 2139 /**
2125 * If a local variable, the beginning of the visible range; zero otherwise. 2140 * If a local variable, the beginning of the visible range; zero otherwise.
2126 */ 2141 */
2127 visibleOffset:uint (id: 12); 2142 visibleOffset:uint (id: 12);
2128 } 2143 }
2129 2144
2130 root_type PackageBundle; 2145 root_type PackageBundle;
2131 2146
2132 file_identifier "PBdl"; 2147 file_identifier "PBdl";
OLDNEW
« 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