OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // #library("mirrors"); | |
6 | |
7 // The dart:mirrors library provides reflective access for Dart program. | |
8 // | |
9 // TODO(turnidge): Complete this api. This is a placeholder. | |
10 | |
11 interface IsolateMirror { | |
12 // A name used to refer to an isolate in debugging messages. | |
13 final String debugName; | |
14 } | |
15 | |
16 Future<IsolateMirror> isolateMirrorOf(SendPort port) { | |
ahe
2012/03/08 20:14:44
Any given isolate may have multiple mirror systems
| |
17 return _Mirrors.isolateMirrorOf(port); | |
18 } | |
OLD | NEW |