class SourceTextModule
extends Module
unstable
This feature is only available with the --experimental-vm-modules command
flag enabled.
The vm.SourceTextModule class provides the Source Text Module Record as
defined in the ECMAScript specification.
Constructors #
#SourceTextModule(code: string,options?: SourceTextModuleOptions,) new
Creates a new SourceTextModule instance.