OLD | NEW |
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 4165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4176 */ | 4176 */ |
4177 Local<ObjectTemplate> PrototypeTemplate(); | 4177 Local<ObjectTemplate> PrototypeTemplate(); |
4178 | 4178 |
4179 /** | 4179 /** |
4180 * Set the class name of the FunctionTemplate. This is used for | 4180 * Set the class name of the FunctionTemplate. This is used for |
4181 * printing objects created with the function created from the | 4181 * printing objects created with the function created from the |
4182 * FunctionTemplate as its constructor. | 4182 * FunctionTemplate as its constructor. |
4183 */ | 4183 */ |
4184 void SetClassName(Handle<String> name); | 4184 void SetClassName(Handle<String> name); |
4185 | 4185 |
| 4186 |
| 4187 /** |
| 4188 * When set to true, no access check will be performed on the receiver of a |
| 4189 * function call. Currently defaults to true, but this is subject to change. |
| 4190 */ |
| 4191 void SetAcceptAnyReceiver(bool value); |
| 4192 |
4186 /** | 4193 /** |
4187 * Determines whether the __proto__ accessor ignores instances of | 4194 * Determines whether the __proto__ accessor ignores instances of |
4188 * the function template. If instances of the function template are | 4195 * the function template. If instances of the function template are |
4189 * ignored, __proto__ skips all instances and instead returns the | 4196 * ignored, __proto__ skips all instances and instead returns the |
4190 * next object in the prototype chain. | 4197 * next object in the prototype chain. |
4191 * | 4198 * |
4192 * Call with a value of true to make the __proto__ accessor ignore | 4199 * Call with a value of true to make the __proto__ accessor ignore |
4193 * instances of the function template. Call with a value of false | 4200 * instances of the function template. Call with a value of false |
4194 * to make the __proto__ accessor not ignore instances of the | 4201 * to make the __proto__ accessor not ignore instances of the |
4195 * function template. By default, instances of a function template | 4202 * function template. By default, instances of a function template |
(...skipping 3811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8007 */ | 8014 */ |
8008 | 8015 |
8009 | 8016 |
8010 } // namespace v8 | 8017 } // namespace v8 |
8011 | 8018 |
8012 | 8019 |
8013 #undef TYPE_CHECK | 8020 #undef TYPE_CHECK |
8014 | 8021 |
8015 | 8022 |
8016 #endif // V8_H_ | 8023 #endif // V8_H_ |
OLD | NEW |