v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::FunctionCallbackArguments Class Reference

#include <api-arguments.h>

Inheritance diagram for v8::internal::FunctionCallbackArguments:
Collaboration diagram for v8::internal::FunctionCallbackArguments:

Public Types

using T = FunctionCallbackInfo<Value>
 
using Super = CustomArguments<T>
 

Public Member Functions

 FunctionCallbackArguments (Isolate *isolate, Tagged< FunctionTemplateInfo > target, Tagged< HeapObject > new_target, Address *argv, int argc)
 
DirectHandle< ObjectCallOrConstruct (Tagged< FunctionTemplateInfo > function, bool is_construct)
 
- Public Member Functions inherited from v8::internal::CustomArguments< FunctionCallbackInfo< Value > >
 ~CustomArguments () override
 
void IterateInstance (RootVisitor *v) override
 
- Public Member Functions inherited from v8::internal::Relocatable
 Relocatable (Isolate *isolate)
 
virtual ~Relocatable ()
 
virtual void PostGarbageCollection ()
 

Static Public Member Functions

template<typename T >
static Tagged< ObjectGetTarget (const FunctionCallbackInfo< T > &info)
 
- Static Public Member Functions inherited from v8::internal::Relocatable
static void PostGarbageCollectionProcessing (Isolate *isolate)
 
static int ArchiveSpacePerThread ()
 
static char * ArchiveState (Isolate *isolate, char *to)
 
static char * RestoreState (Isolate *isolate, char *from)
 
static void Iterate (Isolate *isolate, RootVisitor *v)
 
static void Iterate (RootVisitor *v, Relocatable *top)
 
static char * Iterate (RootVisitor *v, char *t)
 

Static Public Attributes

static constexpr int kArgsLength = T::kArgsLength
 
static constexpr int kArgsLengthWithReceiver = T::kArgsLengthWithReceiver
 
static constexpr int kUnusedIndex = T::kUnusedIndex
 
static constexpr int kIsolateIndex = T::kIsolateIndex
 
static constexpr int kContextIndex = T::kContextIndex
 
static constexpr int kTargetIndex = T::kTargetIndex
 
static constexpr int kNewTargetIndex = T::kNewTargetIndex
 
static constexpr int kSize = T::kSize
 
static constexpr int kImplicitArgsOffset = T::kImplicitArgsOffset
 
static constexpr int kValuesOffset = T::kValuesOffset
 
static constexpr int kLengthOffset = T::kLengthOffset
 
- Static Public Attributes inherited from v8::internal::CustomArguments< FunctionCallbackInfo< Value > >
static constexpr int kReturnValueIndex
 

Private Attributes

Addressargv_
 
int const argc_
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::CustomArguments< FunctionCallbackInfo< Value > >
 CustomArguments (Isolate *isolate)
 
Handle< VGetReturnValue (Isolate *isolate) const
 
Isolateisolate () const
 
FullObjectSlot slot_at (int index) const
 
- Protected Member Functions inherited from v8::internal::CustomArgumentsBase
 CustomArgumentsBase (Isolate *isolate)
 
- Protected Attributes inherited from v8::internal::CustomArguments< FunctionCallbackInfo< Value > >
Address values_ [FunctionCallbackInfo< Value >::kArgsLength]
 

Detailed Description

Definition at line 254 of file api-arguments.h.

Member Typedef Documentation

◆ Super

◆ T

Constructor & Destructor Documentation

◆ FunctionCallbackArguments()

v8::internal::FunctionCallbackArguments::FunctionCallbackArguments ( Isolate * isolate,
Tagged< FunctionTemplateInfo > target,
Tagged< HeapObject > new_target,
Address * argv,
int argc )

Definition at line 43 of file api-arguments.cc.

Here is the call graph for this function:

Member Function Documentation

◆ CallOrConstruct()

DirectHandle< Object > v8::internal::FunctionCallbackArguments::CallOrConstruct ( Tagged< FunctionTemplateInfo > function,
bool is_construct )
inline

Definition at line 77 of file api-arguments-inl.h.

Here is the call graph for this function:

◆ GetTarget()

template<typename T >
static Tagged< Object > v8::internal::FunctionCallbackArguments::GetTarget ( const FunctionCallbackInfo< T > & info)
inlinestatic

Definition at line 300 of file api-arguments.h.

Member Data Documentation

◆ argc_

int const v8::internal::FunctionCallbackArguments::argc_
private

Definition at line 306 of file api-arguments.h.

◆ argv_

Address* v8::internal::FunctionCallbackArguments::argv_
private

Definition at line 305 of file api-arguments.h.

◆ kArgsLength

int v8::internal::FunctionCallbackArguments::kArgsLength = T::kArgsLength
staticconstexpr

Definition at line 259 of file api-arguments.h.

◆ kArgsLengthWithReceiver

int v8::internal::FunctionCallbackArguments::kArgsLengthWithReceiver = T::kArgsLengthWithReceiver
staticconstexpr

Definition at line 260 of file api-arguments.h.

◆ kContextIndex

int v8::internal::FunctionCallbackArguments::kContextIndex = T::kContextIndex
staticconstexpr

Definition at line 264 of file api-arguments.h.

◆ kImplicitArgsOffset

int v8::internal::FunctionCallbackArguments::kImplicitArgsOffset = T::kImplicitArgsOffset
staticconstexpr

Definition at line 271 of file api-arguments.h.

◆ kIsolateIndex

int v8::internal::FunctionCallbackArguments::kIsolateIndex = T::kIsolateIndex
staticconstexpr

Definition at line 263 of file api-arguments.h.

◆ kLengthOffset

int v8::internal::FunctionCallbackArguments::kLengthOffset = T::kLengthOffset
staticconstexpr

Definition at line 273 of file api-arguments.h.

◆ kNewTargetIndex

int v8::internal::FunctionCallbackArguments::kNewTargetIndex = T::kNewTargetIndex
staticconstexpr

Definition at line 266 of file api-arguments.h.

◆ kSize

int v8::internal::FunctionCallbackArguments::kSize = T::kSize
staticconstexpr

Definition at line 270 of file api-arguments.h.

◆ kTargetIndex

int v8::internal::FunctionCallbackArguments::kTargetIndex = T::kTargetIndex
staticconstexpr

Definition at line 265 of file api-arguments.h.

◆ kUnusedIndex

int v8::internal::FunctionCallbackArguments::kUnusedIndex = T::kUnusedIndex
staticconstexpr

Definition at line 262 of file api-arguments.h.

◆ kValuesOffset

int v8::internal::FunctionCallbackArguments::kValuesOffset = T::kValuesOffset
staticconstexpr

Definition at line 272 of file api-arguments.h.


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