V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::StringStream Class Referencefinal

Public Types

enum  ObjectPrintMode { kPrintObjectConcise, kPrintObjectVerbose }
 

Public Member Functions

 StringStream (StringAllocator *allocator, ObjectPrintMode object_print_mode=kPrintObjectVerbose)
 
bool Put (char c)
 
bool Put (String str)
 
bool Put (String str, int start, int end)
 
void Add (const char *format)
 
void Add (Vector< const char > format)
 
template<typename... Args>
void Add (const char *format, Args... args)
 
template<typename... Args>
void Add (Vector< const char > format, Args... args)
 
void OutputToFile (FILE *out)
 
void OutputToStdOut ()
 
void Log (Isolate *isolate)
 
Handle< StringToString (Isolate *isolate)
 
std::unique_ptr< char[]> ToCString () const
 
int length () const
 
void PrintName (Object *o)
 
void PrintFixedArray (FixedArray array, unsigned int limit)
 
void PrintByteArray (ByteArray ba)
 
void PrintUsingMap (JSObject *js_object)
 
void PrintPrototype (JSFunction *fun, Object *receiver)
 
void PrintSecurityTokenIfChanged (JSFunction *function)
 
void PrintFunction (JSFunction *function, Object *receiver, Code *code)
 
void Reset ()
 
void PrintMentionedObjectCache (Isolate *isolate)
 

Static Public Member Functions

static void ClearMentionedObjectCache (Isolate *isolate)
 

Static Public Attributes

static const int kInitialCapacity = 16
 

Detailed Description

Definition at line 59 of file string-stream.h.


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