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

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: code review + less whitespaces allowed. 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/scanner.cc » ('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 0fd196bacbfb8046fb7164cb63d182bd6e0d36fa..bcc8b700d3bf210c2e4738a2661fe320ebb2e6e2 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -946,6 +946,10 @@ class V8_EXPORT UnboundScript {
int GetId();
Handle<Value> GetScriptName();
+ // Data read from magic sourceURL and sourceMappingURL comments.
yurys 2014/06/10 14:41:04 Please use /** */ style annotations.
+ Handle<Value> GetSourceURL();
+ 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/scanner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698