v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <scanner.h>
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 uc16 * | buffer_cursor_ |
const uc16 * | buffer_end_ |
unsigned | pos_ |
Static Protected Attributes | |
static const uc32 | kEndOfInput = -1 |
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 88 of file scanner.h.
References Utf16CharacterStream::buffer_cursor_, Utf16CharacterStream::buffer_end_, Utf16CharacterStream::kEndOfInput, Utf16CharacterStream::pos_, and Utf16CharacterStream::ReadBlock().
Referenced by TEST(), and TestCharacterStream().
|
inline |
Definition at line 104 of file scanner.h.
References Utf16CharacterStream::pos_.
Referenced by Scanner::SeekForward(), TEST(), and TestCharacterStream().
|
pure virtual |
Implemented in ExternalTwoByteStringUtf16CharacterStream, InputStreamUtf16Buffer, and BufferedUtf16CharacterStream.
|
protectedpure virtual |
Implemented in ExternalTwoByteStringUtf16CharacterStream, InputStreamUtf16Buffer, and BufferedUtf16CharacterStream.
Referenced by Utf16CharacterStream::Advance().
|
inline |
Definition at line 110 of file scanner.h.
References Utf16CharacterStream::buffer_cursor_, Utf16CharacterStream::buffer_end_, Utf16CharacterStream::pos_, and Utf16CharacterStream::SlowSeekForward().
Referenced by Scanner::SeekForward(), TEST(), and TestCharacterStream().
|
protectedpure virtual |
Implemented in InputStreamUtf16Buffer, ExternalTwoByteStringUtf16CharacterStream, and BufferedUtf16CharacterStream.
Referenced by Utf16CharacterStream::SeekForward().
|
protected |
Definition at line 137 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), BufferedUtf16CharacterStream::BufferedUtf16CharacterStream(), GenericStringUtf16CharacterStream::GenericStringUtf16CharacterStream(), InputStreamUtf16Buffer::InputStreamUtf16Buffer(), BufferedUtf16CharacterStream::PushBack(), InputStreamUtf16Buffer::PushBack(), ExternalTwoByteStringUtf16CharacterStream::PushBack(), BufferedUtf16CharacterStream::ReadBlock(), InputStreamUtf16Buffer::ReadBlock(), Utf16CharacterStream::SeekForward(), and BufferedUtf16CharacterStream::SlowPushBack().
|
protected |
Definition at line 138 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), BufferedUtf16CharacterStream::BufferedUtf16CharacterStream(), GenericStringUtf16CharacterStream::GenericStringUtf16CharacterStream(), InputStreamUtf16Buffer::InputStreamUtf16Buffer(), InputStreamUtf16Buffer::PushBack(), BufferedUtf16CharacterStream::ReadBlock(), InputStreamUtf16Buffer::ReadBlock(), Utf16CharacterStream::SeekForward(), and BufferedUtf16CharacterStream::SlowPushBack().
|
staticprotected |
Definition at line 128 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), BufferedUtf16CharacterStream::PushBack(), and InputStreamUtf16Buffer::PushBack().
|
protected |
Definition at line 139 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), GenericStringUtf16CharacterStream::BufferSeekForward(), Utf8ToUtf16CharacterStream::BufferSeekForward(), GenericStringUtf16CharacterStream::GenericStringUtf16CharacterStream(), Utf16CharacterStream::pos(), BufferedUtf16CharacterStream::PushBack(), InputStreamUtf16Buffer::PushBack(), ExternalTwoByteStringUtf16CharacterStream::PushBack(), BufferedUtf16CharacterStream::ReadBlock(), Utf16CharacterStream::SeekForward(), and BufferedUtf16CharacterStream::SlowPushBack().