| 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 #library('mirrors'); | 5 #library('mirrors'); |
| 6 | 6 |
| 7 #import('dart:io'); | 7 #import('dart:io'); |
| 8 #import('dart:uri'); | 8 #import('dart:uri'); |
| 9 | 9 |
| 10 // TODO(rnystrom): Use "package:" URL (#4968). | 10 // TODO(rnystrom): Use "package:" URL (#4968). |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 * Returns a list of the type arguments for this type. | 283 * Returns a list of the type arguments for this type. |
| 284 */ | 284 */ |
| 285 List<TypeMirror> get typeArguments; | 285 List<TypeMirror> get typeArguments; |
| 286 | 286 |
| 287 /** | 287 /** |
| 288 * Returns the list of type variables for this type. | 288 * Returns the list of type variables for this type. |
| 289 */ | 289 */ |
| 290 List<TypeVariableMirror> get typeVariables; | 290 List<TypeVariableMirror> get typeVariables; |
| 291 | 291 |
| 292 /** | 292 /** |
| 293 * Returns an immutable map of the constructors in this interface. | 293 * An immutable map from from names to mirrors for all members of |
| 294 * this type. |
| 295 * |
| 296 * The members of a type are its methods, fields, getters, and |
| 297 * setters. Note that constructors and type variables are not |
| 298 * considered to be members of a type. |
| 299 * |
| 300 * This does not include inherited members. |
| 301 */ |
| 302 Map<String, Mirror> get members; |
| 303 |
| 304 /** |
| 305 * An immutable map from names to mirrors for all method, |
| 306 * declarations for this type. This does not include getters and |
| 307 * setters. |
| 308 */ |
| 309 Map<String, MethodMirror> get methods; |
| 310 |
| 311 /** |
| 312 * An immutable map from names to mirrors for all getter |
| 313 * declarations for this type. |
| 314 */ |
| 315 Map<String, MethodMirror> get getters; |
| 316 |
| 317 /** |
| 318 * An immutable map from names to mirrors for all setter |
| 319 * declarations for this type. |
| 320 */ |
| 321 Map<String, MethodMirror> get setters; |
| 322 |
| 323 /** |
| 324 * An immutable map from names to mirrors for all constructor |
| 325 * declarations for this type. |
| 294 */ | 326 */ |
| 295 Map<String, MethodMirror> get constructors; | 327 Map<String, MethodMirror> get constructors; |
| 296 | 328 |
| 297 /** | 329 /** |
| 298 * Returns the default type for this interface. | 330 * Returns the default type for this interface. |
| 299 */ | 331 */ |
| 300 ClassMirror get defaultFactory; | 332 ClassMirror get defaultFactory; |
| 301 } | 333 } |
| 302 | 334 |
| 303 /** | 335 /** |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 /** | 566 /** |
| 535 * Returns the URI where the source originated. | 567 * Returns the URI where the source originated. |
| 536 */ | 568 */ |
| 537 Uri get uri; | 569 Uri get uri; |
| 538 | 570 |
| 539 /** | 571 /** |
| 540 * Returns the text of this source. | 572 * Returns the text of this source. |
| 541 */ | 573 */ |
| 542 String get text; | 574 String get text; |
| 543 } | 575 } |
| OLD | NEW |