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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 /** | 344 /** |
345 * Indicates whether the executable is declared using the `factory` keyword. | 345 * Indicates whether the executable is declared using the `factory` keyword. |
346 */ | 346 */ |
347 bool isFactory; | 347 bool isFactory; |
348 | 348 |
349 /** | 349 /** |
350 * Indicates whether the executable lacks an explicit return type | 350 * Indicates whether the executable lacks an explicit return type |
351 * declaration. False for constructors and setters. | 351 * declaration. False for constructors and setters. |
352 */ | 352 */ |
353 bool hasImplicitReturnType; | 353 bool hasImplicitReturnType; |
| 354 |
| 355 /** |
| 356 * Indicates whether the executable is declared using the `external` keyword. |
| 357 */ |
| 358 bool isExternal; |
354 } | 359 } |
355 | 360 |
356 /** | 361 /** |
357 * Enum used to indicate the kind of an executable. | 362 * Enum used to indicate the kind of an executable. |
358 */ | 363 */ |
359 enum UnlinkedExecutableKind { | 364 enum UnlinkedExecutableKind { |
360 /** | 365 /** |
361 * Executable is a function or method. | 366 * Executable is a function or method. |
362 */ | 367 */ |
363 functionOrMethod, | 368 functionOrMethod, |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 /** | 708 /** |
704 * Indicates whether the variable is declared using the `const` keyword. | 709 * Indicates whether the variable is declared using the `const` keyword. |
705 */ | 710 */ |
706 bool isConst; | 711 bool isConst; |
707 | 712 |
708 /** | 713 /** |
709 * Indicates whether this variable lacks an explicit type declaration. | 714 * Indicates whether this variable lacks an explicit type declaration. |
710 */ | 715 */ |
711 bool hasImplicitType; | 716 bool hasImplicitType; |
712 } | 717 } |
OLD | NEW |