V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::HeapObjectReference Class Reference
Inheritance diagram for v8::internal::HeapObjectReference:
v8::internal::MaybeObject

Public Member Functions

 HeapObjectReference (Address address)
 
 HeapObjectReference (Object *object)
 
- Public Member Functions inherited from v8::internal::MaybeObject
 MaybeObject (Address ptr)
 
bool operator== (const MaybeObject &other) const
 
bool operator!= (const MaybeObject &other) const
 
Address ptr () const
 
MaybeObjectoperator-> ()
 
const MaybeObjectoperator-> () const
 
bool IsSmi () const
 
bool ToSmi (Smi *value)
 
Smi ToSmi () const
 
bool IsCleared () const
 
bool IsStrongOrWeak () const
 
bool IsStrong () const
 
bool GetHeapObjectIfStrong (HeapObject **result) const
 
HeapObjectGetHeapObjectAssumeStrong () const
 
bool IsWeak () const
 
bool IsWeakOrCleared () const
 
bool GetHeapObjectIfWeak (HeapObject **result) const
 
HeapObjectGetHeapObjectAssumeWeak () const
 
bool GetHeapObject (HeapObject **result) const
 
bool GetHeapObject (HeapObject **result, HeapObjectReferenceType *reference_type) const
 
HeapObjectGetHeapObject () const
 
ObjectGetHeapObjectOrSmi () const
 
bool IsObject () const
 
template<typename T , typename = typename std::enable_if< std::is_base_of<Object, T>::value>::type>
Tcast () const
 
template<typename T , typename = typename std::enable_if< std::is_base_of<ObjectPtr, T>::value>::type>
T cast () const
 
void ShortPrint (FILE *out=stdout)
 
void ShortPrint (StringStream *accumulator)
 
void ShortPrint (std::ostream &os)
 
void Print ()
 
void Print (std::ostream &os)
 

Static Public Member Functions

static HeapObjectReference Strong (Object *object)
 
static HeapObjectReference Weak (Object *object)
 
static V8_INLINE HeapObjectReference ClearedValue (Isolate *isolate)
 
static V8_INLINE void Update (HeapObjectSlot slot, HeapObject *value)
 
- Static Public Member Functions inherited from v8::internal::MaybeObject
static MaybeObject FromSmi (Smi smi)
 
static MaybeObject FromObject (Object *object)
 
static MaybeObject FromObject (ObjectPtr object)
 
static MaybeObject MakeWeak (MaybeObject object)
 

Detailed Description

Definition at line 142 of file maybe-object.h.


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