| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 * Is this declaration private? | 147 * Is this declaration private? |
| 148 * | 148 * |
| 149 * Note that for libraries, this will be [:false:]. | 149 * Note that for libraries, this will be [:false:]. |
| 150 */ | 150 */ |
| 151 bool get isPrivate; | 151 bool get isPrivate; |
| 152 | 152 |
| 153 /** | 153 /** |
| 154 * Is this declaration top-level? | 154 * Is this declaration top-level? |
| 155 * | 155 * |
| 156 * This is defined to be equivalent to: | 156 * This is defined to be equivalent to: |
| 157 * [:mirror.owner !== null && mirror.owner is LibraryMirror:] | 157 * [:mirror.owner != null && mirror.owner is LibraryMirror:] |
| 158 */ | 158 */ |
| 159 bool get isTopLevel; | 159 bool get isTopLevel; |
| 160 | 160 |
| 161 /** | 161 /** |
| 162 * The source location of this Dart language entity. | 162 * The source location of this Dart language entity. |
| 163 */ | 163 */ |
| 164 SourceLocation get location; | 164 SourceLocation get location; |
| 165 } | 165 } |
| 166 | 166 |
| 167 /** | 167 /** |
| (...skipping 568 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 |