v8  8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
PrimitiveArray Class Reference

#include <v8.h>

Public Member Functions

int Length () const
 
void Set (Isolate *isolate, int index, Local< Primitive > item)
 
Local< PrimitiveGet (Isolate *isolate, int index)
 

Static Public Member Functions

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

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.

Definition at line 1354 of file v8.h.

Member Function Documentation

◆ Get()

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

◆ Length()

int Length ( ) const

◆ New()

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

◆ Set()

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

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