Searched refs:compileFunction (Results 1 - 6 of 6) sorted by relevance
/third_party/node/test/parallel/ |
H A D | test-vm-basic.js | 132 // 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 D | vm.js | 10 compileFunction, 76 const result = compileFunction(
|
/third_party/node/lib/internal/bootstrap/ |
H A D | realm.js | 196 compileFunction, 387 const fn = compileFunction(id);
|
/third_party/node/lib/ |
H A D | vm.js | 300 function compileFunction(code, params, options = kEmptyObject) { function 383 compileFunction,
|
/third_party/node/test/async-hooks/ |
H A D | test-async-local-storage-errors.js | 106 const makeOrphan = vm.compileFunction(`(${String(() => {
|
/third_party/node/lib/internal/modules/esm/ |
H A D | hooks.js | 715 const { compileFunction } = require('vm'); 716 const preloadInit = compileFunction( 729 // see compileFunction above to cross reference the names
|
Completed in 3 milliseconds