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

Side by Side Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 1828973002: Add the --build-summary-exclude-informative flag. (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/tool/summary/generate.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 /** 5 /**
6 * This file is an "idl" style description of the summary format. It 6 * This file is an "idl" style description of the summary format. It
7 * contains abstract classes which declare the interface for reading data from 7 * contains abstract classes which declare the interface for reading data from
8 * summaries. It is parsed and transformed into code that implements the 8 * summaries. It is parsed and transformed into code that implements the
9 * summary format. 9 * summary format.
10 * 10 *
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 abstract class UnlinkedClass extends base.SummaryClass { 853 abstract class UnlinkedClass extends base.SummaryClass {
854 /** 854 /**
855 * Annotations for this class. 855 * Annotations for this class.
856 */ 856 */
857 @Id(5) 857 @Id(5)
858 List<UnlinkedConst> get annotations; 858 List<UnlinkedConst> get annotations;
859 859
860 /** 860 /**
861 * Code range of the class. 861 * Code range of the class.
862 */ 862 */
863 @informative
863 @Id(13) 864 @Id(13)
864 CodeRange get codeRange; 865 CodeRange get codeRange;
865 866
866 /** 867 /**
867 * Documentation comment for the class, or `null` if there is no 868 * Documentation comment for the class, or `null` if there is no
868 * documentation comment. 869 * documentation comment.
869 */ 870 */
870 @informative 871 @informative
871 @Id(6) 872 @Id(6)
872 UnlinkedDocumentationComment get documentationComment; 873 UnlinkedDocumentationComment get documentationComment;
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 abstract class UnlinkedEnum extends base.SummaryClass { 1410 abstract class UnlinkedEnum extends base.SummaryClass {
1410 /** 1411 /**
1411 * Annotations for this enum. 1412 * Annotations for this enum.
1412 */ 1413 */
1413 @Id(4) 1414 @Id(4)
1414 List<UnlinkedConst> get annotations; 1415 List<UnlinkedConst> get annotations;
1415 1416
1416 /** 1417 /**
1417 * Code range of the enum. 1418 * Code range of the enum.
1418 */ 1419 */
1420 @informative
1419 @Id(5) 1421 @Id(5)
1420 CodeRange get codeRange; 1422 CodeRange get codeRange;
1421 1423
1422 /** 1424 /**
1423 * Documentation comment for the enum, or `null` if there is no documentation 1425 * Documentation comment for the enum, or `null` if there is no documentation
1424 * comment. 1426 * comment.
1425 */ 1427 */
1426 @informative 1428 @informative
1427 @Id(3) 1429 @Id(3)
1428 UnlinkedDocumentationComment get documentationComment; 1430 UnlinkedDocumentationComment get documentationComment;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 abstract class UnlinkedExecutable extends base.SummaryClass { 1483 abstract class UnlinkedExecutable extends base.SummaryClass {
1482 /** 1484 /**
1483 * Annotations for this executable. 1485 * Annotations for this executable.
1484 */ 1486 */
1485 @Id(6) 1487 @Id(6)
1486 List<UnlinkedConst> get annotations; 1488 List<UnlinkedConst> get annotations;
1487 1489
1488 /** 1490 /**
1489 * Code range of the executable. 1491 * Code range of the executable.
1490 */ 1492 */
1493 @informative
1491 @Id(26) 1494 @Id(26)
1492 CodeRange get codeRange; 1495 CodeRange get codeRange;
1493 1496
1494 /** 1497 /**
1495 * If a constant [UnlinkedExecutableKind.constructor], the constructor 1498 * If a constant [UnlinkedExecutableKind.constructor], the constructor
1496 * initializers. Otherwise empty. 1499 * initializers. Otherwise empty.
1497 */ 1500 */
1498 @Id(14) 1501 @Id(14)
1499 List<UnlinkedConstructorInitializer> get constantInitializers; 1502 List<UnlinkedConstructorInitializer> get constantInitializers;
1500 1503
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 abstract class UnlinkedParam extends base.SummaryClass { 1873 abstract class UnlinkedParam extends base.SummaryClass {
1871 /** 1874 /**
1872 * Annotations for this parameter. 1875 * Annotations for this parameter.
1873 */ 1876 */
1874 @Id(9) 1877 @Id(9)
1875 List<UnlinkedConst> get annotations; 1878 List<UnlinkedConst> get annotations;
1876 1879
1877 /** 1880 /**
1878 * Code range of the parameter. 1881 * Code range of the parameter.
1879 */ 1882 */
1883 @informative
1880 @Id(14) 1884 @Id(14)
1881 CodeRange get codeRange; 1885 CodeRange get codeRange;
1882 1886
1883 /** 1887 /**
1884 * If the parameter has a default value, the constant expression in the 1888 * If the parameter has a default value, the constant expression in the
1885 * default value. Note that the presence of this expression does not mean 1889 * default value. Note that the presence of this expression does not mean
1886 * that it is a valid, check [UnlinkedConst.isInvalid]. 1890 * that it is a valid, check [UnlinkedConst.isInvalid].
1887 */ 1891 */
1888 @Id(7) 1892 @Id(7)
1889 UnlinkedConst get defaultValue; 1893 UnlinkedConst get defaultValue;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
2126 abstract class UnlinkedTypedef extends base.SummaryClass { 2130 abstract class UnlinkedTypedef extends base.SummaryClass {
2127 /** 2131 /**
2128 * Annotations for this typedef. 2132 * Annotations for this typedef.
2129 */ 2133 */
2130 @Id(4) 2134 @Id(4)
2131 List<UnlinkedConst> get annotations; 2135 List<UnlinkedConst> get annotations;
2132 2136
2133 /** 2137 /**
2134 * Code range of the typedef. 2138 * Code range of the typedef.
2135 */ 2139 */
2140 @informative
2136 @Id(7) 2141 @Id(7)
2137 CodeRange get codeRange; 2142 CodeRange get codeRange;
2138 2143
2139 /** 2144 /**
2140 * Documentation comment for the typedef, or `null` if there is no 2145 * Documentation comment for the typedef, or `null` if there is no
2141 * documentation comment. 2146 * documentation comment.
2142 */ 2147 */
2143 @informative 2148 @informative
2144 @Id(6) 2149 @Id(6)
2145 UnlinkedDocumentationComment get documentationComment; 2150 UnlinkedDocumentationComment get documentationComment;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
2189 /** 2194 /**
2190 * Bound of the type parameter, if a bound is explicitly declared. Otherwise 2195 * Bound of the type parameter, if a bound is explicitly declared. Otherwise
2191 * null. 2196 * null.
2192 */ 2197 */
2193 @Id(2) 2198 @Id(2)
2194 EntityRef get bound; 2199 EntityRef get bound;
2195 2200
2196 /** 2201 /**
2197 * Code range of the type parameter. 2202 * Code range of the type parameter.
2198 */ 2203 */
2204 @informative
2199 @Id(4) 2205 @Id(4)
2200 CodeRange get codeRange; 2206 CodeRange get codeRange;
2201 2207
2202 /** 2208 /**
2203 * Name of the type parameter. 2209 * Name of the type parameter.
2204 */ 2210 */
2205 @Id(0) 2211 @Id(0)
2206 String get name; 2212 String get name;
2207 2213
2208 /** 2214 /**
(...skipping 14 matching lines...) Expand all
2223 2229
2224 /** 2230 /**
2225 * Classes declared in the compilation unit. 2231 * Classes declared in the compilation unit.
2226 */ 2232 */
2227 @Id(2) 2233 @Id(2)
2228 List<UnlinkedClass> get classes; 2234 List<UnlinkedClass> get classes;
2229 2235
2230 /** 2236 /**
2231 * Code range of the unit. 2237 * Code range of the unit.
2232 */ 2238 */
2239 @informative
2233 @Id(15) 2240 @Id(15)
2234 CodeRange get codeRange; 2241 CodeRange get codeRange;
2235 2242
2236 /** 2243 /**
2237 * Enums declared in the compilation unit. 2244 * Enums declared in the compilation unit.
2238 */ 2245 */
2239 @Id(12) 2246 @Id(12)
2240 List<UnlinkedEnum> get enums; 2247 List<UnlinkedEnum> get enums;
2241 2248
2242 /** 2249 /**
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
2337 abstract class UnlinkedVariable extends base.SummaryClass { 2344 abstract class UnlinkedVariable extends base.SummaryClass {
2338 /** 2345 /**
2339 * Annotations for this variable. 2346 * Annotations for this variable.
2340 */ 2347 */
2341 @Id(8) 2348 @Id(8)
2342 List<UnlinkedConst> get annotations; 2349 List<UnlinkedConst> get annotations;
2343 2350
2344 /** 2351 /**
2345 * Code range of the variable. 2352 * Code range of the variable.
2346 */ 2353 */
2354 @informative
2347 @Id(14) 2355 @Id(14)
2348 CodeRange get codeRange; 2356 CodeRange get codeRange;
2349 2357
2350 /** 2358 /**
2351 * If [isConst] is true, and the variable has an initializer, the constant 2359 * If [isConst] is true, and the variable has an initializer, the constant
2352 * expression in the initializer. Note that the presence of this expression 2360 * expression in the initializer. Note that the presence of this expression
2353 * does not mean that it is a valid, check [UnlinkedConst.isInvalid]. 2361 * does not mean that it is a valid, check [UnlinkedConst.isInvalid].
2354 */ 2362 */
2355 @Id(5) 2363 @Id(5)
2356 UnlinkedConst get constExpr; 2364 UnlinkedConst get constExpr;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
2436 */ 2444 */
2437 @Id(11) 2445 @Id(11)
2438 int get visibleLength; 2446 int get visibleLength;
2439 2447
2440 /** 2448 /**
2441 * If a local variable, the beginning of the visible range; zero otherwise. 2449 * If a local variable, the beginning of the visible range; zero otherwise.
2442 */ 2450 */
2443 @Id(12) 2451 @Id(12)
2444 int get visibleOffset; 2452 int get visibleOffset;
2445 } 2453 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/tool/summary/generate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698