Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
v8::PrimitiveArray Class Reference

#include <v8-primitive.h>

Inheritance diagram for v8::PrimitiveArray:
[legend]
Collaboration diagram for v8::PrimitiveArray:
[legend]

Public Member Functions

int Length () const
 
void Set (Isolate *isolate, int index, Local< Primitive > item)
 
Local< PrimitiveGet (Isolate *isolate, int index)
 
- Public Member Functions inherited from v8::Data
bool IsValue () const
 
bool IsModule () const
 
bool IsFixedArray () const
 
bool IsPrivate () const
 
bool IsObjectTemplate () const
 
bool IsFunctionTemplate () const
 
bool IsContext () const
 

Static Public Member Functions

static Local< PrimitiveArrayNew (Isolate *isolate, int length)
 
static PrimitiveArrayCast (Data *data)
 

Detailed Description

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.

Member Function Documentation

◆ Cast()

static PrimitiveArray * v8::PrimitiveArray::Cast ( Data data)
inlinestatic

◆ Get()

Local< Primitive > v8::PrimitiveArray::Get ( Isolate isolate,
int  index 
)

◆ Length()

int v8::PrimitiveArray::Length ( ) const

◆ New()

static Local< PrimitiveArray > v8::PrimitiveArray::New ( Isolate isolate,
int  length 
)
static

◆ Set()

void v8::PrimitiveArray::Set ( Isolate isolate,
int  index,
Local< Primitive item 
)

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