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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 342 |
343 /** | 343 /** |
344 * Indicates whether the executable is declared using the `const` keyword. | 344 * Indicates whether the executable is declared using the `const` keyword. |
345 */ | 345 */ |
346 bool isConst; | 346 bool isConst; |
347 | 347 |
348 /** | 348 /** |
349 * Indicates whether the executable is declared using the `factory` keyword. | 349 * Indicates whether the executable is declared using the `factory` keyword. |
350 */ | 350 */ |
351 bool isFactory; | 351 bool isFactory; |
| 352 |
| 353 /** |
| 354 * Indicates whether the executable lacks an explicit return type |
| 355 * declaration. False for constructors and setters. |
| 356 */ |
| 357 bool hasImplicitReturnType; |
352 } | 358 } |
353 | 359 |
354 /** | 360 /** |
355 * Enum used to indicate the kind of an executable. | 361 * Enum used to indicate the kind of an executable. |
356 */ | 362 */ |
357 enum UnlinkedExecutableKind { | 363 enum UnlinkedExecutableKind { |
358 /** | 364 /** |
359 * Executable is a function or method. | 365 * Executable is a function or method. |
360 */ | 366 */ |
361 functionOrMethod, | 367 functionOrMethod, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 /** | 532 /** |
527 * Indicates whether this is a function-typed parameter. | 533 * Indicates whether this is a function-typed parameter. |
528 */ | 534 */ |
529 bool isFunctionTyped; | 535 bool isFunctionTyped; |
530 | 536 |
531 /** | 537 /** |
532 * Indicates whether this is an initializing formal parameter (i.e. it is | 538 * Indicates whether this is an initializing formal parameter (i.e. it is |
533 * declared using `this.` syntax). | 539 * declared using `this.` syntax). |
534 */ | 540 */ |
535 bool isInitializingFormal; | 541 bool isInitializingFormal; |
| 542 |
| 543 /** |
| 544 * Indicates whether this parameter lacks an explicit type declaration. |
| 545 * Always false for a function-typed parameter. |
| 546 */ |
| 547 bool hasImplicitType; |
536 } | 548 } |
537 | 549 |
538 /** | 550 /** |
539 * Enum used to indicate the kind of a parameter. | 551 * Enum used to indicate the kind of a parameter. |
540 */ | 552 */ |
541 enum UnlinkedParamKind { | 553 enum UnlinkedParamKind { |
542 /** | 554 /** |
543 * Parameter is required. | 555 * Parameter is required. |
544 */ | 556 */ |
545 required, | 557 required, |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 | 735 |
724 /** | 736 /** |
725 * Indicates whether the variable is declared using the `final` keyword. | 737 * Indicates whether the variable is declared using the `final` keyword. |
726 */ | 738 */ |
727 bool isFinal; | 739 bool isFinal; |
728 | 740 |
729 /** | 741 /** |
730 * Indicates whether the variable is declared using the `const` keyword. | 742 * Indicates whether the variable is declared using the `const` keyword. |
731 */ | 743 */ |
732 bool isConst; | 744 bool isConst; |
| 745 |
| 746 /** |
| 747 * Indicates whether this variable lacks an explicit type declaration. |
| 748 */ |
| 749 bool hasImplicitType; |
733 } | 750 } |
OLD | NEW |