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

Side by Side Diff: include/v8.h

Issue 26709011: Expose v8::Function::GetDisplayName to public API. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 years, 2 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/api.cc » ('j') | src/api.cc » ('J')
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 2460 matching lines...) Expand 10 before | Expand all | Expand 10 after
2471 2471
2472 /** 2472 /**
2473 * Name inferred from variable or property assignment of this function. 2473 * Name inferred from variable or property assignment of this function.
2474 * Used to facilitate debugging and profiling of JavaScript code written 2474 * Used to facilitate debugging and profiling of JavaScript code written
2475 * in an OO style, where many functions are anonymous but are assigned 2475 * in an OO style, where many functions are anonymous but are assigned
2476 * to object properties. 2476 * to object properties.
2477 */ 2477 */
2478 Handle<Value> GetInferredName() const; 2478 Handle<Value> GetInferredName() const;
2479 2479
2480 /** 2480 /**
2481 * User-defined name assigned to the "displayName" property of this function.
2482 * Used to facilitate debugging and profiling of JavaScript code.
2483 */
2484 Handle<Value> GetDisplayName() const;
2485
2486 /**
2481 * Returns zero based line number of function body and 2487 * Returns zero based line number of function body and
2482 * kLineOffsetNotFound if no information available. 2488 * kLineOffsetNotFound if no information available.
2483 */ 2489 */
2484 int GetScriptLineNumber() const; 2490 int GetScriptLineNumber() const;
2485 /** 2491 /**
2486 * Returns zero based column number of function body and 2492 * Returns zero based column number of function body and
2487 * kLineOffsetNotFound if no information available. 2493 * kLineOffsetNotFound if no information available.
2488 */ 2494 */
2489 int GetScriptColumnNumber() const; 2495 int GetScriptColumnNumber() const;
2490 2496
(...skipping 3966 matching lines...) Expand 10 before | Expand all | Expand 10 after
6457 */ 6463 */
6458 6464
6459 6465
6460 } // namespace v8 6466 } // namespace v8
6461 6467
6462 6468
6463 #undef TYPE_CHECK 6469 #undef TYPE_CHECK
6464 6470
6465 6471
6466 #endif // V8_H_ 6472 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698