Function script::dom::bindings::import::module::jsapi::CompileModule

source ยท
pub unsafe extern "C" fn CompileModule(
    cx: *mut JSContext,
    options: *const ReadOnlyCompileOptions,
    srcBuf: *mut SourceText<u16>,
) -> *mut JSObject
Expand description

Parse the given source buffer as a module in the scope of the current global of cx and return a source text module record.