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

#include <objects.h>

Public Member Functions

 StringCharacterStream (String *string, ConsStringIteratorOp *op, unsigned offset=0)
 
uint16_t GetNext ()
 
bool HasMore ()
 
void Reset (String *string, unsigned offset=0)
 
void VisitOneByteString (const uint8_t *chars, unsigned length)
 
void VisitTwoByteString (const uint16_t *chars, unsigned length)
 

Detailed Description

Definition at line 9435 of file objects.h.

Constructor & Destructor Documentation

StringCharacterStream ( String string,
ConsStringIteratorOp op,
unsigned  offset = 0 
)
inline

Definition at line 3394 of file objects-inl.h.

References StringCharacterStream::Reset().

Member Function Documentation

uint16_t GetNext ( )
inline
void Reset ( String string,
unsigned  offset = 0 
)
inline
void VisitOneByteString ( const uint8_t *  chars,
unsigned  length 
)
inline

Definition at line 3429 of file objects-inl.h.

References StringCharacterStream::buffer8_.

void VisitTwoByteString ( const uint16_t *  chars,
unsigned  length 
)
inline

Definition at line 3437 of file objects-inl.h.

References StringCharacterStream::buffer16_.

Field Documentation

const uint16_t* buffer16_

Definition at line 9450 of file objects.h.

Referenced by StringCharacterStream::VisitTwoByteString().

const uint8_t* buffer8_

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