V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Utf16CharacterStream Class Referenceabstract
Inheritance diagram for v8::internal::Utf16CharacterStream:
v8::internal::UnbufferedCharacterStream< OnHeapStream > v8::internal::BufferedCharacterStream< ByteStream > v8::internal::BufferedUtf16CharacterStream v8::internal::UnbufferedCharacterStream< ByteStream > v8::internal::RelocatingCharacterStream v8::internal::Utf8ExternalStreamingStream

Public Member Functions

V8_INLINE void set_parser_error ()
 
V8_INLINE void reset_parser_error_flag ()
 
V8_INLINE bool has_parser_error () const
 
uc32 Peek ()
 
uc32 Advance ()
 
template<typename FunctionType >
V8_INLINE uc32 AdvanceUntil (FunctionType check)
 
void Back ()
 
size_t pos () const
 
void Seek (size_t pos)
 
bool can_be_cloned_for_parallel_access () const
 
virtual bool can_be_cloned () const =0
 
virtual std::unique_ptr< Utf16CharacterStreamClone () const =0
 
virtual bool can_access_heap () const =0
 
RuntimeCallStatsruntime_call_stats () const
 
void set_runtime_call_stats (RuntimeCallStats *runtime_call_stats)
 

Static Public Attributes

static const uc32 kEndOfInput = -1
 

Protected Member Functions

 Utf16CharacterStream (const uint16_t *buffer_start, const uint16_t *buffer_cursor, const uint16_t *buffer_end, size_t buffer_pos)
 
bool ReadBlockChecked ()
 
void ReadBlockAt (size_t new_pos)
 
virtual bool ReadBlock ()=0
 

Protected Attributes

const uint16_t * buffer_start_
 
const uint16_t * buffer_cursor_
 
const uint16_t * buffer_end_
 
size_t buffer_pos_
 
RuntimeCallStatsruntime_call_stats_
 
bool has_parser_error_ = false
 

Detailed Description

Definition at line 37 of file scanner.h.


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