Chromium Code Reviews| 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 2097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2108 | 2108 |
| 2109 Local<Value> Get(uint32_t index); | 2109 Local<Value> Get(uint32_t index); |
| 2110 | 2110 |
| 2111 /** | 2111 /** |
| 2112 * Gets the property attributes of a property which can be None or | 2112 * Gets the property attributes of a property which can be None or |
| 2113 * any combination of ReadOnly, DontEnum and DontDelete. Returns | 2113 * any combination of ReadOnly, DontEnum and DontDelete. Returns |
| 2114 * None when the property doesn't exist. | 2114 * None when the property doesn't exist. |
| 2115 */ | 2115 */ |
| 2116 PropertyAttribute GetPropertyAttributes(Handle<Value> key); | 2116 PropertyAttribute GetPropertyAttributes(Handle<Value> key); |
| 2117 | 2117 |
| 2118 /** | |
| 2119 * Returns Object.GetOwnPropertyDescriptor as per ES5 section 15.2.3.3. | |
|
Toon Verwaest
2014/07/03 09:19:51
Object.getOwnPropertyDescriptor
| |
| 2120 */ | |
| 2121 Local<Value> GetOwnPropertyDescriptor(Local<String> key); | |
|
aandrey
2014/07/13 12:54:53
why not support Symbols as well?
| |
| 2122 | |
| 2118 bool Has(Handle<Value> key); | 2123 bool Has(Handle<Value> key); |
| 2119 | 2124 |
| 2120 bool Delete(Handle<Value> key); | 2125 bool Delete(Handle<Value> key); |
| 2121 | 2126 |
| 2122 // Delete a property on this object bypassing interceptors and | 2127 // Delete a property on this object bypassing interceptors and |
| 2123 // ignoring dont-delete attributes. | 2128 // ignoring dont-delete attributes. |
| 2124 bool ForceDelete(Handle<Value> key); | 2129 bool ForceDelete(Handle<Value> key); |
| 2125 | 2130 |
| 2126 bool Has(uint32_t index); | 2131 bool Has(uint32_t index); |
| 2127 | 2132 |
| (...skipping 4575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6703 */ | 6708 */ |
| 6704 | 6709 |
| 6705 | 6710 |
| 6706 } // namespace v8 | 6711 } // namespace v8 |
| 6707 | 6712 |
| 6708 | 6713 |
| 6709 #undef TYPE_CHECK | 6714 #undef TYPE_CHECK |
| 6710 | 6715 |
| 6711 | 6716 |
| 6712 #endif // V8_H_ | 6717 #endif // V8_H_ |
| OLD | NEW |