![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Member Functions | |
Windows1252CharacterStream (size_t pos, ScriptCompiler::ExternalSourceStream *source_stream) | |
bool | can_be_cloned () const final |
std::unique_ptr< Utf16CharacterStream > | Clone () const override |
![]() | |
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 | |
bool | ReadBlock (size_t position) final |
bool | can_access_heap () const 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 | |
Windows1252CharacterStream (const Windows1252CharacterStream &other) V8_NOEXCEPT | |
Private Attributes | |
base::uc16 | buffer_ [kBufferSize] |
ChunkedStream< uint8_t > | byte_stream_ |
Static Private Attributes | |
static const size_t | kBufferSize = 512 |
Additional Inherited Members | |
![]() | |
static constexpr base::uc32 | kEndOfInput = static_cast<base::uc32>(-1) |
![]() | |
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 |
Definition at line 463 of file scanner-character-streams.cc.
|
inline |
Definition at line 465 of file scanner-character-streams.cc.
|
inlineprivate |
Definition at line 507 of file scanner-character-streams.cc.
|
inlinefinalprotectedvirtual |
Implements v8::internal::Utf16CharacterStream.
Definition at line 502 of file scanner-character-streams.cc.
|
inlinefinalvirtual |
Implements v8::internal::Utf16CharacterStream.
Definition at line 471 of file scanner-character-streams.cc.
|
inlineoverridevirtual |
Implements v8::internal::Utf16CharacterStream.
Definition at line 475 of file scanner-character-streams.cc.
|
inlinefinalprotectedvirtual |
Implements v8::internal::Utf16CharacterStream.
Definition at line 482 of file scanner-character-streams.cc.
|
private |
Definition at line 511 of file scanner-character-streams.cc.
|
private |
Definition at line 512 of file scanner-character-streams.cc.
|
staticprivate |
Definition at line 510 of file scanner-character-streams.cc.