| 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 2660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2671 // overriding accessors or read-only properties. | 2671 // overriding accessors or read-only properties. |
| 2672 // | 2672 // |
| 2673 // Note that if the object has an interceptor the property will be set | 2673 // Note that if the object has an interceptor the property will be set |
| 2674 // locally, but since the interceptor takes precedence the local property | 2674 // locally, but since the interceptor takes precedence the local property |
| 2675 // will only be returned if the interceptor doesn't return a value. | 2675 // will only be returned if the interceptor doesn't return a value. |
| 2676 // | 2676 // |
| 2677 // Note also that this only works for named properties. | 2677 // Note also that this only works for named properties. |
| 2678 V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty", | 2678 V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty", |
| 2679 bool ForceSet(Local<Value> key, Local<Value> value, | 2679 bool ForceSet(Local<Value> key, Local<Value> value, |
| 2680 PropertyAttribute attribs = None)); | 2680 PropertyAttribute attribs = None)); |
| 2681 V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty", | 2681 V8_DEPRECATE_SOON("Use CreateDataProperty / DefineOwnProperty", |
| 2682 Maybe<bool> ForceSet(Local<Context> context, Local<Value> key, | 2682 Maybe<bool> ForceSet(Local<Context> context, |
| 2683 Local<Value> value, | 2683 Local<Value> key, Local<Value> value, |
| 2684 PropertyAttribute attribs = None)); | 2684 PropertyAttribute attribs = None)); |
| 2685 | 2685 |
| 2686 V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key)); | 2686 V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key)); |
| 2687 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | 2687 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, |
| 2688 Local<Value> key); | 2688 Local<Value> key); |
| 2689 | 2689 |
| 2690 V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(uint32_t index)); | 2690 V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(uint32_t index)); |
| 2691 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | 2691 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, |
| 2692 uint32_t index); | 2692 uint32_t index); |
| 2693 | 2693 |
| 2694 /** | 2694 /** |
| (...skipping 5820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8515 */ | 8515 */ |
| 8516 | 8516 |
| 8517 | 8517 |
| 8518 } // namespace v8 | 8518 } // namespace v8 |
| 8519 | 8519 |
| 8520 | 8520 |
| 8521 #undef TYPE_CHECK | 8521 #undef TYPE_CHECK |
| 8522 | 8522 |
| 8523 | 8523 |
| 8524 #endif // INCLUDE_V8_H_ | 8524 #endif // INCLUDE_V8_H_ |
| OLD | NEW |