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

Side by Side Diff: include/v8.h

Issue 377213002: Add FunctionTemplate::GetClassName to API. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« 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 // 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 3463 matching lines...) Expand 10 before | Expand all | Expand 10 after
3474 */ 3474 */
3475 Local<ObjectTemplate> PrototypeTemplate(); 3475 Local<ObjectTemplate> PrototypeTemplate();
3476 3476
3477 /** 3477 /**
3478 * Set the class name of the FunctionTemplate. This is used for 3478 * Set the class name of the FunctionTemplate. This is used for
3479 * printing objects created with the function created from the 3479 * printing objects created with the function created from the
3480 * FunctionTemplate as its constructor. 3480 * FunctionTemplate as its constructor.
3481 */ 3481 */
3482 void SetClassName(Handle<String> name); 3482 void SetClassName(Handle<String> name);
3483 3483
3484 /** Returns the class name of the FunctionTemplate. */
3485 Local<String> GetClassName();
3486
3484 /** 3487 /**
3485 * Determines whether the __proto__ accessor ignores instances of 3488 * Determines whether the __proto__ accessor ignores instances of
3486 * the function template. If instances of the function template are 3489 * the function template. If instances of the function template are
3487 * ignored, __proto__ skips all instances and instead returns the 3490 * ignored, __proto__ skips all instances and instead returns the
3488 * next object in the prototype chain. 3491 * next object in the prototype chain.
3489 * 3492 *
3490 * Call with a value of true to make the __proto__ accessor ignore 3493 * Call with a value of true to make the __proto__ accessor ignore
3491 * instances of the function template. Call with a value of false 3494 * instances of the function template. Call with a value of false
3492 * to make the __proto__ accessor not ignore instances of the 3495 * to make the __proto__ accessor not ignore instances of the
3493 * function template. By default, instances of a function template 3496 * function template. By default, instances of a function template
(...skipping 3246 matching lines...) Expand 10 before | Expand all | Expand 10 after
6740 */ 6743 */
6741 6744
6742 6745
6743 } // namespace v8 6746 } // namespace v8
6744 6747
6745 6748
6746 #undef TYPE_CHECK 6749 #undef TYPE_CHECK
6747 6750
6748 6751
6749 #endif // V8_H_ 6752 #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