Index: sdk/lib/_internal/compiler/implementation/script.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/script.dart b/sdk/lib/_internal/compiler/implementation/script.dart |
index 8383686728e6f13b13c6a6d3d563ead13f778c02..b1306167e9bd828f2af07769610375257901f125 100644 |
--- a/sdk/lib/_internal/compiler/implementation/script.dart |
+++ b/sdk/lib/_internal/compiler/implementation/script.dart |
@@ -9,7 +9,14 @@ class Script { |
// implements SourceFile, we should be able to type the [file] field as |
// such. |
final file; |
+ |
+ /** |
+ * The readable URI from which this script was loaded. |
+ * |
+ * See [LibraryLoader] for terminology on URIs. |
+ */ |
final Uri uri; |
+ |
Script(this.uri, this.file); |
String get text => (file == null) ? null : file.text; |