v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OutputStreamWriter Class Reference

Public Member Functions

 OutputStreamWriter (v8::OutputStream *stream)
 
bool aborted ()
 
void AddCharacter (char c)
 
void AddString (const char *s)
 
void AddSubstring (const char *s, int n)
 
void AddNumber (unsigned n)
 
void Finalize ()
 

Detailed Description

Definition at line 3178 of file profile-generator.cc.

Constructor & Destructor Documentation

OutputStreamWriter ( v8::OutputStream stream)
inlineexplicit

Definition at line 3180 of file profile-generator.cc.

References ASSERT.

Member Function Documentation

bool aborted ( )
inline

Definition at line 3188 of file profile-generator.cc.

void AddCharacter ( char  c)
inline

Definition at line 3189 of file profile-generator.cc.

References ASSERT.

void AddNumber ( unsigned  n)
inline

Definition at line 3212 of file profile-generator.cc.

void AddString ( const char *  s)
inline
void AddSubstring ( const char *  s,
int  n 
)
inline

Definition at line 3198 of file profile-generator.cc.

References ASSERT, v8::internal::Min(), and Vector< T >::start().

Referenced by OutputStreamWriter::AddString().

void Finalize ( )
inline

Definition at line 3213 of file profile-generator.cc.

References ASSERT, and OutputStream::EndOfStream().


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