| 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 // TODO(ahe): Move _symbol_dev.Symbol to its own "private" library? | 5 import "dart:_internal" as _symbol_dev; |
| 6 import "dart:_collection-dev" as _symbol_dev; | |
| 7 | 6 |
| 8 /** | 7 /** |
| 9 * Returns a [MirrorSystem] for the current isolate. | 8 * Returns a [MirrorSystem] for the current isolate. |
| 10 */ | 9 */ |
| 11 patch MirrorSystem currentMirrorSystem() { | 10 patch MirrorSystem currentMirrorSystem() { |
| 12 return _Mirrors.currentMirrorSystem(); | 11 return _Mirrors.currentMirrorSystem(); |
| 13 } | 12 } |
| 14 | 13 |
| 15 /** | 14 /** |
| 16 * Returns an [InstanceMirror] for some Dart language object. | 15 * Returns an [InstanceMirror] for some Dart language object. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // TODO(rmacnak): Eliminate this class. | 91 // TODO(rmacnak): Eliminate this class. |
| 93 class MirroredCompilationError { | 92 class MirroredCompilationError { |
| 94 final String message; | 93 final String message; |
| 95 | 94 |
| 96 MirroredCompilationError(this.message); | 95 MirroredCompilationError(this.message); |
| 97 | 96 |
| 98 String toString() { | 97 String toString() { |
| 99 return "Compile-time error during mirrored execution: <$message>"; | 98 return "Compile-time error during mirrored execution: <$message>"; |
| 100 } | 99 } |
| 101 } | 100 } |
| OLD | NEW |