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 4600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4611 */ | 4611 */ |
4612 class V8_EXPORT External : public Value { | 4612 class V8_EXPORT External : public Value { |
4613 public: | 4613 public: |
4614 static Local<External> New(Isolate* isolate, void* value); | 4614 static Local<External> New(Isolate* isolate, void* value); |
4615 V8_INLINE static External* Cast(Value* obj); | 4615 V8_INLINE static External* Cast(Value* obj); |
4616 void* Value() const; | 4616 void* Value() const; |
4617 private: | 4617 private: |
4618 static void CheckCast(v8::Value* obj); | 4618 static void CheckCast(v8::Value* obj); |
4619 }; | 4619 }; |
4620 | 4620 |
4621 | 4621 #define V8_INTRINSICS_LIST(F) \ |
4622 #define V8_INTRINSICS_LIST(F) F(ArrayProto_values, array_values_iterator) | 4622 F(ArrayProto_entries, array_entries_iterator) \ |
| 4623 F(ArrayProto_forEach, array_for_each_iterator) \ |
| 4624 F(ArrayProto_keys, array_keys_iterator) \ |
| 4625 F(ArrayProto_values, array_values_iterator) |
4623 | 4626 |
4624 enum Intrinsic { | 4627 enum Intrinsic { |
4625 #define V8_DECL_INTRINSIC(name, iname) k##name, | 4628 #define V8_DECL_INTRINSIC(name, iname) k##name, |
4626 V8_INTRINSICS_LIST(V8_DECL_INTRINSIC) | 4629 V8_INTRINSICS_LIST(V8_DECL_INTRINSIC) |
4627 #undef V8_DECL_INTRINSIC | 4630 #undef V8_DECL_INTRINSIC |
4628 }; | 4631 }; |
4629 | 4632 |
4630 | 4633 |
4631 // --- Templates --- | 4634 // --- Templates --- |
4632 | 4635 |
(...skipping 5228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9861 */ | 9864 */ |
9862 | 9865 |
9863 | 9866 |
9864 } // namespace v8 | 9867 } // namespace v8 |
9865 | 9868 |
9866 | 9869 |
9867 #undef TYPE_CHECK | 9870 #undef TYPE_CHECK |
9868 | 9871 |
9869 | 9872 |
9870 #endif // INCLUDE_V8_H_ | 9873 #endif // INCLUDE_V8_H_ |
OLD | NEW |