V8 API Reference Guide for node.js v9.8.0
Public Member Functions | Static Public Member Functions | List of all members
v8::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

This is an unfinished experimental feature, and is only exposed here for internal testing purposes. DO NOT USE.

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 HostImportDynamicallyCallback for module loading.

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