File indexing completed on 2024-05-19 15:46:49
0001 /* 0002 SPDX-FileCopyrightText: 2014 Denis Steckelmacher <steckdenis@yahoo.fr> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 exports.runInThisContext = function (code, filename) { return _mixed; }; 0008 exports.runInThisContext("", ""); 0009 0010 exports.runInNewContext = function (code, sandbox, filename) { return _mixed; }; 0011 exports.runInNewContext("", new Object(), ""); 0012 0013 exports.runInContext = function (code, context, filename) { return _mixed; }; 0014 exports.runInContext("", new Context(), ""); 0015 0016 exports.createContext = function (initSandbox) { return new Context(); }; 0017 exports.createContext(new Object()); 0018 0019 exports.createScript = function (code, filename) { return new Script(); }; 0020 exports.createScript("", ""); 0021 0022 /* 0023 * exports.Context 0024 */ 0025 function Context() { return ; } 0026 exports.Context = Context; 0027 0028 0029 /* 0030 * exports.Script 0031 */ 0032 function Script() { return ; } 0033 exports.Script = Script; 0034 0035 exports.Script.prototype.runInThisContext = function () { return _mixed; }; 0036 exports.Script.prototype.runInThisContext(); 0037 0038 exports.Script.prototype.runInNewContext = function (sandbox) { return _mixed; }; 0039 exports.Script.prototype.runInNewContext(new Object()); 0040 0041