v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::BaseConsumedPreparseData< Data >::ByteData Class Reference

#include <preparse-data-impl.h>

Inheritance diagram for v8::internal::BaseConsumedPreparseData< Data >::ByteData:
Collaboration diagram for v8::internal::BaseConsumedPreparseData< Data >::ByteData:

Classes

class  ReadingScope
 

Public Member Functions

void SetPosition (int position)
 
size_t RemainingBytes () const
 
bool HasRemainingBytes (size_t bytes) const
 
int32_t ReadUint32 ()
 
int32_t ReadVarint32 ()
 
uint8_t ReadUint8 ()
 
uint8_t ReadQuarter ()
 

Private Attributes

Data data_ = {}
 
int index_ = 0
 
uint8_t stored_quarters_ = 0
 
uint8_t stored_byte_ = 0
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::PreparseByteDataConstants
static constexpr size_t kUint32Size = 4
 
static constexpr size_t kVarint32MinSize = 1
 
static constexpr size_t kVarint32MaxSize = 5
 
static constexpr size_t kUint8Size = 1
 
static constexpr size_t kPlaceholderSize = 0
 
static const size_t kSkippableFunctionMinDataSize
 
static const size_t kSkippableFunctionMaxDataSize
 

Detailed Description

template<class Data>
class v8::internal::BaseConsumedPreparseData< Data >::ByteData

Definition at line 47 of file preparse-data-impl.h.

Member Function Documentation

◆ HasRemainingBytes()

template<class Data >
bool v8::internal::BaseConsumedPreparseData< Data >::ByteData::HasRemainingBytes ( size_t bytes) const
inline

Definition at line 85 of file preparse-data-impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadQuarter()

template<class Data >
uint8_t v8::internal::BaseConsumedPreparseData< Data >::ByteData::ReadQuarter ( )
inline

Definition at line 129 of file preparse-data-impl.h.

Here is the call graph for this function:

◆ ReadUint32()

template<class Data >
int32_t v8::internal::BaseConsumedPreparseData< Data >::ByteData::ReadUint32 ( )
inline

Definition at line 90 of file preparse-data-impl.h.

Here is the call graph for this function:

◆ ReadUint8()

template<class Data >
uint8_t v8::internal::BaseConsumedPreparseData< Data >::ByteData::ReadUint8 ( )
inline

Definition at line 120 of file preparse-data-impl.h.

Here is the call graph for this function:

◆ ReadVarint32()

template<class Data >
int32_t v8::internal::BaseConsumedPreparseData< Data >::ByteData::ReadVarint32 ( )
inline

Definition at line 103 of file preparse-data-impl.h.

Here is the call graph for this function:

◆ RemainingBytes()

template<class Data >
size_t v8::internal::BaseConsumedPreparseData< Data >::ByteData::RemainingBytes ( ) const
inline

Definition at line 79 of file preparse-data-impl.h.

Here is the caller graph for this function:

◆ SetPosition()

template<class Data >
void v8::internal::BaseConsumedPreparseData< Data >::ByteData::SetPosition ( int position)
inline

Definition at line 74 of file preparse-data-impl.h.

Member Data Documentation

◆ data_

template<class Data >
Data v8::internal::BaseConsumedPreparseData< Data >::ByteData::data_ = {}
private

Definition at line 147 of file preparse-data-impl.h.

◆ index_

template<class Data >
int v8::internal::BaseConsumedPreparseData< Data >::ByteData::index_ = 0
private

Definition at line 148 of file preparse-data-impl.h.

◆ stored_byte_

template<class Data >
uint8_t v8::internal::BaseConsumedPreparseData< Data >::ByteData::stored_byte_ = 0
private

Definition at line 150 of file preparse-data-impl.h.

◆ stored_quarters_

template<class Data >
uint8_t v8::internal::BaseConsumedPreparseData< Data >::ByteData::stored_quarters_ = 0
private

Definition at line 149 of file preparse-data-impl.h.


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