| 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 #import('dart2js_mirror.dart'); | 9 |
| 10 // TODO(rnystrom): Use "package:" URL (#4968). |
| 11 #import('src/mirrors/dart2js_mirror.dart'); |
| 10 | 12 |
| 11 /** | 13 /** |
| 12 * [Compilation] encapsulates the compilation of a program. | 14 * [Compilation] encapsulates the compilation of a program. |
| 13 */ | 15 */ |
| 14 class Compilation { | 16 class Compilation { |
| 15 /** | 17 /** |
| 16 * Creates a new compilation which has [script] as its entry point. | 18 * Creates a new compilation which has [script] as its entry point. |
| 17 */ | 19 */ |
| 18 factory Compilation(Path script, | 20 factory Compilation(Path script, |
| 19 Path libraryRoot, | 21 Path libraryRoot, |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 /** | 461 /** |
| 460 * Returns the URI where the source originated. | 462 * Returns the URI where the source originated. |
| 461 */ | 463 */ |
| 462 Uri get uri; | 464 Uri get uri; |
| 463 | 465 |
| 464 /** | 466 /** |
| 465 * Returns the text of this source. | 467 * Returns the text of this source. |
| 466 */ | 468 */ |
| 467 String get text; | 469 String get text; |
| 468 } | 470 } |
| OLD | NEW |