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

#include <v8.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 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 7042 of file v8.h.

Member Function Documentation

◆ Cast()

Signature * Cast ( Data data)

Definition at line 11606 of file v8.h.

◆ New()

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

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