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 library mirrors; | 5 library mirrors; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:uri'; | |
9 | 8 |
10 /** | 9 /** |
11 * The main interface for the whole mirror system. | 10 * The main interface for the whole mirror system. |
12 */ | 11 */ |
13 abstract class MirrorSystem { | 12 abstract class MirrorSystem { |
14 /** | 13 /** |
15 * Returns an unmodifiable map of all libraries in this mirror system. | 14 * Returns an unmodifiable map of all libraries in this mirror system. |
16 */ | 15 */ |
17 Map<Uri, LibraryMirror> get libraries; | 16 Map<Uri, LibraryMirror> get libraries; |
18 | 17 |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 /** | 679 /** |
681 * Returns the URI where the source originated. | 680 * Returns the URI where the source originated. |
682 */ | 681 */ |
683 Uri get sourceUri; | 682 Uri get sourceUri; |
684 | 683 |
685 /** | 684 /** |
686 * Returns the text of this source. | 685 * Returns the text of this source. |
687 */ | 686 */ |
688 String get sourceText; | 687 String get sourceText; |
689 } | 688 } |
OLD | NEW |