v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <unicode.h>
Public Member Functions | |
virtual void | Rewind () |
void | Reset (Input input) |
void | Seek (unsigned position) |
void | Reset (unsigned position, Input input) |
Public Member Functions inherited from CharacterStream | |
uchar | GetNext () |
bool | has_more () |
unsigned | Length () |
unsigned | Utf16Length () |
virtual | ~CharacterStream () |
Protected Member Functions | |
InputBuffer () | |
InputBuffer (Input input) | |
virtual void | FillBuffer () |
virtual bool | BoundsCheck (unsigned offset) |
Protected Attributes | |
unsigned | offset_ |
Input | input_ |
byte | util_buffer_ [kSize] |
Protected Attributes inherited from CharacterStream | |
unsigned | remaining_ |
unsigned | cursor_ |
const byte * | buffer_ |
Additional Inherited Members | |
Static Public Member Functions inherited from CharacterStream | |
static bool | EncodeCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset) |
static bool | EncodeAsciiCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset) |
static bool | EncodeNonAsciiCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset) |
static uchar | DecodeCharacter (const byte *buffer, unsigned *offset) |
Provides efficient access to encoded characters in strings. It does so by reading characters one block at a time, rather than one character at a time, which gives string implementations an opportunity to optimize the decoding.
|
inlineprotected |
|
inlineexplicitprotected |
|
inlineprotectedvirtual |
Implements CharacterStream.
|
protectedvirtual |
|
inline |
Definition at line 233 of file unicode-inl.h.
Referenced by InputBuffer< String, String *, 1024 >::InputBuffer(), v8::internal::RUNTIME_FUNCTION(), String::StringShortPrint(), String::WriteAscii(), and String::WriteUtf8().
|
inline |
Definition at line 224 of file unicode-inl.h.
References buffer_.
|
virtual |
Implements CharacterStream.
Definition at line 219 of file unicode-inl.h.
|
virtual |
Reimplemented from CharacterStream.
Definition at line 238 of file unicode-inl.h.
References buffer_.
|
protected |
Definition at line 245 of file unicode.h.
Referenced by InputBuffer< String, String *, 1024 >::BoundsCheck().