v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::ScriptOrModule Class Reference

#include <v8-script.h>

Collaboration diagram for v8::ScriptOrModule:

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.

Definition at line 42 of file v8-script.h.

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.

Definition at line 1946 of file api.cc.

Here is the call graph for this function:

◆ HostDefinedOptions()

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

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

Definition at line 1953 of file api.cc.

Here is the call graph for this function:

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