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 4703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4714 * intercepted. | 4714 * intercepted. |
4715 * \param desc The property descriptor which is used to define the | 4715 * \param desc The property descriptor which is used to define the |
4716 * property if the request is not intercepted. | 4716 * property if the request is not intercepted. |
4717 * \param info Information about the intercepted request, such as | 4717 * \param info Information about the intercepted request, such as |
4718 * isolate, receiver, return value, or whether running in `'use strict'` mode. | 4718 * isolate, receiver, return value, or whether running in `'use strict'` mode. |
4719 * See `PropertyCallbackInfo`. | 4719 * See `PropertyCallbackInfo`. |
4720 * | 4720 * |
4721 * See also `ObjectTemplate::SetNamedPropertyHandler`. | 4721 * See also `ObjectTemplate::SetNamedPropertyHandler`. |
4722 */ | 4722 */ |
4723 typedef void (*GenericNamedPropertyDefinerCallback)( | 4723 typedef void (*GenericNamedPropertyDefinerCallback)( |
4724 Local<Name> key, const PropertyDescriptor& desc, | 4724 Local<Name> property, const PropertyDescriptor& desc, |
4725 const PropertyCallbackInfo<Value>& info); | 4725 const PropertyCallbackInfo<Value>& info); |
4726 | 4726 |
4727 /** | 4727 /** |
4728 * Returns the value of the property if the getter intercepts the | 4728 * Returns the value of the property if the getter intercepts the |
4729 * request. Otherwise, returns an empty handle. | 4729 * request. Otherwise, returns an empty handle. |
4730 */ | 4730 */ |
4731 typedef void (*IndexedPropertyGetterCallback)( | 4731 typedef void (*IndexedPropertyGetterCallback)( |
4732 uint32_t index, | 4732 uint32_t index, |
4733 const PropertyCallbackInfo<Value>& info); | 4733 const PropertyCallbackInfo<Value>& info); |
4734 | 4734 |
(...skipping 4710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9445 */ | 9445 */ |
9446 | 9446 |
9447 | 9447 |
9448 } // namespace v8 | 9448 } // namespace v8 |
9449 | 9449 |
9450 | 9450 |
9451 #undef TYPE_CHECK | 9451 #undef TYPE_CHECK |
9452 | 9452 |
9453 | 9453 |
9454 #endif // INCLUDE_V8_H_ | 9454 #endif // INCLUDE_V8_H_ |
OLD | NEW |