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

#include <v8.h>

Public Member Functions

int Length () const
 
void Set (int index, Local< Primitive > item)
 
Local< PrimitiveGet (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 1107 of file v8.h.

Member Function Documentation

◆ Get()

Local<Primitive> Get ( int  index)

◆ Length()

int Length ( ) const

◆ New()

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

◆ Set()

void Set ( int  index,
Local< Primitive item 
)

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