v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
|
#include <v8-script.h>
Public Member Functions | |
Local< Value > | GetResourceName () |
Local< PrimitiveArray > | GetHostDefinedOptions () |
Local< Data > | HostDefinedOptions () |
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 38 of file v8-script.h.
Local< PrimitiveArray > GetHostDefinedOptions | ( | ) |
The options that were passed by the embedder as HostDefinedOptions to the ScriptOrigin.
The name that was passed by the embedder as ResourceName to the ScriptOrigin. This can be either a v8::String or v8::Undefined.