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

#include <v8-script.h>

Public Member Functions

Local< ValueGetResourceName ()
 
Local< DataHostDefinedOptions ()
 

Detailed Description

A container type that holds relevant metadata for module loading.

This is passed back to the embedder as part of HostImportModuleDynamicallyCallback for module loading.

Member Function Documentation

◆ GetResourceName()

Local< Value > v8::ScriptOrModule::GetResourceName ( )

The name that was passed by the embedder as ResourceName to the ScriptOrigin. This can be either a v8::String or v8::Undefined.

◆ HostDefinedOptions()

Local< Data > v8::ScriptOrModule::HostDefinedOptions ( )

The options that were passed by the embedder as HostDefinedOptions to the ScriptOrigin.


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