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

#include <types.h>

Collaboration diagram for v8::internal::torque::VisitResult:

Public Member Functions

 VisitResult ()=default
 
 VisitResult (const Type *type, const std::string &constexpr_value)
 
 VisitResult (const Type *type, StackRange stack_range)
 
const Typetype () const
 
const std::string & constexpr_value () const
 
const StackRangestack_range () const
 
void SetType (const Type *new_type)
 
bool IsOnStack () const
 
bool operator== (const VisitResult &other) const
 

Static Public Member Functions

static VisitResult NeverResult ()
 
static VisitResult TopTypeResult (std::string top_reason, const Type *from_type)
 

Private Attributes

const Typetype_ = nullptr
 
std::optional< std::string > constexpr_value_
 
std::optional< StackRangestack_range_
 

Detailed Description

Definition at line 832 of file types.h.

Constructor & Destructor Documentation

◆ VisitResult() [1/3]

v8::internal::torque::VisitResult::VisitResult ( )
default

◆ VisitResult() [2/3]

v8::internal::torque::VisitResult::VisitResult ( const Type * type,
const std::string & constexpr_value )
inline

Definition at line 835 of file types.h.

◆ VisitResult() [3/3]

v8::internal::torque::VisitResult::VisitResult ( const Type * type,
StackRange stack_range )
inline

Definition at line 842 of file types.h.

Member Function Documentation

◆ constexpr_value()

const std::string & v8::internal::torque::VisitResult::constexpr_value ( ) const
inline

Definition at line 847 of file types.h.

Here is the caller graph for this function:

◆ IsOnStack()

bool v8::internal::torque::VisitResult::IsOnStack ( ) const
inline

Definition at line 850 of file types.h.

Here is the caller graph for this function:

◆ NeverResult()

VisitResult v8::internal::torque::VisitResult::NeverResult ( )
static

Definition at line 1236 of file types.cc.

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

◆ operator==()

bool v8::internal::torque::VisitResult::operator== ( const VisitResult & other) const
inline

Definition at line 851 of file types.h.

◆ SetType()

void v8::internal::torque::VisitResult::SetType ( const Type * new_type)
inline

Definition at line 849 of file types.h.

Here is the caller graph for this function:

◆ stack_range()

const StackRange & v8::internal::torque::VisitResult::stack_range ( ) const
inline

Definition at line 848 of file types.h.

Here is the caller graph for this function:

◆ TopTypeResult()

VisitResult v8::internal::torque::VisitResult::TopTypeResult ( std::string top_reason,
const Type * from_type )
static

Definition at line 1242 of file types.cc.

Here is the call graph for this function:

◆ type()

const Type * v8::internal::torque::VisitResult::type ( ) const
inline

Definition at line 846 of file types.h.

Here is the caller graph for this function:

Member Data Documentation

◆ constexpr_value_

std::optional<std::string> v8::internal::torque::VisitResult::constexpr_value_
private

Definition at line 858 of file types.h.

◆ stack_range_

std::optional<StackRange> v8::internal::torque::VisitResult::stack_range_
private

Definition at line 859 of file types.h.

◆ type_

const Type* v8::internal::torque::VisitResult::type_ = nullptr
private

Definition at line 857 of file types.h.


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