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 2414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2425 | 2425 |
2426 /** | 2426 /** |
2427 * Returns Object.getOwnPropertyDescriptor as per ES5 section 15.2.3.3. | 2427 * Returns Object.getOwnPropertyDescriptor as per ES5 section 15.2.3.3. |
2428 */ | 2428 */ |
2429 Local<Value> GetOwnPropertyDescriptor(Local<String> key); | 2429 Local<Value> GetOwnPropertyDescriptor(Local<String> key); |
2430 | 2430 |
2431 bool Has(Handle<Value> key); | 2431 bool Has(Handle<Value> key); |
2432 | 2432 |
2433 bool Delete(Handle<Value> key); | 2433 bool Delete(Handle<Value> key); |
2434 | 2434 |
2435 // Delete a property on this object bypassing interceptors and | |
2436 // ignoring dont-delete attributes. | |
2437 bool ForceDelete(Handle<Value> key); | |
2438 | |
2439 bool Has(uint32_t index); | 2435 bool Has(uint32_t index); |
2440 | 2436 |
2441 bool Delete(uint32_t index); | 2437 bool Delete(uint32_t index); |
2442 | 2438 |
2443 bool SetAccessor(Handle<String> name, | 2439 bool SetAccessor(Handle<String> name, |
2444 AccessorGetterCallback getter, | 2440 AccessorGetterCallback getter, |
2445 AccessorSetterCallback setter = 0, | 2441 AccessorSetterCallback setter = 0, |
2446 Handle<Value> data = Handle<Value>(), | 2442 Handle<Value> data = Handle<Value>(), |
2447 AccessControl settings = DEFAULT, | 2443 AccessControl settings = DEFAULT, |
2448 PropertyAttribute attribute = None); | 2444 PropertyAttribute attribute = None); |
(...skipping 5053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7502 */ | 7498 */ |
7503 | 7499 |
7504 | 7500 |
7505 } // namespace v8 | 7501 } // namespace v8 |
7506 | 7502 |
7507 | 7503 |
7508 #undef TYPE_CHECK | 7504 #undef TYPE_CHECK |
7509 | 7505 |
7510 | 7506 |
7511 #endif // V8_H_ | 7507 #endif // V8_H_ |
OLD | NEW |