Skip to main content

compile_module

Function compile_module 

Source
pub fn compile_module<'s>(
    scope: &PinScope<'s, '_>,
    source: &mut Source,
) -> Option<Local<'s, Module>>
Expand description

Compile an ES module, returning a Module that encapsulates the compiled code.

Corresponds to the ParseModule abstract operation in the ECMAScript specification.