Chromium Code Reviews| 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 | 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 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1663 @Id(5) | 1663 @Id(5) |
| 1664 int get inferredReturnTypeSlot; | 1664 int get inferredReturnTypeSlot; |
| 1665 | 1665 |
| 1666 /** | 1666 /** |
| 1667 * Indicates whether the executable is declared using the `abstract` keyword. | 1667 * Indicates whether the executable is declared using the `abstract` keyword. |
| 1668 */ | 1668 */ |
| 1669 @Id(10) | 1669 @Id(10) |
| 1670 bool get isAbstract; | 1670 bool get isAbstract; |
| 1671 | 1671 |
| 1672 /** | 1672 /** |
| 1673 * Indicates whether the executable has body marked as being asynchronous. | |
| 1674 */ | |
| 1675 @Id(27) | |
| 1676 bool get isAsynchronous; | |
|
Paul Berry
2016/05/02 21:49:30
This should be marked as "@informative", since it
scheglov
2016/05/02 21:52:56
Done.
| |
| 1677 | |
| 1678 /** | |
| 1673 * Indicates whether the executable is declared using the `const` keyword. | 1679 * Indicates whether the executable is declared using the `const` keyword. |
| 1674 */ | 1680 */ |
| 1675 @Id(12) | 1681 @Id(12) |
| 1676 bool get isConst; | 1682 bool get isConst; |
| 1677 | 1683 |
| 1678 /** | 1684 /** |
| 1679 * Indicates whether the executable is declared using the `external` keyword. | 1685 * Indicates whether the executable is declared using the `external` keyword. |
| 1680 */ | 1686 */ |
| 1681 @Id(11) | 1687 @Id(11) |
| 1682 bool get isExternal; | 1688 bool get isExternal; |
| 1683 | 1689 |
| 1684 /** | 1690 /** |
| 1685 * Indicates whether the executable is declared using the `factory` keyword. | 1691 * Indicates whether the executable is declared using the `factory` keyword. |
| 1686 */ | 1692 */ |
| 1687 @Id(8) | 1693 @Id(8) |
| 1688 bool get isFactory; | 1694 bool get isFactory; |
| 1689 | 1695 |
| 1690 /** | 1696 /** |
| 1697 * Indicates whether the executable has body marked as being a generator. | |
| 1698 */ | |
| 1699 @Id(28) | |
| 1700 bool get isGenerator; | |
|
Paul Berry
2016/05/02 21:49:30
Same here.
| |
| 1701 | |
| 1702 /** | |
| 1691 * Indicates whether the executable is a redirected constructor. | 1703 * Indicates whether the executable is a redirected constructor. |
| 1692 */ | 1704 */ |
| 1693 @Id(13) | 1705 @Id(13) |
| 1694 bool get isRedirectedConstructor; | 1706 bool get isRedirectedConstructor; |
| 1695 | 1707 |
| 1696 /** | 1708 /** |
| 1697 * Indicates whether the executable is declared using the `static` keyword. | 1709 * Indicates whether the executable is declared using the `static` keyword. |
| 1698 * | 1710 * |
| 1699 * Note that for top level executables, this flag is false, since they are | 1711 * Note that for top level executables, this flag is false, since they are |
| 1700 * not declared using the `static` keyword (even though they are considered | 1712 * not declared using the `static` keyword (even though they are considered |
| (...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2683 */ | 2695 */ |
| 2684 @Id(11) | 2696 @Id(11) |
| 2685 int get visibleLength; | 2697 int get visibleLength; |
| 2686 | 2698 |
| 2687 /** | 2699 /** |
| 2688 * If a local variable, the beginning of the visible range; zero otherwise. | 2700 * If a local variable, the beginning of the visible range; zero otherwise. |
| 2689 */ | 2701 */ |
| 2690 @Id(12) | 2702 @Id(12) |
| 2691 int get visibleOffset; | 2703 int get visibleOffset; |
| 2692 } | 2704 } |
| OLD | NEW |