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
Utf16CharacterStream Class Referenceabstract

#include <scanner.h>

Inheritance diagram for Utf16CharacterStream:

Public Member Functions

 Utf16CharacterStream ()
 
virtual ~Utf16CharacterStream ()
 
uc32 Advance ()
 
unsigned pos () const
 
unsigned SeekForward (unsigned code_unit_count)
 
virtual void PushBack (int32_t code_unit)=0
 

Protected Member Functions

virtual bool ReadBlock ()=0
 
virtual unsigned SlowSeekForward (unsigned code_unit_count)=0
 

Protected Attributes

const uc16buffer_cursor_
 
const uc16buffer_end_
 
unsigned pos_
 

Static Protected Attributes

static const uc32 kEndOfInput = -1
 

Detailed Description

Definition at line 80 of file scanner.h.

Constructor & Destructor Documentation

Definition at line 82 of file scanner.h.

virtual ~Utf16CharacterStream ( )
inlinevirtual

Definition at line 83 of file scanner.h.

Member Function Documentation

unsigned pos ( ) const
inline

Definition at line 104 of file scanner.h.

References Utf16CharacterStream::pos_.

Referenced by Scanner::SeekForward(), TEST(), and TestCharacterStream().

virtual void PushBack ( int32_t  code_unit)
pure virtual
virtual bool ReadBlock ( )
protectedpure virtual
unsigned SeekForward ( unsigned  code_unit_count)
inline
virtual unsigned SlowSeekForward ( unsigned  code_unit_count)
protectedpure virtual

Field Documentation

const uc32 kEndOfInput = -1
staticprotected

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