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