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

Side by Side Diff: include/v8.h

Issue 1378403004: [api] expose Array Iterators to API (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased u_u Created 5 years, 2 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 2944 matching lines...) Expand 10 before | Expand all | Expand 10 after
2955 Local<Object> CloneElementAt(uint32_t index)); 2955 Local<Object> CloneElementAt(uint32_t index));
2956 V8_WARN_UNUSED_RESULT MaybeLocal<Object> CloneElementAt( 2956 V8_WARN_UNUSED_RESULT MaybeLocal<Object> CloneElementAt(
2957 Local<Context> context, uint32_t index); 2957 Local<Context> context, uint32_t index);
2958 2958
2959 /** 2959 /**
2960 * Creates a JavaScript array with the given length. If the length 2960 * Creates a JavaScript array with the given length. If the length
2961 * is negative the returned array will have length 0. 2961 * is negative the returned array will have length 0.
2962 */ 2962 */
2963 static Local<Array> New(Isolate* isolate, int length = 0); 2963 static Local<Array> New(Isolate* isolate, int length = 0);
2964 2964
2965 /**
2966 * Access to Array Iterator methods
2967 */
2968 static Local<Function> GetKeysIterator(Isolate* isolate);
2969 static Local<Function> GetValuesIterator(Isolate* isolate);
2970 static Local<Function> GetEntriesIterator(Isolate* isolate);
2971
2965 V8_INLINE static Array* Cast(Value* obj); 2972 V8_INLINE static Array* Cast(Value* obj);
2973
2966 private: 2974 private:
2967 Array(); 2975 Array();
2968 static void CheckCast(Value* obj); 2976 static void CheckCast(Value* obj);
2969 }; 2977 };
2970 2978
2971 2979
2972 /** 2980 /**
2973 * An instance of the built-in Map constructor (ECMA-262, 6th Edition, 23.1.1). 2981 * An instance of the built-in Map constructor (ECMA-262, 6th Edition, 23.1.1).
2974 */ 2982 */
2975 class V8_EXPORT Map : public Object { 2983 class V8_EXPORT Map : public Object {
(...skipping 5392 matching lines...) Expand 10 before | Expand all | Expand 10 after
8368 */ 8376 */
8369 8377
8370 8378
8371 } // namespace v8 8379 } // namespace v8
8372 8380
8373 8381
8374 #undef TYPE_CHECK 8382 #undef TYPE_CHECK
8375 8383
8376 8384
8377 #endif // V8_H_ 8385 #endif // 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