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

Public Member Functions

 CircularStructureMessageBuilder (Isolate *isolate)
 
void AppendStartLine (DirectHandle< Object > start_object)
 
void AppendNormalLine (DirectHandle< Object > key, DirectHandle< Object > object)
 
void AppendClosingLine (DirectHandle< Object > closing_key)
 
void AppendEllipsis ()
 
MaybeDirectHandle< StringFinish ()
 

Private Member Functions

void AppendConstructorName (DirectHandle< Object > object)
 
void AppendKey (DirectHandle< Object > key)
 
void AppendSmi (Tagged< Smi > smi)
 

Private Attributes

IncrementalStringBuilder builder_
 

Static Private Attributes

static constexpr const char * kStartPrefix = "\n --> "
 
static constexpr const char * kEndPrefix = "\n --- "
 
static constexpr const char * kLinePrefix = "\n | "
 

Detailed Description

Definition at line 798 of file json-stringifier.cc.

Constructor & Destructor Documentation

◆ CircularStructureMessageBuilder()

v8::internal::CircularStructureMessageBuilder::CircularStructureMessageBuilder ( Isolate * isolate)
inlineexplicit

Definition at line 800 of file json-stringifier.cc.

Member Function Documentation

◆ AppendClosingLine()

void v8::internal::CircularStructureMessageBuilder::AppendClosingLine ( DirectHandle< Object > closing_key)
inline

Definition at line 816 of file json-stringifier.cc.

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

◆ AppendConstructorName()

void v8::internal::CircularStructureMessageBuilder::AppendConstructorName ( DirectHandle< Object > object)
inlineprivate

Definition at line 830 of file json-stringifier.cc.

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

◆ AppendEllipsis()

void v8::internal::CircularStructureMessageBuilder::AppendEllipsis ( )
inline

Definition at line 822 of file json-stringifier.cc.

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

◆ AppendKey()

void v8::internal::CircularStructureMessageBuilder::AppendKey ( DirectHandle< Object > key)
inlineprivate

Definition at line 839 of file json-stringifier.cc.

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

◆ AppendNormalLine()

void v8::internal::CircularStructureMessageBuilder::AppendNormalLine ( DirectHandle< Object > key,
DirectHandle< Object > object )
inline

Definition at line 809 of file json-stringifier.cc.

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

◆ AppendSmi()

void v8::internal::CircularStructureMessageBuilder::AppendSmi ( Tagged< Smi > smi)
inlineprivate

Definition at line 857 of file json-stringifier.cc.

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

◆ AppendStartLine()

void v8::internal::CircularStructureMessageBuilder::AppendStartLine ( DirectHandle< Object > start_object)
inline

Definition at line 803 of file json-stringifier.cc.

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

◆ Finish()

MaybeDirectHandle< String > v8::internal::CircularStructureMessageBuilder::Finish ( )
inline

Definition at line 827 of file json-stringifier.cc.

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

Member Data Documentation

◆ builder_

IncrementalStringBuilder v8::internal::CircularStructureMessageBuilder::builder_
private

Definition at line 867 of file json-stringifier.cc.

◆ kEndPrefix

const char* v8::internal::CircularStructureMessageBuilder::kEndPrefix = "\n --- "
staticconstexprprivate

Definition at line 869 of file json-stringifier.cc.

◆ kLinePrefix

const char* v8::internal::CircularStructureMessageBuilder::kLinePrefix = "\n | "
staticconstexprprivate

Definition at line 870 of file json-stringifier.cc.

◆ kStartPrefix

const char* v8::internal::CircularStructureMessageBuilder::kStartPrefix = "\n --> "
staticconstexprprivate

Definition at line 868 of file json-stringifier.cc.


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