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 2599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2610 bool HasRealIndexedProperty(uint32_t index); | 2610 bool HasRealIndexedProperty(uint32_t index); |
2611 bool HasRealNamedCallbackProperty(Handle<String> key); | 2611 bool HasRealNamedCallbackProperty(Handle<String> key); |
2612 | 2612 |
2613 /** | 2613 /** |
2614 * If result.IsEmpty() no real property was located in the prototype chain. | 2614 * If result.IsEmpty() no real property was located in the prototype chain. |
2615 * This means interceptors in the prototype chain are not called. | 2615 * This means interceptors in the prototype chain are not called. |
2616 */ | 2616 */ |
2617 Local<Value> GetRealNamedPropertyInPrototypeChain(Handle<String> key); | 2617 Local<Value> GetRealNamedPropertyInPrototypeChain(Handle<String> key); |
2618 | 2618 |
2619 /** | 2619 /** |
| 2620 * Gets the property attributes of a real property in the prototype chain, |
| 2621 * which can be None or any combination of ReadOnly, DontEnum and DontDelete. |
| 2622 * Interceptors in the prototype chain are not called. |
| 2623 */ |
| 2624 Maybe<PropertyAttribute> GetRealNamedPropertyAttributesInPrototypeChain( |
| 2625 Handle<String> key); |
| 2626 |
| 2627 /** |
2620 * If result.IsEmpty() no real property was located on the object or | 2628 * If result.IsEmpty() no real property was located on the object or |
2621 * in the prototype chain. | 2629 * in the prototype chain. |
2622 * This means interceptors in the prototype chain are not called. | 2630 * This means interceptors in the prototype chain are not called. |
2623 */ | 2631 */ |
2624 Local<Value> GetRealNamedProperty(Handle<String> key); | 2632 Local<Value> GetRealNamedProperty(Handle<String> key); |
2625 | 2633 |
| 2634 /** |
| 2635 * Gets the property attributes of a real property which can be |
| 2636 * None or any combination of ReadOnly, DontEnum and DontDelete. |
| 2637 * Interceptors in the prototype chain are not called. |
| 2638 */ |
| 2639 Maybe<PropertyAttribute> GetRealNamedPropertyAttributes(Handle<String> key); |
| 2640 |
2626 /** Tests for a named lookup interceptor.*/ | 2641 /** Tests for a named lookup interceptor.*/ |
2627 bool HasNamedLookupInterceptor(); | 2642 bool HasNamedLookupInterceptor(); |
2628 | 2643 |
2629 /** Tests for an index lookup interceptor.*/ | 2644 /** Tests for an index lookup interceptor.*/ |
2630 bool HasIndexedLookupInterceptor(); | 2645 bool HasIndexedLookupInterceptor(); |
2631 | 2646 |
2632 /** | 2647 /** |
2633 * Turns on access check on the object if the object is an instance of | 2648 * Turns on access check on the object if the object is an instance of |
2634 * a template that has access check callbacks. If an object has no | 2649 * a template that has access check callbacks. If an object has no |
2635 * access check info, the object cannot be accessed by anyone. | 2650 * access check info, the object cannot be accessed by anyone. |
(...skipping 4905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7541 */ | 7556 */ |
7542 | 7557 |
7543 | 7558 |
7544 } // namespace v8 | 7559 } // namespace v8 |
7545 | 7560 |
7546 | 7561 |
7547 #undef TYPE_CHECK | 7562 #undef TYPE_CHECK |
7548 | 7563 |
7549 | 7564 |
7550 #endif // V8_H_ | 7565 #endif // V8_H_ |
OLD | NEW |