Chromium Code Reviews| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 194 * Is [:true:] if this type is private. | 194 * Is [:true:] if this type is private. |
| 195 */ | 195 */ |
| 196 bool get isPrivate; | 196 bool get isPrivate; |
| 197 | 197 |
| 198 /** | 198 /** |
| 199 * Is [:true:] if this type is the declaration of a type. | 199 * Is [:true:] if this type is the declaration of a type. |
| 200 */ | 200 */ |
| 201 bool get isDeclaration; | 201 bool get isDeclaration; |
| 202 | 202 |
| 203 /** | 203 /** |
| 204 * Is [:true:] if this class is abstract. | |
|
Lasse Reichstein Nielsen
2012/09/28 08:33:37
"is abstract" -> "is declared abstract".
It's the
Johnni Winther
2012/09/28 13:08:06
Done.
| |
| 205 */ | |
| 206 bool get isAbstract; | |
| 207 | |
| 208 /** | |
| 204 * Returns a list of the type arguments for this type. | 209 * Returns a list of the type arguments for this type. |
| 205 */ | 210 */ |
| 206 List<TypeMirror> get typeArguments; | 211 List<TypeMirror> get typeArguments; |
| 207 | 212 |
| 208 /** | 213 /** |
| 209 * Returns the list of type variables for this type. | 214 * Returns the list of type variables for this type. |
| 210 */ | 215 */ |
| 211 List<TypeVariableMirror> get typeVariables; | 216 List<TypeVariableMirror> get typeVariables; |
| 212 | 217 |
| 213 /** | 218 /** |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 343 * Returns the list of parameters for this method. | 348 * Returns the list of parameters for this method. |
| 344 */ | 349 */ |
| 345 List<ParameterMirror> get parameters; | 350 List<ParameterMirror> get parameters; |
| 346 | 351 |
| 347 /** | 352 /** |
| 348 * Returns the return type of this method. | 353 * Returns the return type of this method. |
| 349 */ | 354 */ |
| 350 TypeMirror get returnType; | 355 TypeMirror get returnType; |
| 351 | 356 |
| 352 /** | 357 /** |
| 358 * Is the reflectee abstract? | |
|
Lasse Reichstein Nielsen
2012/09/28 08:33:37
Doesn't follow the same structure(s?) as the other
Johnni Winther
2012/09/28 13:08:06
Done.
| |
| 359 */ | |
| 360 bool get isAbstract; | |
| 361 | |
| 362 /** | |
| 353 * Is [:true:] if this method is a constant constructor. | 363 * Is [:true:] if this method is a constant constructor. |
| 354 */ | 364 */ |
| 355 bool get isConst; | 365 bool get isConst; |
| 356 | 366 |
| 357 /** | 367 /** |
| 358 * Is [:true:] if this method is a factory method. | 368 * Is [:true:] if this method is a factory method. |
| 359 */ | 369 */ |
| 360 bool get isFactory; | 370 bool get isFactory; |
| 361 | 371 |
| 362 /** | 372 /** |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 461 /** | 471 /** |
| 462 * Returns the URI where the source originated. | 472 * Returns the URI where the source originated. |
| 463 */ | 473 */ |
| 464 Uri get uri; | 474 Uri get uri; |
| 465 | 475 |
| 466 /** | 476 /** |
| 467 * Returns the text of this source. | 477 * Returns the text of this source. |
| 468 */ | 478 */ |
| 469 String get text; | 479 String get text; |
| 470 } | 480 } |
| OLD | NEW |