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

Side by Side Diff: include/v8.h

Issue 15859010: Add support for //# sourceURL similar to deprecated //@ sourceURL one. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/messages.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 1212
1213 /** 1213 /**
1214 * Returns the name of the resource that contains the script for the 1214 * Returns the name of the resource that contains the script for the
1215 * function for this StackFrame. 1215 * function for this StackFrame.
1216 */ 1216 */
1217 Local<String> GetScriptName() const; 1217 Local<String> GetScriptName() const;
1218 1218
1219 /** 1219 /**
1220 * Returns the name of the resource that contains the script for the 1220 * Returns the name of the resource that contains the script for the
1221 * function for this StackFrame or sourceURL value if the script name 1221 * function for this StackFrame or sourceURL value if the script name
1222 * is undefined and its source ends with //@ sourceURL=... string. 1222 * is undefined and its source ends with //# sourceURL=... string or
1223 * deprecated //@ sourceURL=... string.
1223 */ 1224 */
1224 Local<String> GetScriptNameOrSourceURL() const; 1225 Local<String> GetScriptNameOrSourceURL() const;
1225 1226
1226 /** 1227 /**
1227 * Returns the name of the function associated with this stack frame. 1228 * Returns the name of the function associated with this stack frame.
1228 */ 1229 */
1229 Local<String> GetFunctionName() const; 1230 Local<String> GetFunctionName() const;
1230 1231
1231 /** 1232 /**
1232 * Returns whether or not the associated function is compiled via a call to 1233 * Returns whether or not the associated function is compiled via a call to
(...skipping 5110 matching lines...) Expand 10 before | Expand all | Expand 10 after
6343 6344
6344 6345
6345 } // namespace v8 6346 } // namespace v8
6346 6347
6347 6348
6348 #undef V8EXPORT 6349 #undef V8EXPORT
6349 #undef TYPE_CHECK 6350 #undef TYPE_CHECK
6350 6351
6351 6352
6352 #endif // V8_H_ 6353 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698