v8  6.7.288(node10.6.0)
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 1018 of file v8.h.

Member Function Documentation

Local<Primitive> Get ( int  index)
int Length ( ) const
static Local<PrimitiveArray> New ( Isolate isolate,
int  length 
)
static
void Set ( int  index,
Local< Primitive item 
)

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