| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 /** | 658 /** |
| 659 * An immutable map from names to mirrors for all variable | 659 * An immutable map from names to mirrors for all variable |
| 660 * declarations for this type. | 660 * declarations for this type. |
| 661 */ | 661 */ |
| 662 Map<Symbol, VariableMirror> get variables; | 662 Map<Symbol, VariableMirror> get variables; |
| 663 | 663 |
| 664 /** | 664 /** |
| 665 * An immutable map from names to mirrors for all constructor | 665 * An immutable map from names to mirrors for all constructor |
| 666 * declarations for this type. | 666 * declarations for this type. |
| 667 */ | 667 */ |
| 668 Map<Symbol, MethodMirror> get constructors; | 668 Map<Symbol, MethodMirror> get constructors; |
| 669 | 669 |
| 670 /** | 670 /** |
| 671 * An immutable map from names to mirrors for all type variables for | 671 * An immutable map from names to mirrors for all type variables for |
| 672 * this type. | 672 * this type. |
| 673 * | 673 * |
| 674 * This map preserves the order of declaration of the type variables. | 674 * This map preserves the order of declaration of the type variables. |
| 675 */ | 675 */ |
| 676 Map<Symbol, TypeVariableMirror> get typeVariables; | 676 Map<Symbol, TypeVariableMirror> get typeVariables; |
| 677 | 677 |
| 678 /** | 678 /** |
| 679 * An immutable map from names to mirrors for all type arguments for | 679 * An immutable map from names to mirrors for all type arguments for |
| 680 * this type. | 680 * this type. |
| 681 * | 681 * |
| 682 * This map preserves the order of declaration of the type variables. | 682 * This map preserves the order of declaration of the type variables. |
| 683 */ | 683 */ |
| 684 Map<Symbol, TypeMirror> get typeArguments; | 684 Map<Symbol, TypeMirror> get typeArguments; |
| 685 | 685 |
| 686 /** | 686 /** |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 * | 1188 * |
| 1189 * When used as metadata on an import of "dart:mirrors", this metadata does | 1189 * When used as metadata on an import of "dart:mirrors", this metadata does |
| 1190 * not apply to the library in which the annotation is used, but instead | 1190 * not apply to the library in which the annotation is used, but instead |
| 1191 * applies to the other libraries (all libraries if "*" is used). | 1191 * applies to the other libraries (all libraries if "*" is used). |
| 1192 */ | 1192 */ |
| 1193 final override; | 1193 final override; |
| 1194 | 1194 |
| 1195 const MirrorsUsed( | 1195 const MirrorsUsed( |
| 1196 {this.symbols, this.targets, this.metaTargets, this.override}); | 1196 {this.symbols, this.targets, this.metaTargets, this.override}); |
| 1197 } | 1197 } |
| OLD | NEW |