v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
CTypeInfo Class Reference

#include <v8-fast-api-calls.h>

Public Types

enum  Type : uint8_t {
  kVoid, kBool, kInt32, kUint32,
  kInt64, kUint64, kFloat32, kFloat64,
  kV8Value
}
 
enum  ArgFlags : uint8_t { kNone = 0 }
 

Public Member Functions

constexpr CTypeInfo (Type type, ArgFlags flags=ArgFlags::kNone)
 
constexpr Type GetType () const
 
constexpr ArgFlags GetFlags () const
 

Static Public Member Functions

static const CTypeInfoInvalid ()
 

Static Public Attributes

static constexpr Type kCallbackOptionsType = Type(255)
 
static constexpr Type kInvalidType = Type(254)
 

Detailed Description

Definition at line 194 of file v8-fast-api-calls.h.

Member Enumeration Documentation

◆ ArgFlags

enum ArgFlags : uint8_t
strong
Enumerator
kNone 

Definition at line 214 of file v8-fast-api-calls.h.

◆ Type

enum Type : uint8_t
strong
Enumerator
kVoid 
kBool 
kInt32 
kUint32 
kInt64 
kUint64 
kFloat32 
kFloat64 
kV8Value 

Definition at line 196 of file v8-fast-api-calls.h.

Constructor & Destructor Documentation

◆ CTypeInfo()

constexpr CTypeInfo ( Type  type,
ArgFlags  flags = ArgFlags::kNone 
)
inlineexplicitconstexpr

Member Function Documentation

◆ GetFlags()

constexpr ArgFlags GetFlags ( ) const
inlineconstexpr

Definition at line 223 of file v8-fast-api-calls.h.

◆ GetType()

constexpr Type GetType ( ) const
inlineconstexpr

Definition at line 221 of file v8-fast-api-calls.h.

◆ Invalid()

static const CTypeInfo& Invalid ( )
inlinestatic

Field Documentation

◆ kCallbackOptionsType

constexpr Type kCallbackOptionsType = Type(255)
staticconstexpr

Definition at line 211 of file v8-fast-api-calls.h.

Referenced by GetCType< FastApiCallbackOptions & >::Get().

◆ kInvalidType

constexpr Type kInvalidType = Type(254)
staticconstexpr

Definition at line 212 of file v8-fast-api-calls.h.

Referenced by CTypeInfo::Invalid().


The documentation for this class was generated from the following file: