![]() |
v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8-fast-api-calls.h>
Public Types | |
| enum class | Type : uint8_t { kVoid , kBool , kUint8 , kInt32 , kUint32 , kInt64 , kUint64 , kFloat32 , kFloat64 , kPointer , kV8Value , kSeqOneByteString , kApiObject , kAny } |
| enum class | Flags : uint8_t { kNone = 0 , kAllowSharedBit = 1 << 0 , kEnforceRangeBit = 1 << 1 , kClampBit = 1 << 2 , kIsRestrictedBit = 1 << 3 } |
| typedef uint32_t | Identifier |
Public Member Functions | |
| constexpr | CTypeInfo (Type type, Flags flags=Flags::kNone) |
| constexpr | CTypeInfo (Identifier identifier) |
| constexpr Identifier | GetId () const |
| constexpr Type | GetType () const |
| constexpr Flags | GetFlags () const |
Static Public Member Functions | |
| static constexpr bool | IsIntegralType (Type type) |
| static constexpr bool | IsFloatingPointType (Type type) |
| static constexpr bool | IsPrimitive (Type type) |
Static Public Attributes | |
| static constexpr Type | kCallbackOptionsType = Type(255) |
Definition at line 222 of file v8-fast-api-calls.h.
| typedef uint32_t Identifier |
Definition at line 266 of file v8-fast-api-calls.h.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kAllowSharedBit | |
| kEnforceRangeBit | |
| kClampBit | |
| kIsRestrictedBit | |
Definition at line 255 of file v8-fast-api-calls.h.
|
strong |
| Enumerator | |
|---|---|
| kVoid | |
| kBool | |
| kUint8 | |
| kInt32 | |
| kUint32 | |
| kInt64 | |
| kUint64 | |
| kFloat32 | |
| kFloat64 | |
| kPointer | |
| kV8Value | |
| kSeqOneByteString | |
| kApiObject | |
| kAny | |
Definition at line 224 of file v8-fast-api-calls.h.
|
inlineexplicitconstexpr |
Definition at line 263 of file v8-fast-api-calls.h.
|
inlineexplicitconstexpr |
Definition at line 267 of file v8-fast-api-calls.h.
|
inlineconstexpr |
Definition at line 276 of file v8-fast-api-calls.h.
|
inlineconstexpr |
Definition at line 270 of file v8-fast-api-calls.h.
|
inlineconstexpr |
Definition at line 275 of file v8-fast-api-calls.h.
Referenced by CFunctionInfo::HasOptions().
|
inlinestaticconstexpr |
Definition at line 284 of file v8-fast-api-calls.h.
References CTypeInfo::kFloat32, and CTypeInfo::kFloat64.
Referenced by CTypeInfoBuilder< T, Flags >::Build(), and CTypeInfo::IsPrimitive().
|
inlinestaticconstexpr |
Definition at line 278 of file v8-fast-api-calls.h.
References CTypeInfo::kInt32, CTypeInfo::kInt64, CTypeInfo::kUint32, CTypeInfo::kUint64, and CTypeInfo::kUint8.
Referenced by CTypeInfoBuilder< T, Flags >::Build(), and CTypeInfo::IsPrimitive().
|
inlinestaticconstexpr |
Definition at line 288 of file v8-fast-api-calls.h.
References CTypeInfo::IsFloatingPointType(), CTypeInfo::IsIntegralType(), and CTypeInfo::kBool.
Definition at line 253 of file v8-fast-api-calls.h.
Referenced by CFunctionInfo::HasOptions(), and TypeInfoHelper< FastApiCallbackOptions & >::Type().