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

Unified Diff: corelib/src/options.dart

Issue 9159013: Add script attribute to Options class, providing the name of the running script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 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
« no previous file with comments | « corelib/src/implementation/options.dart ('k') | runtime/bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/options.dart
diff --git a/corelib/src/options.dart b/corelib/src/options.dart
index 7224f788cd16ed113e6f6611d47406bbe6058430..fea63d07fdb412395fcd8d8e99cdc1a32ed6225d 100644
--- a/corelib/src/options.dart
+++ b/corelib/src/options.dart
@@ -21,4 +21,9 @@ interface Options default RuntimeOptions {
* this list.
*/
List<String> get arguments();
+
+ /**
+ * Returns the path of the script being run in this isolate.
+ */
+ String get script();
}
« no previous file with comments | « corelib/src/implementation/options.dart ('k') | runtime/bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698