Chromium Code Reviews| 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:mirrors'; | 7 import 'dart:mirrors'; |
| 8 import 'dart:mirrors' as api show SourceLocation; | 8 import 'dart:mirrors' as api show SourceLocation; |
| 9 export 'dart:mirrors'; | 9 export 'dart:mirrors'; |
| 10 | 10 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 | 135 |
| 136 /// Returns the prefix if this is a prefixed import and `null` otherwise. | 136 /// Returns the prefix if this is a prefixed import and `null` otherwise. |
| 137 /*String*/ get prefix; | 137 /*String*/ get prefix; |
| 138 | 138 |
| 139 /// Returns the list of show/hide combinators on the import/export | 139 /// Returns the list of show/hide combinators on the import/export |
| 140 /// declaration. | 140 /// declaration. |
| 141 List<CombinatorMirror> get combinators; | 141 List<CombinatorMirror> get combinators; |
| 142 | 142 |
| 143 /// Returns the source location for this import/export declaration. | 143 /// Returns the source location for this import/export declaration. |
| 144 SourceLocation get location; | 144 SourceLocation get location; |
| 145 | |
| 146 /*Future<LibraryMirror>*/ loadLibrary(); | |
|
gbracha
2015/04/18 18:00:46
shouldn't there be a comment on this?
rmacnak
2015/04/20 17:21:04
Done.
| |
| 145 } | 147 } |
| 146 | 148 |
| 147 /// A mirror on a show/hide combinator declared on a library dependency. | 149 /// A mirror on a show/hide combinator declared on a library dependency. |
| 148 abstract class CombinatorSourceMirror | 150 abstract class CombinatorSourceMirror |
| 149 extends Mirror implements CombinatorMirror { | 151 extends Mirror implements CombinatorMirror { |
| 150 /// The list of identifiers on the combinator. | 152 /// The list of identifiers on the combinator. |
| 151 List/*<String>*/ get identifiers; | 153 List/*<String>*/ get identifiers; |
| 152 | 154 |
| 153 /// Is `true` if this is a 'show' combinator. | 155 /// Is `true` if this is a 'show' combinator. |
| 154 bool get isShow; | 156 bool get isShow; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 242 /** | 244 /** |
| 243 * Returns the URI where the source originated. | 245 * Returns the URI where the source originated. |
| 244 */ | 246 */ |
| 245 Uri get sourceUri; | 247 Uri get sourceUri; |
| 246 | 248 |
| 247 /** | 249 /** |
| 248 * Returns the text of this source. | 250 * Returns the text of this source. |
| 249 */ | 251 */ |
| 250 String get sourceText; | 252 String get sourceText; |
| 251 } | 253 } |
| OLD | NEW |