| 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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 */ | 868 */ |
| 869 bool operator == (other); | 869 bool operator == (other); |
| 870 } | 870 } |
| 871 | 871 |
| 872 /** | 872 /** |
| 873 * A [TypedefMirror] represents a typedef in a Dart language program. | 873 * A [TypedefMirror] represents a typedef in a Dart language program. |
| 874 */ | 874 */ |
| 875 abstract class TypedefMirror implements TypeMirror { | 875 abstract class TypedefMirror implements TypeMirror { |
| 876 /** | 876 /** |
| 877 * The defining type for this typedef. | 877 * The defining type for this typedef. |
| 878 * If the the type referred to by the reflectee is a function type |
| 879 * *F*, the result will be [:FunctionTypeMirror:] reflecting *F* |
| 880 * which is abstract and has an abstract method [:call:] whose |
| 881 * signature corresponds to *F*. |
| 878 * | 882 * |
| 879 * For instance [:void f(int):] is the referent for [:typedef void f(int):]. | 883 * For instance [:void f(int):] is the referent for [:typedef void f(int):]. |
| 880 */ | 884 */ |
| 881 FunctionTypeMirror get referent; | 885 FunctionTypeMirror get referent; |
| 882 } | 886 } |
| 883 | 887 |
| 884 /** | 888 /** |
| 885 * A [MethodMirror] reflects a Dart language function, method, | 889 * A [MethodMirror] reflects a Dart language function, method, |
| 886 * constructor, getter, or setter. | 890 * constructor, getter, or setter. |
| 887 */ | 891 */ |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1189 * | 1193 * |
| 1190 * When used as metadata on an import of "dart:mirrors", this metadata does | 1194 * 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 | 1195 * not apply to the library in which the annotation is used, but instead |
| 1192 * applies to the other libraries (all libraries if "*" is used). | 1196 * applies to the other libraries (all libraries if "*" is used). |
| 1193 */ | 1197 */ |
| 1194 final override; | 1198 final override; |
| 1195 | 1199 |
| 1196 const MirrorsUsed( | 1200 const MirrorsUsed( |
| 1197 {this.symbols, this.targets, this.metaTargets, this.override}); | 1201 {this.symbols, this.targets, this.metaTargets, this.override}); |
| 1198 } | 1202 } |
| OLD | NEW |