| 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 // The dart:mirrors library provides reflective access for Dart program. | 5 // The dart:mirrors library provides reflective access for Dart program. |
| 6 // | 6 // |
| 7 // For the purposes of the mirrors library, we adopt a naming | 7 // For the purposes of the mirrors library, we adopt a naming |
| 8 // convention with respect to getters and setters. Specifically, for | 8 // convention with respect to getters and setters. Specifically, for |
| 9 // some variable or field... | 9 // some variable or field... |
| 10 // | 10 // |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 */ | 35 */ |
| 36 Map<String, LibraryMirror> get libraries; | 36 Map<String, LibraryMirror> get libraries; |
| 37 | 37 |
| 38 /** | 38 /** |
| 39 * A mirror on the isolate associated with this [MirrorSystem]. | 39 * A mirror on the isolate associated with this [MirrorSystem]. |
| 40 * This may be null if this mirror system is not running. | 40 * This may be null if this mirror system is not running. |
| 41 */ | 41 */ |
| 42 IsolateMirror get isolate; | 42 IsolateMirror get isolate; |
| 43 | 43 |
| 44 /** | 44 /** |
| 45 * A mirror on the [:Dynamic:] type. | 45 * A mirror on the [:dynamic:] type. |
| 46 */ | 46 */ |
| 47 TypeMirror get dynamicType; | 47 TypeMirror get dynamicType; |
| 48 | 48 |
| 49 /** | 49 /** |
| 50 * A mirror on the [:void:] type. | 50 * A mirror on the [:void:] type. |
| 51 */ | 51 */ |
| 52 TypeMirror get voidType; | 52 TypeMirror get voidType; |
| 53 } | 53 } |
| 54 | 54 |
| 55 /** | 55 /** |
| (...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 | 736 |
| 737 /** | 737 /** |
| 738 * A [MirrorException] is used to indicate errors within the mirrors | 738 * A [MirrorException] is used to indicate errors within the mirrors |
| 739 * framework. | 739 * framework. |
| 740 */ | 740 */ |
| 741 class MirrorException implements Exception { | 741 class MirrorException implements Exception { |
| 742 const MirrorException(String this._message); | 742 const MirrorException(String this._message); |
| 743 String toString() => "MirrorException: '$_message'"; | 743 String toString() => "MirrorException: '$_message'"; |
| 744 final String _message; | 744 final String _message; |
| 745 } | 745 } |
| OLD | NEW |