![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-local-handle.h>
Public Types | |
using | value_type = Local<T> |
using | reference = value_type& |
using | const_reference = const value_type& |
using | size_type = size_t |
using | difference_type = ptrdiff_t |
using | iterator |
using | const_iterator |
Public Member Functions | |
LocalVector (Isolate *isolate) | |
LocalVector (Isolate *isolate, size_t n) | |
LocalVector (Isolate *isolate, std::initializer_list< Local< T > > init) | |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
size_t | size () const noexcept |
bool | empty () const noexcept |
void | reserve (size_t n) |
void | shrink_to_fit () |
Local< T > & | operator[] (size_t n) |
const Local< T > & | operator[] (size_t n) const |
Local< T > & | at (size_t n) |
const Local< T > & | at (size_t n) const |
Local< T > & | front () |
const Local< T > & | front () const |
Local< T > & | back () |
const Local< T > & | back () const |
Local< T > * | data () noexcept |
const Local< T > * | data () const noexcept |
iterator | insert (const_iterator pos, const Local< T > &value) |
template<typename InputIt > | |
iterator | insert (const_iterator pos, InputIt first, InputIt last) |
iterator | insert (const_iterator pos, std::initializer_list< Local< T > > init) |
LocalVector< T > & | operator= (std::initializer_list< Local< T > > init) |
void | push_back (const Local< T > &x) |
void | pop_back () |
template<typename... Args> | |
void | emplace_back (Args &&... args) |
void | clear () noexcept |
void | resize (size_t n) |
void | swap (LocalVector< T > &other) |
Private Types | |
using | element_type = internal::LocalUnchecked<T> |
using | allocator_type = std::allocator<element_type> |
using | vector_type = std::vector<element_type, allocator_type> |
Static Private Member Functions | |
static allocator_type | make_allocator (Isolate *isolate) noexcept |
Private Attributes | |
vector_type | backing_ |
Friends | |
bool | operator== (const LocalVector< T > &x, const LocalVector< T > &y) |
bool | operator!= (const LocalVector< T > &x, const LocalVector< T > &y) |
bool | operator< (const LocalVector< T > &x, const LocalVector< T > &y) |
bool | operator> (const LocalVector< T > &x, const LocalVector< T > &y) |
bool | operator<= (const LocalVector< T > &x, const LocalVector< T > &y) |
bool | operator>= (const LocalVector< T > &x, const LocalVector< T > &y) |
Definition at line 495 of file v8-local-handle.h.
|
private |
Definition at line 506 of file v8-local-handle.h.
using v8::LocalVector< T >::const_iterator |
Definition at line 523 of file v8-local-handle.h.
using v8::LocalVector< T >::const_reference = const value_type& |
Definition at line 518 of file v8-local-handle.h.
using v8::LocalVector< T >::difference_type = ptrdiff_t |
Definition at line 520 of file v8-local-handle.h.
|
private |
Definition at line 497 of file v8-local-handle.h.
using v8::LocalVector< T >::iterator |
Definition at line 521 of file v8-local-handle.h.
using v8::LocalVector< T >::reference = value_type& |
Definition at line 517 of file v8-local-handle.h.
using v8::LocalVector< T >::size_type = size_t |
Definition at line 519 of file v8-local-handle.h.
using v8::LocalVector< T >::value_type = Local<T> |
Definition at line 516 of file v8-local-handle.h.
|
private |
Definition at line 513 of file v8-local-handle.h.
|
inlineexplicit |
Definition at line 527 of file v8-local-handle.h.
|
inline |
Definition at line 528 of file v8-local-handle.h.
|
inlineexplicit |
Definition at line 530 of file v8-local-handle.h.
|
inline |
Definition at line 552 of file v8-local-handle.h.
|
inline |
Definition at line 553 of file v8-local-handle.h.
|
inline |
Definition at line 557 of file v8-local-handle.h.
|
inline |
Definition at line 558 of file v8-local-handle.h.
|
inlinenoexcept |
Definition at line 538 of file v8-local-handle.h.
|
inlinenoexcept |
Definition at line 537 of file v8-local-handle.h.
|
inlinenoexcept |
Definition at line 591 of file v8-local-handle.h.
|
inlinenoexcept |
Definition at line 561 of file v8-local-handle.h.
|
inlinenoexcept |
Definition at line 560 of file v8-local-handle.h.
|
inline |
Definition at line 587 of file v8-local-handle.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 542 of file v8-local-handle.h.
|
inlinenoexcept |
Definition at line 541 of file v8-local-handle.h.
|
inline |
Definition at line 555 of file v8-local-handle.h.
|
inline |
Definition at line 556 of file v8-local-handle.h.
|
inline |
Definition at line 563 of file v8-local-handle.h.
|
inline |
Definition at line 568 of file v8-local-handle.h.
|
inline |
Definition at line 572 of file v8-local-handle.h.
|
inlinestaticprivatenoexcept |
Definition at line 508 of file v8-local-handle.h.
|
inline |
Definition at line 576 of file v8-local-handle.h.
|
inline |
Definition at line 549 of file v8-local-handle.h.
|
inline |
Definition at line 550 of file v8-local-handle.h.
|
inline |
Definition at line 584 of file v8-local-handle.h.
|
inline |
|
inline |
|
inline |
Definition at line 592 of file v8-local-handle.h.
|
inline |
Definition at line 547 of file v8-local-handle.h.
|
inlinenoexcept |
|
inline |
Definition at line 593 of file v8-local-handle.h.
|
friend |
Definition at line 598 of file v8-local-handle.h.
|
friend |
Definition at line 601 of file v8-local-handle.h.
|
friend |
Definition at line 607 of file v8-local-handle.h.
|
friend |
Definition at line 595 of file v8-local-handle.h.
|
friend |
Definition at line 604 of file v8-local-handle.h.
|
friend |
Definition at line 610 of file v8-local-handle.h.
|
private |
Definition at line 615 of file v8-local-handle.h.