Lines Matching refs:SourceTextModule
9 const { SourceTextModule, createContext, Module } = require('vm');
12 const m = new SourceTextModule('');
19 new SourceTextModule();
30 new SourceTextModule('', invalidOptions);
41 const m = new SourceTextModule('');
53 const m = new SourceTextModule('');
62 const m = new SourceTextModule('');
71 const m = new SourceTextModule('');
79 const m = new SourceTextModule('');
88 const m = new SourceTextModule('');
105 const m = new SourceTextModule('');
116 const m = new SourceTextModule('import "foo";');
129 const foo = new SourceTextModule('', { context: c });
131 const bar = new SourceTextModule('import "foo";');
143 const erroredModule = new SourceTextModule('import "foo";');
152 const rootModule = new SourceTextModule('import "errored";');
160 new SourceTextModule('', {
173 const m = new SourceTextModule('import { nonexistent } from "module";');
178 return m.link(common.mustCall(() => new SourceTextModule('')));
183 const m = new SourceTextModule('throw new Error();');
199 const m = new SourceTextModule('export const a = 1; export let b = 2');
227 () => new SourceTextModule('import "foo";', { cachedData: invalidArg }),
250 SourceTextModule.prototype[getter]; class
256 SourceTextModule.prototype.dependencySpecifiers;