Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: sdk/lib/_internal/compiler/implementation/script.dart

Issue 11967010: Internal libraries supported. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update MockCompiler Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698