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

Side by Side Diff: include/v8.h

Issue 1449473005: [V8] Unify get function name for debugging purpose (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/api.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 3251 matching lines...) Expand 10 before | Expand all | Expand 10 after
3262 3262
3263 /** 3263 /**
3264 * Name inferred from variable or property assignment of this function. 3264 * Name inferred from variable or property assignment of this function.
3265 * Used to facilitate debugging and profiling of JavaScript code written 3265 * Used to facilitate debugging and profiling of JavaScript code written
3266 * in an OO style, where many functions are anonymous but are assigned 3266 * in an OO style, where many functions are anonymous but are assigned
3267 * to object properties. 3267 * to object properties.
3268 */ 3268 */
3269 Local<Value> GetInferredName() const; 3269 Local<Value> GetInferredName() const;
3270 3270
3271 /** 3271 /**
3272 * displayName if it is set, otherwise name if it is configured, otherwise
3273 * function name, otherwise inferred name.
3274 */
3275 Local<Value> GetDebugName() const;
3276
3277 /**
3272 * User-defined name assigned to the "displayName" property of this function. 3278 * User-defined name assigned to the "displayName" property of this function.
3273 * Used to facilitate debugging and profiling of JavaScript code. 3279 * Used to facilitate debugging and profiling of JavaScript code.
3274 */ 3280 */
3275 Local<Value> GetDisplayName() const; 3281 Local<Value> GetDisplayName() const;
3276 3282
3277 /** 3283 /**
3278 * Returns zero based line number of function body and 3284 * Returns zero based line number of function body and
3279 * kLineOffsetNotFound if no information available. 3285 * kLineOffsetNotFound if no information available.
3280 */ 3286 */
3281 int GetScriptLineNumber() const; 3287 int GetScriptLineNumber() const;
(...skipping 5195 matching lines...) Expand 10 before | Expand all | Expand 10 after
8477 */ 8483 */
8478 8484
8479 8485
8480 } // namespace v8 8486 } // namespace v8
8481 8487
8482 8488
8483 #undef TYPE_CHECK 8489 #undef TYPE_CHECK
8484 8490
8485 8491
8486 #endif // V8_H_ 8492 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698