v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
Signature Class Reference

#include <v8-template.h>

Inheritance diagram for Signature:
Collaboration diagram for Signature:

Static Public Member Functions

static Local< SignatureNew (Isolate *isolate, Local< FunctionTemplate > receiver=Local< FunctionTemplate >())
 
static V8_INLINE SignatureCast (Data *data)
 

Additional Inherited Members

- Public Member Functions inherited from Data
bool IsValue () const
 
bool IsModule () const
 
bool IsFixedArray () const
 
bool IsPrivate () const
 
bool IsObjectTemplate () const
 
bool IsFunctionTemplate () const
 
bool IsContext () const
 

Detailed Description

A Signature specifies which receiver is valid for a function.

A receiver matches a given signature if the receiver (or any of its hidden prototypes) was created from the signature's FunctionTemplate, or from a FunctionTemplate that inherits directly or indirectly from the signature's FunctionTemplate.

Definition at line 981 of file v8-template.h.

Member Function Documentation

◆ Cast()

Signature * Cast ( Data data)
static

Definition at line 1036 of file v8-template.h.

◆ New()

static Local<Signature> New ( Isolate isolate,
Local< FunctionTemplate receiver = LocalFunctionTemplate >() 
)
static

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