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

#include <declarable.h>

Collaboration diagram for v8::internal::torque::TypeConstraint:

Public Member Functions

std::optional< std::string > IsViolated (const Type *) const
 

Static Public Member Functions

static TypeConstraint Unconstrained ()
 
static TypeConstraint SubtypeConstraint (const Type *upper_bound)
 

Private Attributes

std::optional< const Type * > upper_bound
 

Detailed Description

Definition at line 560 of file declarable.h.

Member Function Documentation

◆ IsViolated()

std::optional< std::string > v8::internal::torque::TypeConstraint::IsViolated ( const Type * type) const

Definition at line 106 of file declarable.cc.

Here is the call graph for this function:

◆ SubtypeConstraint()

static TypeConstraint v8::internal::torque::TypeConstraint::SubtypeConstraint ( const Type * upper_bound)
inlinestatic

Definition at line 565 of file declarable.h.

Here is the caller graph for this function:

◆ Unconstrained()

static TypeConstraint v8::internal::torque::TypeConstraint::Unconstrained ( )
inlinestatic

Definition at line 564 of file declarable.h.

Here is the caller graph for this function:

Member Data Documentation

◆ upper_bound

std::optional<const Type*> v8::internal::torque::TypeConstraint::upper_bound
private

Definition at line 572 of file declarable.h.


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