* Will return the cached version of the script intended for VM or compile it. * * @private * @return {vm.Script} The compiled script * @throws {SyntaxError} If there is a syntax error in the script.
()
| 349 | * @throws {SyntaxError} If there is a syntax error in the script. |
| 350 | */ |
| 351 | _compileVM() { |
| 352 | let script = this._compiledVM; |
| 353 | if (!script) { |
| 354 | this._compiledVM = script = this._compile('', ''); |
| 355 | } |
| 356 | return script; |
| 357 | } |
| 358 | |
| 359 | /** |
| 360 | * Will return the cached version of the script intended for NodeVM or compile it. |