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

#include <types.h>

Collaboration diagram for v8::internal::torque::Signature:

Public Member Functions

 Signature (NameVector n, std::optional< std::string > arguments_variable, ParameterTypes p, size_t i, const Type *r, LabelDeclarationVector l, bool transitioning)
 
 Signature ()=default
 
const TypeVectortypes () const
 
size_t ExplicitCount () const
 
bool HasSameTypesAs (const Signature &other, ParameterMode mode=ParameterMode::kProcessImplicit) const
 
TypeVector GetImplicitTypes () const
 
TypeVector GetExplicitTypes () const
 
bool HasContextParameter () const
 

Public Attributes

NameVector parameter_names
 
std::optional< std::string > arguments_variable
 
ParameterTypes parameter_types
 
size_t implicit_count = 0
 
const Typereturn_type
 
LabelDeclarationVector labels
 
bool transitioning = false
 

Detailed Description

Definition at line 908 of file types.h.

Constructor & Destructor Documentation

◆ Signature() [1/2]

v8::internal::torque::Signature::Signature ( NameVector n,
std::optional< std::string > arguments_variable,
ParameterTypes p,
size_t i,
const Type * r,
LabelDeclarationVector l,
bool transitioning )
inline

Definition at line 909 of file types.h.

◆ Signature() [2/2]

v8::internal::torque::Signature::Signature ( )
default

Member Function Documentation

◆ ExplicitCount()

size_t v8::internal::torque::Signature::ExplicitCount ( ) const
inline

Definition at line 925 of file types.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetExplicitTypes()

TypeVector v8::internal::torque::Signature::GetExplicitTypes ( ) const
inline

Definition at line 936 of file types.h.

Here is the caller graph for this function:

◆ GetImplicitTypes()

TypeVector v8::internal::torque::Signature::GetImplicitTypes ( ) const
inline

Definition at line 932 of file types.h.

◆ HasContextParameter()

bool v8::internal::torque::Signature::HasContextParameter ( ) const

Definition at line 1161 of file types.cc.

Here is the call graph for this function:

◆ HasSameTypesAs()

bool v8::internal::torque::Signature::HasSameTypesAs ( const Signature & other,
ParameterMode mode = ParameterMode::kProcessImplicit ) const

Definition at line 1128 of file types.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ types()

const TypeVector & v8::internal::torque::Signature::types ( ) const
inline

Definition at line 920 of file types.h.

Here is the caller graph for this function:

Member Data Documentation

◆ arguments_variable

std::optional<std::string> v8::internal::torque::Signature::arguments_variable

Definition at line 922 of file types.h.

◆ implicit_count

size_t v8::internal::torque::Signature::implicit_count = 0

Definition at line 924 of file types.h.

◆ labels

LabelDeclarationVector v8::internal::torque::Signature::labels

Definition at line 927 of file types.h.

◆ parameter_names

NameVector v8::internal::torque::Signature::parameter_names

Definition at line 921 of file types.h.

◆ parameter_types

ParameterTypes v8::internal::torque::Signature::parameter_types

Definition at line 923 of file types.h.

◆ return_type

const Type* v8::internal::torque::Signature::return_type

Definition at line 926 of file types.h.

◆ transitioning

bool v8::internal::torque::Signature::transitioning = false

Definition at line 928 of file types.h.


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