| 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:io'); | 7 import 'dart:io'; |
| 8 #import('dart:uri'); | 8 import 'dart:uri'; |
| 9 | 9 |
| 10 // TODO(rnystrom): Use "package:" URL (#4968). | 10 // TODO(rnystrom): Use "package:" URL (#4968). |
| 11 #import('src/mirrors/dart2js_mirror.dart'); | 11 import 'src/mirrors/dart2js_mirror.dart'; |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * [Compilation] encapsulates the compilation of a program. | 14 * [Compilation] encapsulates the compilation of a program. |
| 15 */ | 15 */ |
| 16 abstract class Compilation { | 16 abstract class Compilation { |
| 17 /** | 17 /** |
| 18 * Creates a new compilation which has [script] as its entry point. | 18 * Creates a new compilation which has [script] as its entry point. |
| 19 */ | 19 */ |
| 20 factory Compilation(Path script, | 20 factory Compilation(Path script, |
| 21 Path libraryRoot, | 21 Path libraryRoot, |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 /** | 566 /** |
| 567 * Returns the URI where the source originated. | 567 * Returns the URI where the source originated. |
| 568 */ | 568 */ |
| 569 Uri get uri; | 569 Uri get uri; |
| 570 | 570 |
| 571 /** | 571 /** |
| 572 * Returns the text of this source. | 572 * Returns the text of this source. |
| 573 */ | 573 */ |
| 574 String get text; | 574 String get text; |
| 575 } | 575 } |
| OLD | NEW |