v8  3.11.10(node0.8.26)
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 3157 of file profile-generator.cc.

Constructor & Destructor Documentation

OutputStreamWriter ( v8::OutputStream stream)
inlineexplicit

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

References ASSERT.

Member Function Documentation

bool aborted ( )
inline

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

void AddCharacter ( char  c)
inline

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

References ASSERT.

void AddNumber ( unsigned  n)
inline

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

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

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

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

Referenced by OutputStreamWriter::AddString().

void Finalize ( )
inline

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

References ASSERT, and OutputStream::EndOfStream().


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