| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 * A field. | 346 * A field. |
| 347 */ | 347 */ |
| 348 abstract class FieldMirror implements MemberMirror { | 348 abstract class FieldMirror implements MemberMirror { |
| 349 | 349 |
| 350 /** | 350 /** |
| 351 * Returns true if this field is final. | 351 * Returns true if this field is final. |
| 352 */ | 352 */ |
| 353 bool get isFinal; | 353 bool get isFinal; |
| 354 | 354 |
| 355 /** | 355 /** |
| 356 * Returns true if this field is const. |
| 357 */ |
| 358 bool get isConst; |
| 359 |
| 360 /** |
| 356 * Returns the type of this field. | 361 * Returns the type of this field. |
| 357 */ | 362 */ |
| 358 TypeMirror get type; | 363 TypeMirror get type; |
| 359 } | 364 } |
| 360 | 365 |
| 361 /** | 366 /** |
| 362 * Common interface constructors and methods, including factories, getters and | 367 * Common interface constructors and methods, including factories, getters and |
| 363 * setters. | 368 * setters. |
| 364 */ | 369 */ |
| 365 abstract class MethodMirror implements MemberMirror { | 370 abstract class MethodMirror implements MemberMirror { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 /** | 495 /** |
| 491 * Returns the URI where the source originated. | 496 * Returns the URI where the source originated. |
| 492 */ | 497 */ |
| 493 Uri get uri; | 498 Uri get uri; |
| 494 | 499 |
| 495 /** | 500 /** |
| 496 * Returns the text of this source. | 501 * Returns the text of this source. |
| 497 */ | 502 */ |
| 498 String get text; | 503 String get text; |
| 499 } | 504 } |
| OLD | NEW |