Home
last modified time | relevance | path

Searched refs:compileFunction (Results 1 - 6 of 6) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-vm-basic.js132 // vm.compileFunction
135 vm.compileFunction('console.log("Hello, World!")').toString(),
140 vm.compileFunction(
147 vm.compileFunction('return'); // Should not throw on 'return'
150 vm.compileFunction(
159 assert.throws(() => vm.compileFunction(), {
166 vm.compileFunction(''); // Should pass without params or options
168 assert.throws(() => vm.compileFunction('', null), {
175 // vm.compileFunction('', undefined, null);
189 vm.compileFunction('', undefine
[all...]
/third_party/node/lib/internal/
H A Dvm.js10 compileFunction,
76 const result = compileFunction(
/third_party/node/lib/internal/bootstrap/
H A Drealm.js196 compileFunction,
387 const fn = compileFunction(id);
/third_party/node/lib/
H A Dvm.js300 function compileFunction(code, params, options = kEmptyObject) { function
383 compileFunction,
/third_party/node/test/async-hooks/
H A Dtest-async-local-storage-errors.js106 const makeOrphan = vm.compileFunction(`(${String(() => {
/third_party/node/lib/internal/modules/esm/
H A Dhooks.js715 const { compileFunction } = require('vm');
716 const preloadInit = compileFunction(
729 // see compileFunction above to cross reference the names

Completed in 3 milliseconds