v8
3.25.30(node0.11.13)
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 uint16_t * | buffer_cursor_ |
const uint16_t * | buffer_end_ |
unsigned | pos_ |
Static Protected Attributes | |
static const uc32 | kEndOfInput = -1 |
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 74 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 90 of file scanner.h.
References Utf16CharacterStream::pos_.
Referenced by Scanner::SeekForward(), TEST(), and TestCharacterStream().
|
pure virtual |
Implemented in ExternalTwoByteStringUtf16CharacterStream, and BufferedUtf16CharacterStream.
|
protectedpure virtual |
Implemented in ExternalTwoByteStringUtf16CharacterStream, and BufferedUtf16CharacterStream.
Referenced by Utf16CharacterStream::Advance().
|
inline |
Definition at line 96 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 ExternalTwoByteStringUtf16CharacterStream, and BufferedUtf16CharacterStream.
Referenced by Utf16CharacterStream::SeekForward().
|
protected |
Definition at line 123 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), BufferedUtf16CharacterStream::BufferedUtf16CharacterStream(), GenericStringUtf16CharacterStream::GenericStringUtf16CharacterStream(), BufferedUtf16CharacterStream::PushBack(), ExternalTwoByteStringUtf16CharacterStream::PushBack(), BufferedUtf16CharacterStream::ReadBlock(), Utf16CharacterStream::SeekForward(), and BufferedUtf16CharacterStream::SlowPushBack().
|
protected |
Definition at line 124 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), BufferedUtf16CharacterStream::BufferedUtf16CharacterStream(), GenericStringUtf16CharacterStream::GenericStringUtf16CharacterStream(), BufferedUtf16CharacterStream::ReadBlock(), Utf16CharacterStream::SeekForward(), and BufferedUtf16CharacterStream::SlowPushBack().
|
staticprotected |
Definition at line 114 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), and BufferedUtf16CharacterStream::PushBack().
|
protected |
Definition at line 125 of file scanner.h.
Referenced by Utf16CharacterStream::Advance(), GenericStringUtf16CharacterStream::BufferSeekForward(), Utf8ToUtf16CharacterStream::BufferSeekForward(), GenericStringUtf16CharacterStream::GenericStringUtf16CharacterStream(), Utf16CharacterStream::pos(), BufferedUtf16CharacterStream::PushBack(), ExternalTwoByteStringUtf16CharacterStream::PushBack(), BufferedUtf16CharacterStream::ReadBlock(), Utf16CharacterStream::SeekForward(), and BufferedUtf16CharacterStream::SlowPushBack().