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

#include <internal-index.h>

Collaboration diagram for v8::internal::InternalIndex:

Classes

class  Range
 

Public Member Functions

constexpr InternalIndex (size_t raw)
 
V8_WARN_UNUSED_RESULT InternalIndex adjust_down (size_t subtract) const
 
V8_WARN_UNUSED_RESULT InternalIndex adjust_up (size_t add) const
 
bool is_found () const
 
bool is_not_found () const
 
size_t raw_value () const
 
uint32_t as_uint32 () const
 
constexpr int as_int () const
 
bool operator== (const InternalIndex &other) const
 
InternalIndex operator* ()
 
bool operator!= (const InternalIndex &other) const
 
InternalIndexoperator++ ()
 
bool operator< (const InternalIndex &other) const
 

Static Public Member Functions

static InternalIndex NotFound ()
 

Private Attributes

size_t entry_
 

Static Private Attributes

static const size_t kNotFound = std::numeric_limits<size_t>::max()
 

Detailed Description

Definition at line 20 of file internal-index.h.

Constructor & Destructor Documentation

◆ InternalIndex()

v8::internal::InternalIndex::InternalIndex ( size_t raw)
inlineexplicitconstexpr

Definition at line 22 of file internal-index.h.

Here is the caller graph for this function:

Member Function Documentation

◆ adjust_down()

V8_WARN_UNUSED_RESULT InternalIndex v8::internal::InternalIndex::adjust_down ( size_t subtract) const
inline

Definition at line 25 of file internal-index.h.

Here is the call graph for this function:

◆ adjust_up()

V8_WARN_UNUSED_RESULT InternalIndex v8::internal::InternalIndex::adjust_up ( size_t add) const
inline

Definition at line 29 of file internal-index.h.

Here is the call graph for this function:

◆ as_int()

int v8::internal::InternalIndex::as_int ( ) const
inlineconstexpr

Definition at line 42 of file internal-index.h.

Here is the caller graph for this function:

◆ as_uint32()

uint32_t v8::internal::InternalIndex::as_uint32 ( ) const
inline

Definition at line 38 of file internal-index.h.

Here is the caller graph for this function:

◆ is_found()

bool v8::internal::InternalIndex::is_found ( ) const
inline

Definition at line 34 of file internal-index.h.

Here is the caller graph for this function:

◆ is_not_found()

bool v8::internal::InternalIndex::is_not_found ( ) const
inline

Definition at line 35 of file internal-index.h.

Here is the caller graph for this function:

◆ NotFound()

static InternalIndex v8::internal::InternalIndex::NotFound ( )
inlinestatic

Definition at line 23 of file internal-index.h.

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

◆ operator!=()

bool v8::internal::InternalIndex::operator!= ( const InternalIndex & other) const
inline

Definition at line 53 of file internal-index.h.

◆ operator*()

InternalIndex v8::internal::InternalIndex::operator* ( )
inline

Definition at line 52 of file internal-index.h.

◆ operator++()

InternalIndex & v8::internal::InternalIndex::operator++ ( )
inline

Definition at line 56 of file internal-index.h.

◆ operator<()

bool v8::internal::InternalIndex::operator< ( const InternalIndex & other) const
inline

Definition at line 61 of file internal-index.h.

◆ operator==()

bool v8::internal::InternalIndex::operator== ( const InternalIndex & other) const
inline

Definition at line 47 of file internal-index.h.

◆ raw_value()

size_t v8::internal::InternalIndex::raw_value ( ) const
inline

Definition at line 37 of file internal-index.h.

Here is the caller graph for this function:

Member Data Documentation

◆ entry_

size_t v8::internal::InternalIndex::entry_
private

Definition at line 81 of file internal-index.h.

◆ kNotFound

const size_t v8::internal::InternalIndex::kNotFound = std::numeric_limits<size_t>::max()
staticprivate

Definition at line 79 of file internal-index.h.


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