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

#include <signature.h>

Inheritance diagram for v8::internal::Signature< typename >:
Collaboration diagram for v8::internal::Signature< typename >:

Public Types

using Builder = SignatureBuilder<Signature<T>, T>
 

Public Member Functions

constexpr Signature (size_t return_count, size_t parameter_count, const T *reps)
 
size_t return_count () const
 
size_t parameter_count () const
 
T GetParam (size_t index) const
 
T GetReturn (size_t index=0) const
 
bool contains (T element) const
 
base::Vector< const Tparameters () const
 
base::Vector< const Treturns () const
 
base::Vector< const Tall () const
 
bool operator== (const Signature &other) const
 
bool operator!= (const Signature &other) const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Static Public Member Functions

static Signature< T > * Build (Zone *zone, std::initializer_list< T > returns, std::initializer_list< T > params)
 

Static Public Attributes

static constexpr size_t kReturnCountOffset = 0
 
static constexpr size_t kParameterCountOffset
 
static constexpr size_t kRepsOffset = kParameterCountOffset + kSizetSize
 

Protected Attributes

size_t return_count_
 
size_t parameter_count_
 
const Treps_
 

Detailed Description

template<typename>
class v8::internal::Signature< typename >

Definition at line 39 of file shared-function-info.h.

Member Typedef Documentation

◆ Builder

template<typename >
using v8::internal::Signature< typename >::Builder = SignatureBuilder<Signature<T>, T>

Definition at line 130 of file signature.h.

Constructor & Destructor Documentation

◆ Signature()

template<typename >
v8::internal::Signature< typename >::Signature ( size_t return_count,
size_t parameter_count,
const T * reps )
inlineconstexpr

Definition at line 82 of file signature.h.

Member Function Documentation

◆ all()

template<typename >
base::Vector< const T > v8::internal::Signature< typename >::all ( ) const
inline

Definition at line 117 of file signature.h.

Here is the caller graph for this function:

◆ Build()

template<typename >
static Signature< T > * v8::internal::Signature< typename >::Build ( Zone * zone,
std::initializer_list< T > returns,
std::initializer_list< T > params )
inlinestatic

Definition at line 132 of file signature.h.

Here is the call graph for this function:

◆ contains()

template<typename >
bool v8::internal::Signature< typename >::contains ( T element) const
inline

Definition at line 108 of file signature.h.

Here is the call graph for this function:

◆ GetParam()

template<typename >
T v8::internal::Signature< typename >::GetParam ( size_t index) const
inline

Definition at line 96 of file signature.h.

Here is the caller graph for this function:

◆ GetReturn()

template<typename >
T v8::internal::Signature< typename >::GetReturn ( size_t index = 0) const
inline

Definition at line 103 of file signature.h.

Here is the caller graph for this function:

◆ operator!=()

template<typename >
bool v8::internal::Signature< typename >::operator!= ( const Signature< typename > & other) const
inline

Definition at line 127 of file signature.h.

◆ operator==()

template<typename >
bool v8::internal::Signature< typename >::operator== ( const Signature< typename > & other) const
inline

Definition at line 121 of file signature.h.

Here is the call graph for this function:

◆ parameter_count()

template<typename >
size_t v8::internal::Signature< typename >::parameter_count ( ) const
inline

Definition at line 94 of file signature.h.

Here is the caller graph for this function:

◆ parameters()

template<typename >
base::Vector< const T > v8::internal::Signature< typename >::parameters ( ) const
inline

Definition at line 113 of file signature.h.

Here is the caller graph for this function:

◆ return_count()

template<typename >
size_t v8::internal::Signature< typename >::return_count ( ) const
inline

Definition at line 93 of file signature.h.

Here is the caller graph for this function:

◆ returns()

template<typename >
base::Vector< const T > v8::internal::Signature< typename >::returns ( ) const
inline

Definition at line 116 of file signature.h.

Here is the caller graph for this function:

Member Data Documentation

◆ kParameterCountOffset

template<typename >
size_t v8::internal::Signature< typename >::kParameterCountOffset
staticconstexpr
Initial value:
=
static constexpr size_t kReturnCountOffset
Definition signature.h:140
constexpr int kSizetSize
Definition globals.h:404

Definition at line 141 of file signature.h.

◆ kRepsOffset

template<typename >
size_t v8::internal::Signature< typename >::kRepsOffset = kParameterCountOffset + kSizetSize
staticconstexpr

Definition at line 143 of file signature.h.

◆ kReturnCountOffset

template<typename >
size_t v8::internal::Signature< typename >::kReturnCountOffset = 0
staticconstexpr

Definition at line 140 of file signature.h.

◆ parameter_count_

template<typename >
size_t v8::internal::Signature< typename >::parameter_count_
protected

Definition at line 147 of file signature.h.

◆ reps_

template<typename >
const T* v8::internal::Signature< typename >::reps_
protected

Definition at line 148 of file signature.h.

◆ return_count_

template<typename >
size_t v8::internal::Signature< typename >::return_count_
protected

Definition at line 146 of file signature.h.


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