| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 bool operator == (other); | 218 bool operator == (other); |
| 219 } | 219 } |
| 220 | 220 |
| 221 /** | 221 /** |
| 222 * A [DeclarationMirror] reflects some entity declared in a Dart program. | 222 * A [DeclarationMirror] reflects some entity declared in a Dart program. |
| 223 */ | 223 */ |
| 224 abstract class DeclarationMirror implements Mirror { | 224 abstract class DeclarationMirror implements Mirror { |
| 225 /** | 225 /** |
| 226 * The simple name for this Dart language entity. | 226 * The simple name for this Dart language entity. |
| 227 * | 227 * |
| 228 * The simple name is in most cases the the identifier name of the entity, | 228 * The simple name is in most cases the identifier name of the entity, |
| 229 * such as 'myMethod' for a method, [:void myMethod() {...}:] or 'mylibrary' | 229 * such as 'myMethod' for a method, [:void myMethod() {...}:] or 'mylibrary' |
| 230 * for a [:library 'mylibrary';:] declaration. | 230 * for a [:library 'mylibrary';:] declaration. |
| 231 */ | 231 */ |
| 232 Symbol get simpleName; | 232 Symbol get simpleName; |
| 233 | 233 |
| 234 /** | 234 /** |
| 235 * The fully-qualified name for this Dart language entity. | 235 * The fully-qualified name for this Dart language entity. |
| 236 * | 236 * |
| 237 * This name is qualified by the name of the owner. For instance, | 237 * This name is qualified by the name of the owner. For instance, |
| 238 * the qualified name of a method 'method' in class 'Class' in | 238 * the qualified name of a method 'method' in class 'Class' in |
| (...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 final override; | 1441 final override; |
| 1442 | 1442 |
| 1443 /** | 1443 /** |
| 1444 * See the documentation for [MirrorsUsed.symbols], [MirrorsUsed.targets], | 1444 * See the documentation for [MirrorsUsed.symbols], [MirrorsUsed.targets], |
| 1445 * [MirrorsUsed.metaTargets] and [MirrorsUsed.override] for documentation | 1445 * [MirrorsUsed.metaTargets] and [MirrorsUsed.override] for documentation |
| 1446 * of the parameters. | 1446 * of the parameters. |
| 1447 */ | 1447 */ |
| 1448 const MirrorsUsed( | 1448 const MirrorsUsed( |
| 1449 {this.symbols, this.targets, this.metaTargets, this.override}); | 1449 {this.symbols, this.targets, this.metaTargets, this.override}); |
| 1450 } | 1450 } |
| OLD | NEW |