Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // For the purposes of the mirrors library, we adopt a naming | 5 // For the purposes of the mirrors library, we adopt a naming |
| 6 // convention with respect to getters and setters. Specifically, for | 6 // convention with respect to getters and setters. Specifically, for |
| 7 // some variable or field... | 7 // some variable or field... |
| 8 // | 8 // |
| 9 // var myField; | 9 // var myField; |
| 10 // | 10 // |
| (...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 908 * considered static. | 908 * considered static. |
| 909 */ | 909 */ |
| 910 bool get isStatic; | 910 bool get isStatic; |
| 911 | 911 |
| 912 /** | 912 /** |
| 913 * Is the reflectee abstract? | 913 * Is the reflectee abstract? |
| 914 */ | 914 */ |
| 915 bool get isAbstract; | 915 bool get isAbstract; |
| 916 | 916 |
| 917 /** | 917 /** |
| 918 * Is the reflectee synthetic? | |
| 919 */ | |
|
gbracha
2013/11/14 19:21:21
Returns true if the reflectee is synthetic, and re
rmacnak
2013/11/14 22:19:02
Done.
| |
| 920 bool get isSynthetic; | |
| 921 | |
| 922 /** | |
| 918 * Is the reflectee a regular function or method? | 923 * Is the reflectee a regular function or method? |
| 919 * | 924 * |
| 920 * A function or method is regular if it is not a getter, setter, or | 925 * A function or method is regular if it is not a getter, setter, or |
| 921 * constructor. Note that operators, by this definition, are | 926 * constructor. Note that operators, by this definition, are |
| 922 * regular methods. | 927 * regular methods. |
| 923 */ | 928 */ |
| 924 bool get isRegularMethod; | 929 bool get isRegularMethod; |
| 925 | 930 |
| 926 /** | 931 /** |
| 927 * Is the reflectee an operator? | 932 * Is the reflectee an operator? |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1189 * | 1194 * |
| 1190 * When used as metadata on an import of "dart:mirrors", this metadata does | 1195 * When used as metadata on an import of "dart:mirrors", this metadata does |
| 1191 * not apply to the library in which the annotation is used, but instead | 1196 * not apply to the library in which the annotation is used, but instead |
| 1192 * applies to the other libraries (all libraries if "*" is used). | 1197 * applies to the other libraries (all libraries if "*" is used). |
| 1193 */ | 1198 */ |
| 1194 final override; | 1199 final override; |
| 1195 | 1200 |
| 1196 const MirrorsUsed( | 1201 const MirrorsUsed( |
| 1197 {this.symbols, this.targets, this.metaTargets, this.override}); | 1202 {this.symbols, this.targets, this.metaTargets, this.override}); |
| 1198 } | 1203 } |
| OLD | NEW |