| 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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 | 1022 |
| 1023 /** | 1023 /** |
| 1024 * A [TypedefMirror] represents a typedef in a Dart language program. | 1024 * A [TypedefMirror] represents a typedef in a Dart language program. |
| 1025 */ | 1025 */ |
| 1026 abstract class TypedefMirror implements TypeMirror { | 1026 abstract class TypedefMirror implements TypeMirror { |
| 1027 /** | 1027 /** |
| 1028 * The defining type for this typedef. | 1028 * The defining type for this typedef. |
| 1029 * | 1029 * |
| 1030 * For instance [:void f(int):] is the referent for [:typedef void f(int):]. | 1030 * For instance [:void f(int):] is the referent for [:typedef void f(int):]. |
| 1031 */ | 1031 */ |
| 1032 TypeMirror get referent; | 1032 FunctionTypeMirror get referent; |
| 1033 } | 1033 } |
| 1034 | 1034 |
| 1035 /** | 1035 /** |
| 1036 * A [MethodMirror] reflects a Dart language function, method, | 1036 * A [MethodMirror] reflects a Dart language function, method, |
| 1037 * constructor, getter, or setter. | 1037 * constructor, getter, or setter. |
| 1038 */ | 1038 */ |
| 1039 abstract class MethodMirror implements DeclarationMirror { | 1039 abstract class MethodMirror implements DeclarationMirror { |
| 1040 /** | 1040 /** |
| 1041 * A mirror on the return type for the reflectee. | 1041 * A mirror on the return type for the reflectee. |
| 1042 */ | 1042 */ |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 * | 1422 * |
| 1423 * When used as metadata on an import of "dart:mirrors", this metadata does | 1423 * When used as metadata on an import of "dart:mirrors", this metadata does |
| 1424 * not apply to the library in which the annotation is used, but instead | 1424 * not apply to the library in which the annotation is used, but instead |
| 1425 * applies to the other libraries (all libraries if "*" is used). | 1425 * applies to the other libraries (all libraries if "*" is used). |
| 1426 */ | 1426 */ |
| 1427 final override; | 1427 final override; |
| 1428 | 1428 |
| 1429 const MirrorsUsed( | 1429 const MirrorsUsed( |
| 1430 {this.symbols, this.targets, this.metaTargets, this.override}); | 1430 {this.symbols, this.targets, this.metaTargets, this.override}); |
| 1431 } | 1431 } |
| OLD | NEW |