Chromium Code Reviews| Index: lib/mirrors/mirrors.dart |
| =================================================================== |
| --- lib/mirrors/mirrors.dart (revision 0) |
| +++ lib/mirrors/mirrors.dart (revision 0) |
| @@ -0,0 +1,18 @@ |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file. |
| + |
| +// #library("mirrors"); |
| + |
| +// The dart:mirrors library provides reflective access for Dart program. |
| +// |
| +// TODO(turnidge): Complete this api. This is a placeholder. |
| + |
| +interface IsolateMirror { |
|
ahe
2012/02/17 08:09:12
I'd like to implement these interfaces in Leg as w
Ivan Posva
2012/02/17 08:21:50
Peter, when I talked with Todd yesterday his plan
ahe
2012/02/17 09:13:21
Actually, I think it already is in a shared locati
|
| + // A name used to refer to an isolate in debugging messages. |
| + final String debugName; |
| +} |
| + |
| +Future<IsolateMirror> isolateMirrorOf(SendPort port) { |
| + return _Mirrors.isolateMirrorOf(port); |
| +} |