Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: include/v8.h

Issue 2085223002: Add HasOwnProperty with array indexes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2879 matching lines...) Expand 10 before | Expand all | Expand 10 after
2890 * Sets a 2-byte-aligned native pointer in an internal field. To retrieve such 2890 * Sets a 2-byte-aligned native pointer in an internal field. To retrieve such
2891 * a field, GetAlignedPointerFromInternalField must be used, everything else 2891 * a field, GetAlignedPointerFromInternalField must be used, everything else
2892 * leads to undefined behavior. 2892 * leads to undefined behavior.
2893 */ 2893 */
2894 void SetAlignedPointerInInternalField(int index, void* value); 2894 void SetAlignedPointerInInternalField(int index, void* value);
2895 2895
2896 // Testers for local properties. 2896 // Testers for local properties.
2897 V8_DEPRECATED("Use maybe version", bool HasOwnProperty(Local<String> key)); 2897 V8_DEPRECATED("Use maybe version", bool HasOwnProperty(Local<String> key));
2898 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context, 2898 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context,
2899 Local<Name> key); 2899 Local<Name> key);
2900 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context,
2901 uint32_t index);
2900 V8_DEPRECATE_SOON("Use maybe version", 2902 V8_DEPRECATE_SOON("Use maybe version",
2901 bool HasRealNamedProperty(Local<String> key)); 2903 bool HasRealNamedProperty(Local<String> key));
2902 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context, 2904 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context,
2903 Local<Name> key); 2905 Local<Name> key);
2904 V8_DEPRECATE_SOON("Use maybe version", 2906 V8_DEPRECATE_SOON("Use maybe version",
2905 bool HasRealIndexedProperty(uint32_t index)); 2907 bool HasRealIndexedProperty(uint32_t index));
2906 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealIndexedProperty( 2908 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealIndexedProperty(
2907 Local<Context> context, uint32_t index); 2909 Local<Context> context, uint32_t index);
2908 V8_DEPRECATE_SOON("Use maybe version", 2910 V8_DEPRECATE_SOON("Use maybe version",
2909 bool HasRealNamedCallbackProperty(Local<String> key)); 2911 bool HasRealNamedCallbackProperty(Local<String> key));
(...skipping 5965 matching lines...) Expand 10 before | Expand all | Expand 10 after
8875 */ 8877 */
8876 8878
8877 8879
8878 } // namespace v8 8880 } // namespace v8
8879 8881
8880 8882
8881 #undef TYPE_CHECK 8883 #undef TYPE_CHECK
8882 8884
8883 8885
8884 #endif // INCLUDE_V8_H_ 8886 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698