| OLD | NEW |
| 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 * The entity is a class or enum. | 289 * The entity is a class or enum. |
| 290 */ | 290 */ |
| 291 classOrEnum, | 291 classOrEnum, |
| 292 | 292 |
| 293 /** | 293 /** |
| 294 * The entity is a constructor. | 294 * The entity is a constructor. |
| 295 */ | 295 */ |
| 296 constructor, | 296 constructor, |
| 297 | 297 |
| 298 /** | 298 /** |
| 299 * The entity is a static const field. | 299 * The entity is a getter or setter inside a class. Note: this is used in |
| 300 * the case where a constant refers to a static const declared inside a |
| 301 * class. |
| 300 */ | 302 */ |
| 301 constField, | 303 propertyAccessor, |
| 302 | 304 |
| 303 /** | 305 /** |
| 304 * The entity is a static method. | 306 * The entity is a method. |
| 305 */ | 307 */ |
| 306 staticMethod, | 308 method, |
| 307 | 309 |
| 308 /** | 310 /** |
| 309 * The `length` property access. | 311 * The `length` property access. |
| 310 */ | 312 */ |
| 311 length, | 313 length, |
| 312 | 314 |
| 313 /** | 315 /** |
| 314 * The entity is a typedef. | 316 * The entity is a typedef. |
| 315 */ | 317 */ |
| 316 typedef, | 318 typedef, |
| (...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 int propagatedTypeSlot; | 1459 int propagatedTypeSlot; |
| 1458 | 1460 |
| 1459 /** | 1461 /** |
| 1460 * If this variable is inferrable, nonzero slot id identifying which entry in | 1462 * If this variable is inferrable, nonzero slot id identifying which entry in |
| 1461 * [LinkedLibrary.types] contains the inferred type for this variable. If | 1463 * [LinkedLibrary.types] contains the inferred type for this variable. If |
| 1462 * there is no matching entry in [LinkedLibrary.types], then no type was | 1464 * there is no matching entry in [LinkedLibrary.types], then no type was |
| 1463 * inferred for this variable, so its static type is `dynamic`. | 1465 * inferred for this variable, so its static type is `dynamic`. |
| 1464 */ | 1466 */ |
| 1465 int inferredTypeSlot; | 1467 int inferredTypeSlot; |
| 1466 } | 1468 } |
| OLD | NEW |