v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
CFunctionInfoImpl< R, Args > Class Template Reference

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

Inheritance diagram for CFunctionInfoImpl< R, Args >:
Collaboration diagram for CFunctionInfoImpl< R, Args >:

Public Member Functions

 CFunctionInfoImpl ()
 
const CTypeInfoReturnInfo () const override
 
unsigned int ArgumentCount () const override
 
const CTypeInfoArgumentInfo (unsigned int index) const override
 
bool HasOptions () const override
 

Static Public Attributes

static constexpr int kOptionsArgCount
 
static constexpr int kReceiverCount = 1
 

Detailed Description

template<typename R, typename... Args>
class v8::internal::CFunctionInfoImpl< R, Args >

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

Constructor & Destructor Documentation

◆ CFunctionInfoImpl()

Member Function Documentation

◆ ArgumentCount()

unsigned int ArgumentCount ( ) const
inlineoverridevirtual

Implements CFunctionInfo.

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

Referenced by CFunctionInfoImpl< R, Args >::ArgumentInfo().

◆ ArgumentInfo()

const CTypeInfo& ArgumentInfo ( unsigned int  index) const
inlineoverridevirtual

◆ HasOptions()

bool HasOptions ( ) const
inlineoverridevirtual

Implements CFunctionInfo.

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

References CFunctionInfoImpl< R, Args >::kOptionsArgCount.

◆ ReturnInfo()

const CTypeInfo& ReturnInfo ( ) const
inlineoverridevirtual

Implements CFunctionInfo.

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

Field Documentation

◆ kOptionsArgCount

constexpr int kOptionsArgCount
staticconstexpr
Initial value:
=
count<FastApiCallbackOptions&, Args...>()

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

Referenced by CFunctionInfoImpl< R, Args >::CFunctionInfoImpl(), and CFunctionInfoImpl< R, Args >::HasOptions().

◆ kReceiverCount

constexpr int kReceiverCount = 1
staticconstexpr

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


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