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 2146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2157 * Returns true if this value is a Float32Array. | 2157 * Returns true if this value is a Float32Array. |
2158 */ | 2158 */ |
2159 bool IsFloat32Array() const; | 2159 bool IsFloat32Array() const; |
2160 | 2160 |
2161 /** | 2161 /** |
2162 * Returns true if this value is a Float64Array. | 2162 * Returns true if this value is a Float64Array. |
2163 */ | 2163 */ |
2164 bool IsFloat64Array() const; | 2164 bool IsFloat64Array() const; |
2165 | 2165 |
2166 /** | 2166 /** |
2167 * Returns true if this value is a SIMD Float32x4. | |
2168 * This is an experimental feature. | |
2169 */ | |
2170 bool IsFloat32x4() const; | |
2171 | |
2172 /** | |
2173 * Returns true if this value is a DataView. | 2167 * Returns true if this value is a DataView. |
2174 */ | 2168 */ |
2175 bool IsDataView() const; | 2169 bool IsDataView() const; |
2176 | 2170 |
2177 /** | 2171 /** |
2178 * Returns true if this value is a SharedArrayBuffer. | 2172 * Returns true if this value is a SharedArrayBuffer. |
2179 * This is an experimental feature. | 2173 * This is an experimental feature. |
2180 */ | 2174 */ |
2181 bool IsSharedArrayBuffer() const; | 2175 bool IsSharedArrayBuffer() const; |
2182 | 2176 |
(...skipping 6305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8488 | 8482 |
8489 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 8483 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
8490 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 8484 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
8491 static const int kNodeStateMask = 0x7; | 8485 static const int kNodeStateMask = 0x7; |
8492 static const int kNodeStateIsWeakValue = 2; | 8486 static const int kNodeStateIsWeakValue = 2; |
8493 static const int kNodeStateIsPendingValue = 3; | 8487 static const int kNodeStateIsPendingValue = 3; |
8494 static const int kNodeStateIsNearDeathValue = 4; | 8488 static const int kNodeStateIsNearDeathValue = 4; |
8495 static const int kNodeIsIndependentShift = 3; | 8489 static const int kNodeIsIndependentShift = 3; |
8496 static const int kNodeIsActiveShift = 4; | 8490 static const int kNodeIsActiveShift = 4; |
8497 | 8491 |
8498 static const int kJSApiObjectType = 0xbb; | 8492 static const int kJSApiObjectType = 0xba; |
8499 static const int kJSObjectType = 0xbc; | 8493 static const int kJSObjectType = 0xbb; |
8500 static const int kFirstNonstringType = 0x80; | 8494 static const int kFirstNonstringType = 0x80; |
8501 static const int kOddballType = 0x83; | 8495 static const int kOddballType = 0x82; |
8502 static const int kForeignType = 0x87; | 8496 static const int kForeignType = 0x86; |
8503 | 8497 |
8504 static const int kUndefinedOddballKind = 5; | 8498 static const int kUndefinedOddballKind = 5; |
8505 static const int kNullOddballKind = 3; | 8499 static const int kNullOddballKind = 3; |
8506 | 8500 |
8507 static const uint32_t kNumIsolateDataSlots = 4; | 8501 static const uint32_t kNumIsolateDataSlots = 4; |
8508 | 8502 |
8509 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); | 8503 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); |
8510 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { | 8504 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { |
8511 #ifdef V8_ENABLE_CHECKS | 8505 #ifdef V8_ENABLE_CHECKS |
8512 CheckInitializedImpl(isolate); | 8506 CheckInitializedImpl(isolate); |
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9865 */ | 9859 */ |
9866 | 9860 |
9867 | 9861 |
9868 } // namespace v8 | 9862 } // namespace v8 |
9869 | 9863 |
9870 | 9864 |
9871 #undef TYPE_CHECK | 9865 #undef TYPE_CHECK |
9872 | 9866 |
9873 | 9867 |
9874 #endif // INCLUDE_V8_H_ | 9868 #endif // INCLUDE_V8_H_ |
OLD | NEW |