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