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

#include <string.h>

Collaboration diagram for v8::internal::StringShape:

Public Member Functions

V8_INLINE StringShape (const Tagged< String > s)
 
V8_INLINE StringShape (const Tagged< String > s, PtrComprCageBase cage_base)
 
V8_INLINE StringShape (Tagged< Map > s)
 
V8_INLINE StringShape (InstanceType t)
 
V8_INLINE bool IsSequential () const
 
V8_INLINE bool IsExternal () const
 
V8_INLINE bool IsCons () const
 
V8_INLINE bool IsSliced () const
 
V8_INLINE bool IsThin () const
 
V8_INLINE bool IsDirect () const
 
V8_INLINE bool IsIndirect () const
 
V8_INLINE bool IsUncachedExternal () const
 
V8_INLINE bool IsExternalOneByte () const
 
V8_INLINE bool IsExternalTwoByte () const
 
V8_INLINE bool IsSequentialOneByte () const
 
V8_INLINE bool IsSequentialTwoByte () const
 
V8_INLINE bool IsInternalized () const
 
V8_INLINE bool IsShared () const
 
V8_INLINE StringRepresentationTag representation_tag () const
 
V8_INLINE uint32_t encoding_tag () const
 
V8_INLINE uint32_t representation_and_encoding_tag () const
 
V8_INLINE uint32_t representation_encoding_and_shared_tag () const
 
void invalidate ()
 
bool operator== (const StringShape &that) const
 

Private Member Functions

void set_valid ()
 

Private Attributes

uint32_t type_
 

Detailed Description

Definition at line 58 of file string.h.

Constructor & Destructor Documentation

◆ StringShape() [1/4]

v8::internal::StringShape::StringShape ( const Tagged< String > s)
explicit

Definition at line 141 of file string-inl.h.

Here is the call graph for this function:

◆ StringShape() [2/4]

v8::internal::StringShape::StringShape ( const Tagged< String > s,
PtrComprCageBase cage_base )
explicit

Definition at line 147 of file string-inl.h.

Here is the call graph for this function:

◆ StringShape() [3/4]

v8::internal::StringShape::StringShape ( Tagged< Map > s)
explicit

Definition at line 153 of file string-inl.h.

Here is the call graph for this function:

◆ StringShape() [4/4]

v8::internal::StringShape::StringShape ( InstanceType t)
explicit

Definition at line 158 of file string-inl.h.

Here is the call graph for this function:

Member Function Documentation

◆ encoding_tag()

uint32_t v8::internal::StringShape::encoding_tag ( ) const

Definition at line 212 of file string-inl.h.

Here is the caller graph for this function:

◆ invalidate()

void v8::internal::StringShape::invalidate ( )
inline

Definition at line 88 of file string.h.

◆ IsCons()

bool v8::internal::StringShape::IsCons ( ) const

Definition at line 170 of file string-inl.h.

Here is the caller graph for this function:

◆ IsDirect()

bool v8::internal::StringShape::IsDirect ( ) const

Definition at line 186 of file string-inl.h.

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

◆ IsExternal()

bool v8::internal::StringShape::IsExternal ( ) const

Definition at line 188 of file string-inl.h.

Here is the caller graph for this function:

◆ IsExternalOneByte()

bool v8::internal::StringShape::IsExternalOneByte ( ) const

Definition at line 238 of file string-inl.h.

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

◆ IsExternalTwoByte()

bool v8::internal::StringShape::IsExternalTwoByte ( ) const

Definition at line 247 of file string-inl.h.

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

◆ IsIndirect()

bool v8::internal::StringShape::IsIndirect ( ) const

Definition at line 182 of file string-inl.h.

Here is the caller graph for this function:

◆ IsInternalized()

bool v8::internal::StringShape::IsInternalized ( ) const

Definition at line 163 of file string-inl.h.

Here is the caller graph for this function:

◆ IsSequential()

bool v8::internal::StringShape::IsSequential ( ) const

Definition at line 192 of file string-inl.h.

Here is the caller graph for this function:

◆ IsSequentialOneByte()

bool v8::internal::StringShape::IsSequentialOneByte ( ) const

Definition at line 230 of file string-inl.h.

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

◆ IsSequentialTwoByte()

bool v8::internal::StringShape::IsSequentialTwoByte ( ) const

Definition at line 234 of file string-inl.h.

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

◆ IsShared()

bool v8::internal::StringShape::IsShared ( ) const

Definition at line 200 of file string-inl.h.

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

◆ IsSliced()

bool v8::internal::StringShape::IsSliced ( ) const

Definition at line 178 of file string-inl.h.

Here is the caller graph for this function:

◆ IsThin()

bool v8::internal::StringShape::IsThin ( ) const

Definition at line 174 of file string-inl.h.

Here is the caller graph for this function:

◆ IsUncachedExternal()

bool v8::internal::StringShape::IsUncachedExternal ( ) const

Definition at line 196 of file string-inl.h.

Here is the caller graph for this function:

◆ operator==()

bool v8::internal::StringShape::operator== ( const StringShape & that) const
inline

Definition at line 91 of file string.h.

◆ representation_and_encoding_tag()

uint32_t v8::internal::StringShape::representation_and_encoding_tag ( ) const

Definition at line 216 of file string-inl.h.

Here is the caller graph for this function:

◆ representation_encoding_and_shared_tag()

uint32_t v8::internal::StringShape::representation_encoding_and_shared_tag ( ) const

Definition at line 220 of file string-inl.h.

◆ representation_tag()

StringRepresentationTag v8::internal::StringShape::representation_tag ( ) const

Definition at line 207 of file string-inl.h.

◆ set_valid()

void v8::internal::StringShape::set_valid ( )
inlineprivate

Definition at line 101 of file string.h.

Here is the caller graph for this function:

Member Data Documentation

◆ type_

uint32_t v8::internal::StringShape::type_
private

Definition at line 96 of file string.h.


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