v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::UnbufferedCharacterStream< ByteStream > Class Template Reference
Inheritance diagram for v8::internal::UnbufferedCharacterStream< ByteStream >:
Collaboration diagram for v8::internal::UnbufferedCharacterStream< ByteStream >:

Public Member Functions

template<class... TArgs>
 UnbufferedCharacterStream (size_t pos, TArgs... args)
 
bool can_access_heap () const final
 
bool can_be_cloned () const final
 
std::unique_ptr< Utf16CharacterStreamClone () const override
 
- Public Member Functions inherited from v8::internal::Utf16CharacterStream
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
 
RuntimeCallStatsruntime_call_stats () const
 
void set_runtime_call_stats (RuntimeCallStats *runtime_call_stats)
 

Protected Member Functions

bool ReadBlock (size_t position) final
 
 UnbufferedCharacterStream (const UnbufferedCharacterStream< ByteStream > &other)
 
- Protected Member Functions inherited from v8::internal::Utf16CharacterStream
 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)
 

Protected Attributes

ByteStream< uint16_t > byte_stream_
 
- Protected Attributes inherited from v8::internal::Utf16CharacterStream
const uint16_t * buffer_start_
 
const uint16_t * buffer_cursor_
 
const uint16_t * buffer_end_
 
size_t buffer_pos_
 
RuntimeCallStatsruntime_call_stats_ = nullptr
 
bool has_parser_error_ = false
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::Utf16CharacterStream
static constexpr base::uc32 kEndOfInput = static_cast<base::uc32>(-1)
 

Detailed Description

template<template< typename T > class ByteStream>
class v8::internal::UnbufferedCharacterStream< ByteStream >

Definition at line 289 of file scanner-character-streams.cc.

Constructor & Destructor Documentation

◆ UnbufferedCharacterStream() [1/2]

template<template< typename T > class ByteStream>
template<class... TArgs>
v8::internal::UnbufferedCharacterStream< ByteStream >::UnbufferedCharacterStream ( size_t pos,
TArgs... args )
inline

Definition at line 292 of file scanner-character-streams.cc.

Here is the call graph for this function:

◆ UnbufferedCharacterStream() [2/2]

template<template< typename T > class ByteStream>
v8::internal::UnbufferedCharacterStream< ByteStream >::UnbufferedCharacterStream ( const UnbufferedCharacterStream< ByteStream > & other)
inlineprotected

Definition at line 334 of file scanner-character-streams.cc.

Member Function Documentation

◆ can_access_heap()

template<template< typename T > class ByteStream>
bool v8::internal::UnbufferedCharacterStream< ByteStream >::can_access_heap ( ) const
inlinefinalvirtual

Implements v8::internal::Utf16CharacterStream.

Definition at line 296 of file scanner-character-streams.cc.

◆ can_be_cloned()

template<template< typename T > class ByteStream>
bool v8::internal::UnbufferedCharacterStream< ByteStream >::can_be_cloned ( ) const
inlinefinalvirtual

Implements v8::internal::Utf16CharacterStream.

Definition at line 300 of file scanner-character-streams.cc.

◆ Clone()

template<template< typename T > class ByteStream>
std::unique_ptr< Utf16CharacterStream > v8::internal::UnbufferedCharacterStream< ByteStream >::Clone ( ) const
inlineoverridevirtual

Implements v8::internal::Utf16CharacterStream.

Definition at line 304 of file scanner-character-streams.cc.

◆ ReadBlock()

template<template< typename T > class ByteStream>
bool v8::internal::UnbufferedCharacterStream< ByteStream >::ReadBlock ( size_t position)
inlinefinalprotectedvirtual

Implements v8::internal::Utf16CharacterStream.

Definition at line 310 of file scanner-character-streams.cc.

Here is the call graph for this function:

Member Data Documentation

◆ byte_stream_

template<template< typename T > class ByteStream>
ByteStream<uint16_t> v8::internal::UnbufferedCharacterStream< ByteStream >::byte_stream_
protected

Definition at line 337 of file scanner-character-streams.cc.


The documentation for this class was generated from the following file: