![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-primitive.h>
Public Member Functions | |
int | Length () const |
void | Set (Isolate *isolate, int index, Local< Primitive > item) |
Local< Primitive > | Get (Isolate *isolate, int index) |
![]() | |
bool | IsValue () const |
bool | IsModule () const |
bool | IsModuleRequest () const |
bool | IsFixedArray () const |
bool | IsPrivate () const |
bool | IsObjectTemplate () const |
bool | IsFunctionTemplate () const |
bool | IsContext () const |
Static Public Member Functions | |
static Local< PrimitiveArray > | New (Isolate *isolate, int length) |
static V8_INLINE PrimitiveArray * | Cast (Data *data) |
Static Private Member Functions | |
static void | CheckCast (Data *obj) |
An array to hold Primitive values. This is used by the embedder to pass host defined options to the ScriptOptions during compilation.
This is passed back to the embedder as part of HostImportModuleDynamicallyCallback for module loading.
Definition at line 58 of file v8-primitive.h.
|
inlinestatic |
Definition at line 65 of file v8-primitive.h.
|
staticprivate |
int v8::PrimitiveArray::Length | ( | ) | const |
|
static |