v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
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 IsModuleRequest () 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 1092 of file v8-template.h.

Member Function Documentation

◆ Cast()

Signature * Cast ( Data * data)
static

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

Referenced by New().

◆ New()

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

References Cast(), and V8_INLINE.


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