Function js::jsapi::CompileModule
[−]
[src]
pub unsafe extern "C" fn CompileModule(
cx: *mut JSContext,
options: *const ReadOnlyCompileOptions,
srcBuf: *mut SourceBufferHolder,
moduleRecord: MutableHandleObject
) -> bool
Parse the given source buffer as a module in the scope of the current global of cx and return a source text module record.