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

#include <objects.h>

Inheritance diagram for v8::internal::Object:
Collaboration diagram for v8::internal::Object:

Classes

struct  Comparer
 
struct  FullPtrComparer
 
struct  Hasher
 
struct  KeyEqualSafe
 

Public Types

enum class  Conversion { kToNumber , kToNumeric }
 

Public Member Functions

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
Maybe< double > IntegerValue (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< JSReceiver >::MaybeType ToObject (Isolate *isolate, HandleType< T > object, const char *method_name)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Name >::MaybeType ToName (Isolate *isolate, HandleType< Object > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType ToPropertyKey (Isolate *isolate, HandleType< T > value)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType ToPrimitive (Isolate *isolate, HandleType< T > input, ToPrimitiveHint hint)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType ToNumber (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType ToNumeric (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType ToInteger (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType ToInt32 (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType ToUint32 (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< String >::MaybeType ToString (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType ToIndex (Isolate *isolate, HandleType< T > input, MessageTemplate error_index)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Number >::MaybeType ConvertToNumber (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Numeric >::MaybeType ConvertToNumeric (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Number >::MaybeType ConvertToInt32 (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Number >::MaybeType ConvertToUint32 (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Name >::MaybeType ConvertToName (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Object >::MaybeType ConvertToPropertyKey (Isolate *isolate, HandleType< Object > value)
 
template<typename IsolateT >
bool BooleanValue (Tagged< Object > obj, IsolateT *isolate)
 

Static Public Member Functions

V8_INLINE static V8_WARN_UNUSED_RESULT Maybe< boolIsArray (DirectHandle< Object > object)
 
static double NumberValue (Tagged< Number > obj)
 
static double NumberValue (Tagged< Object > obj)
 
static double NumberValue (Tagged< HeapNumber > obj)
 
static double NumberValue (Tagged< Smi > obj)
 
static V8_EXPORT_PRIVATE bool ToInt32 (Tagged< Object > obj, int32_t *value)
 
static bool ToUint32 (Tagged< Object > obj, uint32_t *value)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT Maybe< double > IntegerValue (Isolate *isolate, HandleType< T > input)
 
static Representation OptimalRepresentation (Tagged< Object > obj, PtrComprCageBase cage_base)
 
static ElementsKind OptimalElementsKind (Tagged< Object > obj, PtrComprCageBase cage_base)
 
static bool FitsRepresentation (Tagged< Object > obj, Representation representation, bool allow_coercion=true)
 
static bool FilterKey (Tagged< Object > obj, PropertyFilter filter)
 
static DirectHandle< FieldTypeOptimalType (Tagged< Object > obj, Isolate *isolate, Representation representation)
 
static V8_EXPORT_PRIVATE Handle< UnionOf< JSAny, Hole > > NewStorageFor (Isolate *isolate, Handle< UnionOf< JSAny, Hole > > object, Representation representation)
 
template<AllocationType allocation_type = AllocationType::kYoung, typename IsolateT >
static Handle< JSAnyWrapForRead (IsolateT *isolate, Handle< JSAny > object, Representation representation)
 
static bool HasValidElements (Tagged< Object > obj)
 
template<typename IsolateT >
static V8_EXPORT_PRIVATE bool BooleanValue (Tagged< Object > obj, IsolateT *isolate)
 
static Tagged< ObjectToBoolean (Tagged< Object > obj, Isolate *isolate)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT Maybe< ComparisonResultCompare (Isolate *isolate, DirectHandle< Object > x, DirectHandle< Object > y)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT Maybe< boolEquals (Isolate *isolate, DirectHandle< Object > x, DirectHandle< Object > y)
 
static V8_EXPORT_PRIVATE bool StrictEquals (Tagged< Object > obj, Tagged< Object > that)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< JSReceiver >::MaybeType ToObject (Isolate *isolate, HandleType< T > object, const char *method_name=nullptr)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSReceiverToObjectImpl (Isolate *isolate, DirectHandle< Object > object, const char *method_name=nullptr)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiverConvertReceiver (Isolate *isolate, DirectHandle< Object > object)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Name >::MaybeType ToName (Isolate *isolate, HandleType< Object > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType ToPrimitive (Isolate *isolate, HandleType< T > input, ToPrimitiveHint hint=ToPrimitiveHint::kDefault)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ToNumber (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType ToNumeric (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ToInteger (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ToInt32 (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ToUint32 (Isolate *isolate, HandleType< T > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< String >::MaybeType ToString (Isolate *isolate, HandleType< T > input)
 
static V8_EXPORT_PRIVATE MaybeDirectHandle< StringNoSideEffectsToMaybeString (Isolate *isolate, DirectHandle< Object > input)
 
static V8_EXPORT_PRIVATE DirectHandle< StringNoSideEffectsToString (Isolate *isolate, DirectHandle< Object > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType ToPropertyKey (Isolate *isolate, HandleType< T > value)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToLength (Isolate *isolate, DirectHandle< Object > input)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType ToIndex (Isolate *isolate, HandleType< T > input, MessageTemplate error_index)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectGetMethod (Isolate *isolate, DirectHandle< JSReceiver > receiver, DirectHandle< Name > name)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< FixedArrayCreateListFromArrayLike (Isolate *isolate, DirectHandle< Object > object, ElementTypes element_types)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectGetLengthFromArrayLike (Isolate *isolate, DirectHandle< JSReceiver > object)
 
static Handle< StringTypeOf (Isolate *isolate, DirectHandle< Object > object)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectAdd (Isolate *isolate, Handle< Object > lhs, Handle< Object > rhs)
 
static V8_WARN_UNUSED_RESULT Maybe< boolGreaterThan (Isolate *isolate, DirectHandle< Object > x, DirectHandle< Object > y)
 
static V8_WARN_UNUSED_RESULT Maybe< boolGreaterThanOrEqual (Isolate *isolate, DirectHandle< Object > x, DirectHandle< Object > y)
 
static V8_WARN_UNUSED_RESULT Maybe< boolLessThan (Isolate *isolate, DirectHandle< Object > x, DirectHandle< Object > y)
 
static V8_WARN_UNUSED_RESULT Maybe< boolLessThanOrEqual (Isolate *isolate, DirectHandle< Object > x, DirectHandle< Object > y)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectOrdinaryHasInstance (Isolate *isolate, DirectHandle< JSAny > callable, DirectHandle< JSAny > object)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectInstanceOf (Isolate *isolate, DirectHandle< JSAny > object, DirectHandle< JSAny > callable)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetProperty (LookupIterator *it, bool is_global_reference=false)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT Maybe< boolSetProperty (LookupIterator *it, DirectHandle< Object > value, StoreOrigin store_origin, Maybe< ShouldThrow > should_throw=Nothing< ShouldThrow >())
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSetProperty (Isolate *isolate, DirectHandle< JSAny > object, DirectHandle< Name > name, DirectHandle< Object > value, StoreOrigin store_origin=StoreOrigin::kMaybeKeyed, Maybe< ShouldThrow > should_throw=Nothing< ShouldThrow >())
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectSetPropertyOrElement (Isolate *isolate, DirectHandle< JSAny > object, DirectHandle< Name > name, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw=Nothing< ShouldThrow >(), StoreOrigin store_origin=StoreOrigin::kMaybeKeyed)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectSetPropertyOrElement (Isolate *isolate, DirectHandle< JSAny > object, PropertyKey key, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw=Nothing< ShouldThrow >(), StoreOrigin store_origin=StoreOrigin::kMaybeKeyed)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetSuperProperty (LookupIterator *it, DirectHandle< Object > value, StoreOrigin store_origin, Maybe< ShouldThrow > should_throw=Nothing< ShouldThrow >())
 
static V8_WARN_UNUSED_RESULT Maybe< boolCannotCreateProperty (Isolate *isolate, DirectHandle< JSAny > receiver, DirectHandle< Object > name, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolWriteToReadOnlyProperty (LookupIterator *it, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolWriteToReadOnlyProperty (Isolate *isolate, DirectHandle< JSAny > receiver, DirectHandle< Object > name, DirectHandle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolRedefineIncompatibleProperty (Isolate *isolate, DirectHandle< Object > name, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetDataProperty (LookupIterator *it, DirectHandle< Object > value)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT Maybe< boolAddDataProperty (LookupIterator *it, DirectHandle< Object > value, PropertyAttributes attributes, Maybe< ShouldThrow > should_throw, StoreOrigin store_origin, EnforceDefineSemantics semantics=EnforceDefineSemantics::kSet)
 
static V8_WARN_UNUSED_RESULT Maybe< boolTransitionAndWriteDataProperty (LookupIterator *it, DirectHandle< Object > value, PropertyAttributes attributes, Maybe< ShouldThrow > should_throw, StoreOrigin store_origin)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetPropertyOrElement (Isolate *isolate, DirectHandle< JSAny > object, DirectHandle< Name > name)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetPropertyOrElement (Isolate *isolate, DirectHandle< JSAny > object, PropertyKey key)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetProperty (Isolate *isolate, DirectHandle< JSAny > object, DirectHandle< Name > name)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSAnyGetPropertyWithAccessor (LookupIterator *it)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPropertyWithAccessor (LookupIterator *it, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSAnyGetPropertyWithDefinedGetter (DirectHandle< JSAny > receiver, DirectHandle< JSReceiver > getter)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPropertyWithDefinedSetter (DirectHandle< JSAny > receiver, DirectHandle< JSReceiver > setter, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetElement (Isolate *isolate, DirectHandle< JSAny > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectSetElement (Isolate *isolate, DirectHandle< JSAny > object, uint32_t index, DirectHandle< Object > value, ShouldThrow should_throw)
 
static Tagged< ObjectGetHash (Tagged< Object > obj)
 
static V8_EXPORT_PRIVATE Tagged< SmiGetOrCreateHash (Tagged< Object > obj, Isolate *isolate)
 
static V8_EXPORT_PRIVATE bool SameValue (Tagged< Object > obj, Tagged< Object > other)
 
static bool SameNumberValue (double number1, double number2)
 
static bool SameValueZero (Tagged< Object > obj, Tagged< Object > other)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectArraySpeciesConstructor (Isolate *isolate, DirectHandle< JSAny > original_array)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectSpeciesConstructor (Isolate *isolate, DirectHandle< JSReceiver > recv, DirectHandle< JSFunction > default_ctor)
 
static bool ToArrayLength (Tagged< Object > obj, uint32_t *index)
 
static V8_WARN_UNUSED_RESULT bool ToArrayIndex (Tagged< Object > obj, uint32_t *index)
 
static bool ToIntegerIndex (Tagged< Object > obj, size_t *index)
 
static V8_EXPORT_PRIVATE bool IterationHasObservableEffects (Tagged< Object > obj)
 
static bool IsCodeLike (Tagged< Object > obj, Isolate *isolate)
 
static bool CheckContextualStoreToJSGlobalObject (LookupIterator *it, Maybe< ShouldThrow > should_throw)
 
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static HandleType< Object >::MaybeType Share (Isolate *isolate, HandleType< T > value, ShouldThrow throw_if_cannot_be_shared)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static HandleType< Object >::MaybeType ShareSlow (Isolate *isolate, HandleType< HeapObject > value, ShouldThrow throw_if_cannot_be_shared)
 
static bool CanBeHeldWeakly (Tagged< Object > obj)
 

Static Public Attributes

static const int kHeaderSize = 0
 

Static Private Member Functions

static Tagged< MapGetPrototypeChainRootMap (Tagged< Object > obj, Isolate *isolate)
 
static Tagged< ObjectGetSimpleHash (Tagged< Object > object)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPropertyInternal (LookupIterator *it, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw, StoreOrigin store_origin, bool *found)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Name >::MaybeType ConvertToName (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType ConvertToPropertyKey (Isolate *isolate, HandleType< Object > value)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
EXPORT_TEMPLATE_DECLARE(V8_EXPORT_PRIVATE) V8_WARN_UNUSED_RESULT static typename HandleType< String > static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ConvertToNumber (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Numeric >::MaybeType ConvertToNumeric (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
EXPORT_TEMPLATE_DECLARE(V8_EXPORT_PRIVATE) V8_WARN_UNUSED_RESULT static typename HandleType< Number > static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ConvertToInt32 (Isolate *isolate, HandleType< Object > input)
 
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ConvertToUint32 (Isolate *isolate, HandleType< Object > input)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeHandle< NumberConvertToLength (Isolate *isolate, DirectHandle< Object > input)
 

Friends

class CompressedObjectSlot
 
class FullObjectSlot
 
class LookupIterator
 
class StringStream
 

Detailed Description

Definition at line 128 of file objects.h.

Member Enumeration Documentation

◆ Conversion

Enumerator
kToNumber 
kToNumeric 

Definition at line 130 of file objects.h.

Member Function Documentation

◆ Add()

MaybeDirectHandle< Object > v8::internal::Object::Add ( Isolate * isolate,
Handle< Object > lhs,
Handle< Object > rhs )
static

Definition at line 1016 of file objects.cc.

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

◆ AddDataProperty()

Maybe< bool > v8::internal::Object::AddDataProperty ( LookupIterator * it,
DirectHandle< Object > value,
PropertyAttributes attributes,
Maybe< ShouldThrow > should_throw,
StoreOrigin store_origin,
EnforceDefineSemantics semantics = EnforceDefineSemantics::kSet )
static

Definition at line 2667 of file objects.cc.

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

◆ ArraySpeciesConstructor()

MaybeDirectHandle< Object > v8::internal::Object::ArraySpeciesConstructor ( Isolate * isolate,
DirectHandle< JSAny > original_array )
static

Definition at line 1742 of file objects.cc.

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

◆ BooleanValue() [1/2]

template<typename IsolateT >
bool v8::internal::Object::BooleanValue ( Tagged< Object > obj,
IsolateT * isolate )

Definition at line 773 of file objects.cc.

Here is the call graph for this function:

◆ BooleanValue() [2/2]

template<typename IsolateT >
static V8_EXPORT_PRIVATE bool v8::internal::Object::BooleanValue ( Tagged< Object > obj,
IsolateT * isolate )
static
Here is the caller graph for this function:

◆ CanBeHeldWeakly()

bool v8::internal::Object::CanBeHeldWeakly ( Tagged< Object > obj)
inlinestatic

Definition at line 1943 of file objects-inl.h.

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

◆ CannotCreateProperty()

Maybe< bool > v8::internal::Object::CannotCreateProperty ( Isolate * isolate,
DirectHandle< JSAny > receiver,
DirectHandle< Object > name,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw )
static

Definition at line 2559 of file objects.cc.

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

◆ CheckContextualStoreToJSGlobalObject()

bool v8::internal::Object::CheckContextualStoreToJSGlobalObject ( LookupIterator * it,
Maybe< ShouldThrow > should_throw )
static

Definition at line 2419 of file objects.cc.

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

◆ Compare()

Maybe< ComparisonResult > v8::internal::Object::Compare ( Isolate * isolate,
DirectHandle< Object > x,
DirectHandle< Object > y )
static

Definition at line 841 of file objects.cc.

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

◆ ConvertReceiver()

MaybeDirectHandle< JSReceiver > v8::internal::Object::ConvertReceiver ( Isolate * isolate,
DirectHandle< Object > object )
static

Definition at line 305 of file objects.cc.

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

◆ ConvertToInt32() [1/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Number >::MaybeType v8::internal::Object::ConvertToInt32 ( Isolate * isolate,
HandleType< Object > input )

Definition at line 400 of file objects.cc.

Here is the call graph for this function:

◆ ConvertToInt32() [2/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
EXPORT_TEMPLATE_DECLARE(V8_EXPORT_PRIVATE) V8_WARN_UNUSED_RESULT static typename HandleType< Number > static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType v8::internal::Object::ConvertToInt32 ( Isolate * isolate,
HandleType< Object > input )
staticprivate

◆ ConvertToLength()

MaybeHandle< Number > v8::internal::Object::ConvertToLength ( Isolate * isolate,
DirectHandle< Object > input )
staticprivate

Definition at line 732 of file objects.cc.

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

◆ ConvertToName() [1/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Name >::MaybeType v8::internal::Object::ConvertToName ( Isolate * isolate,
HandleType< Object > input )

Definition at line 434 of file objects.cc.

Here is the call graph for this function:

◆ ConvertToName() [2/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Name >::MaybeType v8::internal::Object::ConvertToName ( Isolate * isolate,
HandleType< Object > input )
staticprivate

◆ ConvertToNumber() [1/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Number >::MaybeType v8::internal::Object::ConvertToNumber ( Isolate * isolate,
HandleType< Object > input )

Definition at line 318 of file objects.cc.

Here is the call graph for this function:

◆ ConvertToNumber() [2/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
EXPORT_TEMPLATE_DECLARE(V8_EXPORT_PRIVATE) V8_WARN_UNUSED_RESULT static typename HandleType< String > static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType v8::internal::Object::ConvertToNumber ( Isolate * isolate,
HandleType< Object > input )
staticprivate

◆ ConvertToNumeric() [1/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Numeric >::MaybeType v8::internal::Object::ConvertToNumeric ( Isolate * isolate,
HandleType< Object > input )

Definition at line 351 of file objects.cc.

Here is the call graph for this function:

◆ ConvertToNumeric() [2/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Numeric >::MaybeType v8::internal::Object::ConvertToNumeric ( Isolate * isolate,
HandleType< Object > input )
staticprivate

◆ ConvertToPropertyKey() [1/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Object >::MaybeType v8::internal::Object::ConvertToPropertyKey ( Isolate * isolate,
HandleType< Object > value )

Definition at line 452 of file objects.cc.

Here is the call graph for this function:

◆ ConvertToPropertyKey() [2/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType v8::internal::Object::ConvertToPropertyKey ( Isolate * isolate,
HandleType< Object > value )
staticprivate

◆ ConvertToUint32() [1/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Number >::MaybeType v8::internal::Object::ConvertToUint32 ( Isolate * isolate,
HandleType< Object > input )

Definition at line 416 of file objects.cc.

Here is the call graph for this function:

◆ ConvertToUint32() [2/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType v8::internal::Object::ConvertToUint32 ( Isolate * isolate,
HandleType< Object > input )
staticprivate

◆ CreateListFromArrayLike()

MaybeDirectHandle< FixedArray > v8::internal::Object::CreateListFromArrayLike ( Isolate * isolate,
DirectHandle< Object > object,
ElementTypes element_types )
static

Definition at line 1176 of file objects.cc.

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

◆ Equals()

Maybe< bool > v8::internal::Object::Equals ( Isolate * isolate,
DirectHandle< Object > x,
DirectHandle< Object > y )
static

Definition at line 886 of file objects.cc.

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

◆ FilterKey()

bool v8::internal::Object::FilterKey ( Tagged< Object > obj,
PropertyFilter filter )
inlinestatic

Definition at line 740 of file objects-inl.h.

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

◆ FitsRepresentation()

bool v8::internal::Object::FitsRepresentation ( Tagged< Object > obj,
Representation representation,
bool allow_coercion = true )
inlinestatic

Definition at line 784 of file objects-inl.h.

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

◆ GetElement()

MaybeHandle< Object > v8::internal::Object::GetElement ( Isolate * isolate,
DirectHandle< JSAny > object,
uint32_t index )
inlinestatic

Definition at line 935 of file objects-inl.h.

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

◆ GetHash()

Tagged< Object > v8::internal::Object::GetHash ( Tagged< Object > obj)
inlinestatic

Definition at line 1872 of file objects-inl.h.

Here is the call graph for this function:

◆ GetLengthFromArrayLike()

MaybeDirectHandle< Object > v8::internal::Object::GetLengthFromArrayLike ( Isolate * isolate,
DirectHandle< JSReceiver > object )
static

Definition at line 1238 of file objects.cc.

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

◆ GetMethod()

MaybeDirectHandle< Object > v8::internal::Object::GetMethod ( Isolate * isolate,
DirectHandle< JSReceiver > receiver,
DirectHandle< Name > name )
static

Definition at line 1125 of file objects.cc.

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

◆ GetOrCreateHash()

Tagged< Smi > v8::internal::Object::GetOrCreateHash ( Tagged< Object > obj,
Isolate * isolate )
static

Definition at line 1696 of file objects.cc.

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

◆ GetProperty() [1/2]

MaybeHandle< Object > v8::internal::Object::GetProperty ( Isolate * isolate,
DirectHandle< JSAny > object,
DirectHandle< Name > name )
inlinestatic

Definition at line 927 of file objects-inl.h.

Here is the call graph for this function:

◆ GetProperty() [2/2]

MaybeHandle< Object > v8::internal::Object::GetProperty ( LookupIterator * it,
bool is_global_reference = false )
static

Definition at line 1248 of file objects.cc.

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

◆ GetPropertyOrElement() [1/2]

MaybeHandle< Object > v8::internal::Object::GetPropertyOrElement ( Isolate * isolate,
DirectHandle< JSAny > object,
DirectHandle< Name > name )
inlinestatic

Definition at line 1791 of file objects-inl.h.

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

◆ GetPropertyOrElement() [2/2]

MaybeHandle< Object > v8::internal::Object::GetPropertyOrElement ( Isolate * isolate,
DirectHandle< JSAny > object,
PropertyKey key )
inlinestatic

Definition at line 1797 of file objects-inl.h.

Here is the call graph for this function:

◆ GetPropertyWithAccessor()

MaybeHandle< JSAny > v8::internal::Object::GetPropertyWithAccessor ( LookupIterator * it)
static

Definition at line 1513 of file objects.cc.

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

◆ GetPropertyWithDefinedGetter()

MaybeHandle< JSAny > v8::internal::Object::GetPropertyWithDefinedGetter ( DirectHandle< JSAny > receiver,
DirectHandle< JSReceiver > getter )
static

Definition at line 1649 of file objects.cc.

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

◆ GetPrototypeChainRootMap()

Tagged< Map > v8::internal::Object::GetPrototypeChainRootMap ( Tagged< Object > obj,
Isolate * isolate )
staticprivate

Definition at line 1683 of file objects.cc.

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

◆ GetSimpleHash()

Tagged< Object > v8::internal::Object::GetSimpleHash ( Tagged< Object > object)
inlinestaticprivate

Definition at line 1822 of file objects-inl.h.

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

◆ GreaterThan()

Maybe< bool > v8::internal::Object::GreaterThan ( Isolate * isolate,
DirectHandle< Object > x,
DirectHandle< Object > y )
inlinestatic

Definition at line 1724 of file objects-inl.h.

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

◆ GreaterThanOrEqual()

Maybe< bool > v8::internal::Object::GreaterThanOrEqual ( Isolate * isolate,
DirectHandle< Object > x,
DirectHandle< Object > y )
inlinestatic

Definition at line 1741 of file objects-inl.h.

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

◆ HasValidElements()

bool v8::internal::Object::HasValidElements ( Tagged< Object > obj)
inlinestatic

Definition at line 733 of file objects-inl.h.

◆ InstanceOf()

MaybeHandle< Object > v8::internal::Object::InstanceOf ( Isolate * isolate,
DirectHandle< JSAny > object,
DirectHandle< JSAny > callable )
static

Definition at line 1085 of file objects.cc.

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

◆ IntegerValue() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
Maybe< double > v8::internal::Object::IntegerValue ( Isolate * isolate,
HandleType< T > input )

Definition at line 698 of file objects-inl.h.

Here is the call graph for this function:

◆ IntegerValue() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT Maybe< double > v8::internal::Object::IntegerValue ( Isolate * isolate,
HandleType< T > input )
inlinestatic
Here is the caller graph for this function:

◆ IsArray()

Maybe< bool > v8::internal::Object::IsArray ( DirectHandle< Object > object)
static

Definition at line 630 of file objects-inl.h.

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

◆ IsCodeLike()

bool v8::internal::Object::IsCodeLike ( Tagged< Object > obj,
Isolate * isolate )
static

Definition at line 1860 of file objects.cc.

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

◆ IterationHasObservableEffects()

bool v8::internal::Object::IterationHasObservableEffects ( Tagged< Object > obj)
static

Definition at line 1826 of file objects.cc.

Here is the call graph for this function:

◆ LessThan()

Maybe< bool > v8::internal::Object::LessThan ( Isolate * isolate,
DirectHandle< Object > x,
DirectHandle< Object > y )
inlinestatic

Definition at line 1758 of file objects-inl.h.

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

◆ LessThanOrEqual()

Maybe< bool > v8::internal::Object::LessThanOrEqual ( Isolate * isolate,
DirectHandle< Object > x,
DirectHandle< Object > y )
inlinestatic

Definition at line 1775 of file objects-inl.h.

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

◆ NewStorageFor()

Handle< UnionOf< JSAny, Hole > > v8::internal::Object::NewStorageFor ( Isolate * isolate,
Handle< UnionOf< JSAny, Hole > > object,
Representation representation )
static

Definition at line 240 of file objects.cc.

Here is the call graph for this function:

◆ NoSideEffectsToMaybeString()

MaybeDirectHandle< String > v8::internal::Object::NoSideEffectsToMaybeString ( Isolate * isolate,
DirectHandle< Object > input )
static

Definition at line 584 of file objects.cc.

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

◆ NoSideEffectsToString()

DirectHandle< String > v8::internal::Object::NoSideEffectsToString ( Isolate * isolate,
DirectHandle< Object > input )
static

Definition at line 687 of file objects.cc.

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

◆ NumberValue() [1/4]

double v8::internal::Object::NumberValue ( Tagged< HeapNumber > obj)
inlinestatic

Definition at line 688 of file objects-inl.h.

Here is the call graph for this function:

◆ NumberValue() [2/4]

double v8::internal::Object::NumberValue ( Tagged< Number > obj)
inlinestatic

Definition at line 678 of file objects-inl.h.

Here is the call graph for this function:

◆ NumberValue() [3/4]

double v8::internal::Object::NumberValue ( Tagged< Object > obj)
inlinestatic

Definition at line 685 of file objects-inl.h.

Here is the call graph for this function:

◆ NumberValue() [4/4]

double v8::internal::Object::NumberValue ( Tagged< Smi > obj)
inlinestatic

Definition at line 691 of file objects-inl.h.

Here is the call graph for this function:

◆ OptimalElementsKind()

ElementsKind v8::internal::Object::OptimalElementsKind ( Tagged< Object > obj,
PtrComprCageBase cage_base )
inlinestatic

Definition at line 771 of file objects-inl.h.

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

◆ OptimalRepresentation()

Representation v8::internal::Object::OptimalRepresentation ( Tagged< Object > obj,
PtrComprCageBase cage_base )
inlinestatic

Definition at line 756 of file objects-inl.h.

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

◆ OptimalType()

DirectHandle< FieldType > v8::internal::Object::OptimalType ( Tagged< Object > obj,
Isolate * isolate,
Representation representation )
static

Definition at line 224 of file objects.cc.

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

◆ OrdinaryHasInstance()

MaybeHandle< Object > v8::internal::Object::OrdinaryHasInstance ( Isolate * isolate,
DirectHandle< JSAny > callable,
DirectHandle< JSAny > object )
static

Definition at line 1045 of file objects.cc.

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

◆ RedefineIncompatibleProperty()

Maybe< bool > v8::internal::Object::RedefineIncompatibleProperty ( Isolate * isolate,
DirectHandle< Object > name,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw )
static

Definition at line 2597 of file objects.cc.

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

◆ SameNumberValue()

bool v8::internal::Object::SameNumberValue ( double number1,
double number2 )
inlinestatic

Definition at line 708 of file objects-inl.h.

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

◆ SameValue()

bool v8::internal::Object::SameValue ( Tagged< Object > obj,
Tagged< Object > other )
static

Definition at line 1706 of file objects.cc.

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

◆ SameValueZero()

bool v8::internal::Object::SameValueZero ( Tagged< Object > obj,
Tagged< Object > other )
static

Definition at line 1723 of file objects.cc.

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

◆ SetDataProperty()

Maybe< bool > v8::internal::Object::SetDataProperty ( LookupIterator * it,
DirectHandle< Object > value )
static

Definition at line 2604 of file objects.cc.

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

◆ SetElement()

MaybeDirectHandle< Object > v8::internal::Object::SetElement ( Isolate * isolate,
DirectHandle< JSAny > object,
uint32_t index,
DirectHandle< Object > value,
ShouldThrow should_throw )
inlinestatic

Definition at line 943 of file objects-inl.h.

Here is the call graph for this function:

◆ SetProperty() [1/2]

MaybeHandle< Object > v8::internal::Object::SetProperty ( Isolate * isolate,
DirectHandle< JSAny > object,
DirectHandle< Name > name,
DirectHandle< Object > value,
StoreOrigin store_origin = StoreOrigin::kMaybeKeyed,
Maybe< ShouldThrow > should_throw = Nothing<ShouldThrow>() )
static

Definition at line 2256 of file objects.cc.

Here is the call graph for this function:

◆ SetProperty() [2/2]

Maybe< bool > v8::internal::Object::SetProperty ( LookupIterator * it,
DirectHandle< Object > value,
StoreOrigin store_origin,
Maybe< ShouldThrow > should_throw = Nothing<ShouldThrow>() )
static

Definition at line 2439 of file objects.cc.

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

◆ SetPropertyInternal()

Maybe< bool > v8::internal::Object::SetPropertyInternal ( LookupIterator * it,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw,
StoreOrigin store_origin,
bool * found )
staticprivate

Definition at line 2267 of file objects.cc.

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

◆ SetPropertyOrElement() [1/2]

MaybeDirectHandle< Object > v8::internal::Object::SetPropertyOrElement ( Isolate * isolate,
DirectHandle< JSAny > object,
DirectHandle< Name > name,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw = Nothing<ShouldThrow>(),
StoreOrigin store_origin = StoreOrigin::kMaybeKeyed )
inlinestatic

Definition at line 1804 of file objects-inl.h.

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

◆ SetPropertyOrElement() [2/2]

MaybeDirectHandle< Object > v8::internal::Object::SetPropertyOrElement ( Isolate * isolate,
DirectHandle< JSAny > object,
PropertyKey key,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw = Nothing<ShouldThrow>(),
StoreOrigin store_origin = StoreOrigin::kMaybeKeyed )
inlinestatic

Definition at line 1812 of file objects-inl.h.

Here is the call graph for this function:

◆ SetPropertyWithAccessor()

Maybe< bool > v8::internal::Object::SetPropertyWithAccessor ( LookupIterator * it,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw )
static

Definition at line 1578 of file objects.cc.

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

◆ SetPropertyWithDefinedSetter()

Maybe< bool > v8::internal::Object::SetPropertyWithDefinedSetter ( DirectHandle< JSAny > receiver,
DirectHandle< JSReceiver > setter,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw )
static

Definition at line 1670 of file objects.cc.

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

◆ SetSuperProperty()

Maybe< bool > v8::internal::Object::SetSuperProperty ( LookupIterator * it,
DirectHandle< Object > value,
StoreOrigin store_origin,
Maybe< ShouldThrow > should_throw = Nothing<ShouldThrow>() )
static

Definition at line 2455 of file objects.cc.

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

◆ Share()

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType v8::internal::Object::Share ( Isolate * isolate,
HandleType< T > value,
ShouldThrow throw_if_cannot_be_shared )
inlinestatic

Definition at line 1933 of file objects-inl.h.

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

◆ ShareSlow()

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
template V8_EXPORT_PRIVATE MaybeIndirectHandle< Object > v8::internal::Object::ShareSlow ( Isolate * isolate,
HandleType< HeapObject > value,
ShouldThrow throw_if_cannot_be_shared )
static

Definition at line 2765 of file objects.cc.

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

◆ SpeciesConstructor()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > v8::internal::Object::SpeciesConstructor ( Isolate * isolate,
DirectHandle< JSReceiver > recv,
DirectHandle< JSFunction > default_ctor )
static

Definition at line 1791 of file objects.cc.

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

◆ StrictEquals()

bool v8::internal::Object::StrictEquals ( Tagged< Object > obj,
Tagged< Object > that )
static

Definition at line 986 of file objects.cc.

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

◆ ToArrayIndex()

bool v8::internal::Object::ToArrayIndex ( Tagged< Object > obj,
uint32_t * index )
inlinestatic

Definition at line 1653 of file objects-inl.h.

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

◆ ToArrayLength()

bool v8::internal::Object::ToArrayLength ( Tagged< Object > obj,
uint32_t * index )
inlinestatic

Definition at line 1648 of file objects-inl.h.

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

◆ ToBoolean()

Tagged< Object > v8::internal::Object::ToBoolean ( Tagged< Object > obj,
Isolate * isolate )
static

Definition at line 791 of file objects.cc.

Here is the call graph for this function:

◆ ToIndex() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType v8::internal::Object::ToIndex ( Isolate * isolate,
HandleType< T > input,
MessageTemplate error_index )

Definition at line 921 of file objects-inl.h.

Here is the call graph for this function:

◆ ToIndex() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType v8::internal::Object::ToIndex ( Isolate * isolate,
HandleType< T > input,
MessageTemplate error_index )
inlinestatic
Here is the caller graph for this function:

◆ ToInt32() [1/3]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType v8::internal::Object::ToInt32 ( Isolate * isolate,
HandleType< T > input )

Definition at line 881 of file objects-inl.h.

Here is the call graph for this function:

◆ ToInt32() [2/3]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType v8::internal::Object::ToInt32 ( Isolate * isolate,
HandleType< T > input )
inlinestatic

◆ ToInt32() [3/3]

bool v8::internal::Object::ToInt32 ( Tagged< Object > obj,
int32_t * value )
static

Definition at line 1438 of file objects.cc.

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

◆ ToInteger() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType v8::internal::Object::ToInteger ( Isolate * isolate,
HandleType< T > input )

Definition at line 872 of file objects-inl.h.

Here is the call graph for this function:

◆ ToInteger() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType v8::internal::Object::ToInteger ( Isolate * isolate,
HandleType< T > input )
inlinestatic
Here is the caller graph for this function:

◆ ToIntegerIndex()

bool v8::internal::Object::ToIntegerIndex ( Tagged< Object > obj,
size_t * index )
inlinestatic

Definition at line 1658 of file objects-inl.h.

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

◆ ToLength()

MaybeHandle< Object > v8::internal::Object::ToLength ( Isolate * isolate,
DirectHandle< Object > input )
inlinestatic

Definition at line 909 of file objects-inl.h.

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

◆ ToName() [1/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
HandleType< Name >::MaybeType v8::internal::Object::ToName ( Isolate * isolate,
HandleType< Object > input )

Definition at line 825 of file objects-inl.h.

Here is the call graph for this function:

◆ ToName() [2/2]

template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<Object>, DirectHandle<Object>>)
static V8_WARN_UNUSED_RESULT HandleType< Name >::MaybeType v8::internal::Object::ToName ( Isolate * isolate,
HandleType< Object > input )
inlinestatic
Here is the caller graph for this function:

◆ ToNumber() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType v8::internal::Object::ToNumber ( Isolate * isolate,
HandleType< T > input )

Definition at line 854 of file objects-inl.h.

Here is the call graph for this function:

◆ ToNumber() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType v8::internal::Object::ToNumber ( Isolate * isolate,
HandleType< T > input )
inlinestatic
Here is the caller graph for this function:

◆ ToNumeric() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType v8::internal::Object::ToNumeric ( Isolate * isolate,
HandleType< T > input )

Definition at line 863 of file objects-inl.h.

Here is the call graph for this function:

◆ ToNumeric() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType v8::internal::Object::ToNumeric ( Isolate * isolate,
HandleType< T > input )
inlinestatic
Here is the caller graph for this function:

◆ ToObject() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< JSReceiver >::MaybeType v8::internal::Object::ToObject ( Isolate * isolate,
HandleType< T > object,
const char * method_name )

Definition at line 817 of file objects-inl.h.

Here is the call graph for this function:

◆ ToObject() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< JSReceiver >::MaybeType v8::internal::Object::ToObject ( Isolate * isolate,
HandleType< T > object,
const char * method_name = nullptr )
inlinestatic
Here is the caller graph for this function:

◆ ToObjectImpl()

MaybeHandle< JSReceiver > v8::internal::Object::ToObjectImpl ( Isolate * isolate,
DirectHandle< Object > object,
const char * method_name = nullptr )
static

Definition at line 273 of file objects.cc.

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

◆ ToPrimitive() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType v8::internal::Object::ToPrimitive ( Isolate * isolate,
HandleType< T > input,
ToPrimitiveHint hint )

Definition at line 845 of file objects-inl.h.

Here is the call graph for this function:

◆ ToPrimitive() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType v8::internal::Object::ToPrimitive ( Isolate * isolate,
HandleType< T > input,
ToPrimitiveHint hint = ToPrimitiveHint::kDefault )
inlinestatic
Here is the caller graph for this function:

◆ ToPropertyKey() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Object >::MaybeType v8::internal::Object::ToPropertyKey ( Isolate * isolate,
HandleType< T > value )

Definition at line 836 of file objects-inl.h.

Here is the call graph for this function:

◆ ToPropertyKey() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType v8::internal::Object::ToPropertyKey ( Isolate * isolate,
HandleType< T > value )
inlinestatic
Here is the caller graph for this function:

◆ ToString() [1/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< String >::MaybeType v8::internal::Object::ToString ( Isolate * isolate,
HandleType< T > input )

Definition at line 902 of file objects-inl.h.

Here is the call graph for this function:

◆ ToString() [2/2]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< String >::MaybeType v8::internal::Object::ToString ( Isolate * isolate,
HandleType< T > input )
inlinestatic

◆ ToUint32() [1/3]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
HandleType< Number >::MaybeType v8::internal::Object::ToUint32 ( Isolate * isolate,
HandleType< T > input )

Definition at line 890 of file objects-inl.h.

Here is the call graph for this function:

◆ ToUint32() [2/3]

template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType v8::internal::Object::ToUint32 ( Isolate * isolate,
HandleType< T > input )
inlinestatic

◆ ToUint32() [3/3]

bool v8::internal::Object::ToUint32 ( Tagged< Object > obj,
uint32_t * value )
inlinestatic

Definition at line 800 of file objects-inl.h.

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

◆ TransitionAndWriteDataProperty()

Maybe< bool > v8::internal::Object::TransitionAndWriteDataProperty ( LookupIterator * it,
DirectHandle< Object > value,
PropertyAttributes attributes,
Maybe< ShouldThrow > should_throw,
StoreOrigin store_origin )
static

Definition at line 2737 of file objects.cc.

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

◆ TypeOf()

Handle< String > v8::internal::Object::TypeOf ( Isolate * isolate,
DirectHandle< Object > object )
static

Definition at line 1001 of file objects.cc.

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

◆ WrapForRead()

template<AllocationType allocation_type, typename IsolateT >
Handle< JSAny > v8::internal::Object::WrapForRead ( IsolateT * isolate,
Handle< JSAny > object,
Representation representation )
static

Definition at line 257 of file objects.cc.

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

◆ WriteToReadOnlyProperty() [1/2]

Maybe< bool > v8::internal::Object::WriteToReadOnlyProperty ( Isolate * isolate,
DirectHandle< JSAny > receiver,
DirectHandle< Object > name,
DirectHandle< Object > value,
ShouldThrow should_throw )
static

Definition at line 2587 of file objects.cc.

Here is the call graph for this function:

◆ WriteToReadOnlyProperty() [2/2]

Maybe< bool > v8::internal::Object::WriteToReadOnlyProperty ( LookupIterator * it,
DirectHandle< Object > value,
Maybe< ShouldThrow > should_throw )
static

Definition at line 2570 of file objects.cc.

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

Friends And Related Symbol Documentation

◆ CompressedObjectSlot

friend class CompressedObjectSlot
friend

Definition at line 565 of file objects.h.

◆ FullObjectSlot

friend class FullObjectSlot
friend

Definition at line 566 of file objects.h.

◆ LookupIterator

friend class LookupIterator
friend

Definition at line 567 of file objects.h.

◆ StringStream

friend class StringStream
friend

Definition at line 568 of file objects.h.

Member Data Documentation

◆ kHeaderSize

const int v8::internal::Object::kHeaderSize = 0
static

Definition at line 504 of file objects.h.


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