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

#include <ast-value-factory.h>

Inheritance diagram for v8::internal::AstConsString:
Collaboration diagram for v8::internal::AstConsString:

Classes

struct  Segment
 

Public Member Functions

AstConsStringAddString (Zone *zone, const AstRawString *s)
 
bool IsEmpty () const
 
template<typename IsolateT >
IndirectHandle< StringGetString (IsolateT *isolate)
 
template<typename IsolateT >
Handle< StringAllocateFlat (IsolateT *isolate) const
 
std::forward_list< const AstRawString * > ToRawStrings () const
 
const AstRawStringlast () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Member Functions

 AstConsString ()
 
template<typename IsolateT >
Handle< StringAllocate (IsolateT *isolate) const
 

Private Attributes

friend Zone
 
IndirectHandle< Stringstring_
 
Segment segment_
 

Friends

class AstValueFactory
 

Detailed Description

Definition at line 150 of file ast-value-factory.h.

Constructor & Destructor Documentation

◆ AstConsString()

v8::internal::AstConsString::AstConsString ( )
inlineprivate

Definition at line 190 of file ast-value-factory.h.

Member Function Documentation

◆ AddString()

AstConsString * v8::internal::AstConsString::AddString ( Zone * zone,
const AstRawString * s )
inline

Definition at line 152 of file ast-value-factory.h.

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

◆ Allocate()

template<typename IsolateT >
Handle< String > v8::internal::AstConsString::Allocate ( IsolateT * isolate) const
private

Definition at line 190 of file ast-value-factory.cc.

Here is the call graph for this function:

◆ AllocateFlat()

template<typename IsolateT >
Handle< String > v8::internal::AstConsString::AllocateFlat ( IsolateT * isolate) const
Here is the caller graph for this function:

◆ GetString()

template<typename IsolateT >
IndirectHandle< String > v8::internal::AstConsString::GetString ( IsolateT * isolate)
inline

Definition at line 171 of file ast-value-factory.h.

Here is the caller graph for this function:

◆ IsEmpty()

bool v8::internal::AstConsString::IsEmpty ( ) const
inline

Definition at line 164 of file ast-value-factory.h.

Here is the caller graph for this function:

◆ last()

const AstRawString * v8::internal::AstConsString::last ( ) const
inline

Definition at line 184 of file ast-value-factory.h.

Here is the caller graph for this function:

◆ ToRawStrings()

std::forward_list< const AstRawString * > v8::internal::AstConsString::ToRawStrings ( ) const
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ AstValueFactory

friend class AstValueFactory
friend

Definition at line 187 of file ast-value-factory.h.

Member Data Documentation

◆ segment_

Segment v8::internal::AstConsString::segment_
private

Definition at line 208 of file ast-value-factory.h.

◆ string_

IndirectHandle<String> v8::internal::AstConsString::string_
private

Definition at line 196 of file ast-value-factory.h.

◆ Zone

friend v8::internal::AstConsString::Zone
private

Definition at line 188 of file ast-value-factory.h.


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