![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Classes | |
struct | Chunk |
struct | Position |
struct | StreamPosition |
Public Member Functions | |
Utf8ExternalStreamingStream (ScriptCompiler::ExternalSourceStream *source_stream) | |
~Utf8ExternalStreamingStream () final=default | |
bool | can_access_heap () const final |
bool | can_be_cloned () const final |
std::unique_ptr< Utf16CharacterStream > | Clone () const override |
![]() | |
BufferedUtf16CharacterStream () | |
![]() | |
virtual | ~Utf16CharacterStream ()=default |
V8_INLINE void | set_parser_error () |
V8_INLINE void | reset_parser_error_flag () |
V8_INLINE bool | has_parser_error () const |
base::uc32 | Peek () |
base::uc32 | Advance () |
template<typename FunctionType > | |
V8_INLINE base::uc32 | AdvanceUntil (FunctionType check) |
void | Back () |
size_t | pos () const |
void | Seek (size_t pos) |
bool | can_be_cloned_for_parallel_access () const |
RuntimeCallStats * | runtime_call_stats () const |
void | set_runtime_call_stats (RuntimeCallStats *runtime_call_stats) |
Protected Member Functions | |
size_t | FillBuffer (size_t position) final |
![]() | |
bool | ReadBlock (size_t position) final |
![]() | |
Utf16CharacterStream (const uint16_t *buffer_start, const uint16_t *buffer_cursor, const uint16_t *buffer_end, size_t buffer_pos) | |
Utf16CharacterStream () | |
bool | ReadBlockChecked (size_t position) |
Private Member Functions | |
Utf8ExternalStreamingStream (const Utf8ExternalStreamingStream &source_stream) V8_NOEXCEPT | |
bool | SkipToPosition (size_t position) |
void | FillBufferFromCurrentChunk () |
bool | FetchChunk () |
void | SearchPosition (size_t position) |
Chunk & | GetChunk (size_t chunk_no) |
Private Attributes | |
std::shared_ptr< std::vector< Chunk > > | chunks_ |
Position | current_ |
ScriptCompiler::ExternalSourceStream * | source_stream_ |
Additional Inherited Members | |
![]() | |
static constexpr base::uc32 | kEndOfInput = static_cast<base::uc32>(-1) |
![]() | |
base::uc16 | buffer_ [kBufferSize] |
![]() | |
const uint16_t * | buffer_start_ |
const uint16_t * | buffer_cursor_ |
const uint16_t * | buffer_end_ |
size_t | buffer_pos_ |
RuntimeCallStats * | runtime_call_stats_ = nullptr |
bool | has_parser_error_ = false |
![]() | |
static const size_t | kBufferSize = 512 |
Definition at line 526 of file scanner-character-streams.cc.
|
inline |
Definition at line 528 of file scanner-character-streams.cc.
|
finaldefault |
|
inlineprivate |
Definition at line 578 of file scanner-character-streams.cc.
|
inlinefinalvirtual |
Implements v8::internal::Utf16CharacterStream.
Definition at line 535 of file scanner-character-streams.cc.
|
inlinefinalvirtual |
Implements v8::internal::Utf16CharacterStream.
Definition at line 537 of file scanner-character-streams.cc.
|
inlineoverridevirtual |
Implements v8::internal::Utf16CharacterStream.
Definition at line 539 of file scanner-character-streams.cc.
|
private |
Definition at line 737 of file scanner-character-streams.cc.
|
finalprotectedvirtual |
Implements v8::internal::BufferedUtf16CharacterStream.
Definition at line 836 of file scanner-character-streams.cc.
|
private |
Definition at line 648 of file scanner-character-streams.cc.
Definition at line 593 of file scanner-character-streams.cc.
|
private |
Definition at line 756 of file scanner-character-streams.cc.
Definition at line 600 of file scanner-character-streams.cc.
|
private |
Definition at line 595 of file scanner-character-streams.cc.
|
private |
Definition at line 596 of file scanner-character-streams.cc.
|
private |
Definition at line 597 of file scanner-character-streams.cc.