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

Unified Diff: include/v8.h

Issue 316173002: Handle "//# sourceURL" comments in the Parser instead of the JS. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: less magic in names Created 6 years, 6 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 | « no previous file | src/accessors.h » ('j') | src/vector.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 6607c45f6ea9290f63775a3b6b421ecd9e10372b..fbf64159cc7e0c98aa5fdb6eb53d2ec8748b4038 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -947,6 +947,15 @@ class V8_EXPORT UnboundScript {
Handle<Value> GetScriptName();
/**
+ * Data read from magic sourceURL comments.
+ */
+ Handle<Value> GetSourceURL();
+ /**
+ * Data read from magic sourceMappingURL comments.
+ */
+ Handle<Value> GetSourceMappingURL();
+
+ /**
* Returns zero based line number of the code_pos location in the script.
* -1 will be returned if no information available.
*/
« no previous file with comments | « no previous file | src/accessors.h » ('j') | src/vector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698