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

Public Member Functions

 SimpleStringBuilder (size_t size)
 
 SimpleStringBuilder (char *buffer, size_t size)
 
 ~SimpleStringBuilder ()
 
size_t position () const
 
V8_INLINE void AddCharacter (char c)
 
V8_INLINE void AddString (const char *s, size_t len)
 
template<size_t N>
V8_INLINE void AddStringLiteral (const char(&s)[N])
 
V8_INLINE void AddSubstring (const char *s, size_t n)
 
V8_INLINE void AddPadding (char c, int count)
 
void AddDecimalInteger (int value)
 
char * Finalize ()
 

Private Member Functions

bool is_finalized () const
 
 DISALLOW_IMPLICIT_CONSTRUCTORS (SimpleStringBuilder)
 

Private Attributes

base::Vector< char > buffer_
 
char * cursor_
 

Detailed Description

Definition at line 43 of file conversions.cc.

Constructor & Destructor Documentation

◆ SimpleStringBuilder() [1/2]

v8::internal::SimpleStringBuilder::SimpleStringBuilder ( size_t size)
inlineexplicit

Definition at line 48 of file conversions.cc.

Here is the call graph for this function:

◆ SimpleStringBuilder() [2/2]

v8::internal::SimpleStringBuilder::SimpleStringBuilder ( char * buffer,
size_t size )
inline

Definition at line 53 of file conversions.cc.

◆ ~SimpleStringBuilder()

v8::internal::SimpleStringBuilder::~SimpleStringBuilder ( )
inline

Definition at line 56 of file conversions.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AddCharacter()

V8_INLINE void v8::internal::SimpleStringBuilder::AddCharacter ( char c)
inline

Definition at line 69 of file conversions.cc.

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

◆ AddDecimalInteger()

void v8::internal::SimpleStringBuilder::AddDecimalInteger ( int value)
inline

Definition at line 107 of file conversions.cc.

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

◆ AddPadding()

V8_INLINE void v8::internal::SimpleStringBuilder::AddPadding ( char c,
int count )
inline

Definition at line 100 of file conversions.cc.

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

◆ AddString()

V8_INLINE void v8::internal::SimpleStringBuilder::AddString ( const char * s,
size_t len )
inline

Definition at line 77 of file conversions.cc.

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

◆ AddStringLiteral()

template<size_t N>
V8_INLINE void v8::internal::SimpleStringBuilder::AddStringLiteral ( const char(&) s[N])
inline

Definition at line 84 of file conversions.cc.

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

◆ AddSubstring()

V8_INLINE void v8::internal::SimpleStringBuilder::AddSubstring ( const char * s,
size_t n )
inline

Definition at line 90 of file conversions.cc.

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

◆ DISALLOW_IMPLICIT_CONSTRUCTORS()

v8::internal::SimpleStringBuilder::DISALLOW_IMPLICIT_CONSTRUCTORS ( SimpleStringBuilder )
private

◆ Finalize()

char * v8::internal::SimpleStringBuilder::Finalize ( )
inline

Definition at line 126 of file conversions.cc.

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

◆ is_finalized()

bool v8::internal::SimpleStringBuilder::is_finalized ( ) const
inlineprivate

Definition at line 146 of file conversions.cc.

Here is the caller graph for this function:

◆ position()

size_t v8::internal::SimpleStringBuilder::position ( ) const
inline

Definition at line 61 of file conversions.cc.

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

Member Data Documentation

◆ buffer_

base::Vector<char> v8::internal::SimpleStringBuilder::buffer_
private

Definition at line 143 of file conversions.cc.

◆ cursor_

char* v8::internal::SimpleStringBuilder::cursor_
private

Definition at line 144 of file conversions.cc.


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