| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 * library 'library' is 'library.Class.method'. | 211 * library 'library' is 'library.Class.method'. |
| 212 * | 212 * |
| 213 * Returns a [Symbol] constructed from a string representing the | 213 * Returns a [Symbol] constructed from a string representing the |
| 214 * fully qualified name of the reflectee. | 214 * fully qualified name of the reflectee. |
| 215 * Let *o* be the [owner] of this mirror, let *r* be the reflectee of | 215 * Let *o* be the [owner] of this mirror, let *r* be the reflectee of |
| 216 * this mirror, let *p* be the fully qualified | 216 * this mirror, let *p* be the fully qualified |
| 217 * name of the reflectee of *o*, and let *s* be the simple name of *r* | 217 * name of the reflectee of *o*, and let *s* be the simple name of *r* |
| 218 * computed by [simpleName]. | 218 * computed by [simpleName]. |
| 219 * The fully qualified name of *r* is the | 219 * The fully qualified name of *r* is the |
| 220 * concatenation of *p*, '.', and *s*. | 220 * concatenation of *p*, '.', and *s*. |
| 221 * |
| 222 * Because an isolate can contain more than one library with the same name (at |
| 223 * different URIs), a fully-qualified name does not uniquely identify any |
| 224 * language entity. |
| 221 */ | 225 */ |
| 222 Symbol get qualifiedName; | 226 Symbol get qualifiedName; |
| 223 | 227 |
| 224 /** | 228 /** |
| 225 * A mirror on the owner of this function. This is the declaration | 229 * A mirror on the owner of this Dart language entity. This is the declaration |
| 226 * immediately surrounding the reflectee. | 230 * immediately surrounding the reflectee. |
| 227 * | 231 * |
| 228 * For a library, the owner is [:null:]. | 232 * For a library, the owner is [:null:]. |
| 229 * For a class declaration, typedef or top level function | 233 * For a class declaration, typedef or top level function |
| 230 * or variable, the owner is the enclosing library. | 234 * or variable, the owner is the enclosing library. |
| 231 * For a mixin application *S with M*, the owner is the owner | 235 * For a mixin application *S with M*, the owner is the owner |
| 232 * of *M*. | 236 * of *M*. |
| 233 * For class Null, the owner is the dart:core library. | 237 * For class Null, the owner is the dart:core library. |
| 234 * For a constructor, the owner is the immediately enclosing class. | 238 * For a constructor, the owner is the immediately enclosing class. |
| 235 * For a method, instance variable or | 239 * For a method, instance variable or |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1318 * | 1322 * |
| 1319 * When used as metadata on an import of "dart:mirrors", this metadata does | 1323 * When used as metadata on an import of "dart:mirrors", this metadata does |
| 1320 * not apply to the library in which the annotation is used, but instead | 1324 * not apply to the library in which the annotation is used, but instead |
| 1321 * applies to the other libraries (all libraries if "*" is used). | 1325 * applies to the other libraries (all libraries if "*" is used). |
| 1322 */ | 1326 */ |
| 1323 final override; | 1327 final override; |
| 1324 | 1328 |
| 1325 const MirrorsUsed( | 1329 const MirrorsUsed( |
| 1326 {this.symbols, this.targets, this.metaTargets, this.override}); | 1330 {this.symbols, this.targets, this.metaTargets, this.override}); |
| 1327 } | 1331 } |
| OLD | NEW |