| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2015 The Qt Company Ltd. |
| 4 | ** Contact: http://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtScript module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | #include "config.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/config.h`/ |
| 41 | #include "qscriptfunction_p.h"cxx . . $ `<file>/src/script/bridge/qscriptfunction_p.h`/ |
| 42 | |
| 43 | #include "private/qscriptengine_p.h"cxx . . $ `<file>/include/QtScript/5.15.19/QtScript/private/qscriptengine_p.h`/ |
| 44 | #include "qscriptcontext.h"cxx . . $ `<file>/include/QtScript/qscriptcontext.h`/ |
| 45 | #include "private/qscriptcontext_p.h"cxx . . $ `<file>/include/QtScript/5.15.19/QtScript/private/qscriptcontext_p.h`/ |
| 46 | #include "private/qscriptvalue_p.h"cxx . . $ `<file>/include/QtScript/5.15.19/QtScript/private/qscriptvalue_p.h`/ |
| 47 | #include "qscriptactivationobject_p.h"cxx . . $ `<file>/src/script/bridge/qscriptactivationobject_p.h`/ |
| 48 | #include "qscriptobject_p.h"cxx . . $ `<file>/src/script/bridge/qscriptobject_p.h`/ |
| 49 | |
| 50 | #include "JSGlobalObject.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h`/ |
| 51 | #include "DebuggerCallFrame.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/debugger/DebuggerCallFrame.h`/ |
| 52 | #include "Debugger.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/debugger/Debugger.h`/ |
| 53 | |
| 54 | namespace JSCcxx . . $ `<built-in>:463:9`! |
| 55 | { |
| 56 | ASSERT_CLASS_FITS_IN_CELLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:42:9`!(QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(QScript::FunctionWrapper)); |
| 57 | ASSERT_CLASS_FITS_IN_CELLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:42:9`!(QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(QScript::FunctionWithArgWrapper)); |
| 58 | } |
| 59 | |
| 60 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 61 | |
| 62 | namespace QScriptcxx . . $ QScript/ |
| 63 | { |
| 64 | |
| 65 | const JSCcxx . . $ `<built-in>:463:9`!::ClassInfocxx . . $ QTJSC/ClassInfo# FunctionWrappercxx . . $ QScript/FunctionWrapper#::infocxx . . $ QScript/FunctionWrapper#info. = { "QtNativeFunctionWrapper", &PrototypeFunctioncxx . . $ QTJSC/PrototypeFunction#::infocxx . . $ QTJSC/InternalFunction#info., 0, 0 }; |
| 66 | const JSCcxx . . $ `<built-in>:463:9`!::ClassInfocxx . . $ QTJSC/ClassInfo# FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#::infocxx . . $ QScript/FunctionWithArgWrapper#info. = { "QtNativeFunctionWithArgWrapper", &PrototypeFunctioncxx . . $ QTJSC/PrototypeFunction#::infocxx . . $ QTJSC/InternalFunction#info., 0, 0 }; |
| 67 | |
| 68 | FunctionWrappercxx . . $ QScript/FunctionWrapper#::FunctionWrappercxx . . $ QScript/FunctionWrapper#FunctionWrapper(11f6175c23104ecc).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *exec, int length, const JSCcxx . . $ `<built-in>:463:9`!::Identifiercxx . . $ QTJSC/Identifier# &name, |
| 69 | QScriptEnginecxx . . $ QScriptEngine#::FunctionSignaturecxx . . $ QScriptEngine#FunctionSignature# function) |
| 70 | : JSCcxx . . $ `<built-in>:463:9`!::PrototypeFunctioncxx . . $ QTJSC/PrototypeFunction#(exec, length, name, proxyCallcxx . . $ QScript/FunctionWrapper#proxyCall(cac2aec6ecb9506b).), |
| 71 | datacxx . . $ QScript/FunctionWrapper#data.(new Datacxx . . $ QScript/FunctionWrapper#Data#()) |
| 72 | { |
| 73 | datacxx . . $ QScript/FunctionWrapper#data.->functioncxx . . $ QScript/FunctionWrapper#Data#function. = function; |
| 74 | } |
| 75 | |
| 76 | FunctionWrappercxx . . $ QScript/FunctionWrapper#::~cxx . . $ QScript/FunctionWrapper#`~FunctionWrapper`(49f6e7a06ebc5aa8).FunctionWrappercxx . . $ QScript/FunctionWrapper#() |
| 77 | { |
| 78 | delete datacxx . . $ QScript/FunctionWrapper#data.; |
| 79 | } |
| 80 | |
| 81 | JSCcxx . . $ `<built-in>:463:9`!::ConstructTypecxx . . $ QTJSC/ConstructType# FunctionWrappercxx . . $ QScript/FunctionWrapper#::getConstructDatacxx . . $ QScript/FunctionWrapper#getConstructData(80014d68d6143eea).(JSCcxx . . $ `<built-in>:463:9`!::ConstructDatacxx . . $ QTJSC/ConstructData#& consData) |
| 82 | { |
| 83 | consData.nativecxx . . $ QTJSC/ConstructData#native..functioncxx . . $ QTJSC/ConstructData#$anonymous_type_0#function. =cxx . . $ QTJSC/NativeConstrWrapper#`operator=`(4f61eada803c3ef5). proxyConstructcxx . . $ QScript/FunctionWrapper#proxyConstruct(9a9a00b054b701a4).; |
| 84 | consData.nativecxx . . $ QTJSC/ConstructData#native..functioncxx . . $ QTJSC/ConstructData#$anonymous_type_0#function..doNotCallDebuggerFunctionExitcxx . . $ QTJSC/NativeConstrWrapper#doNotCallDebuggerFunctionExit(49f6e7a06ebc5aa8).(); |
| 85 | return JSCcxx . . $ `<built-in>:463:9`!::ConstructTypeHostcxx . . $ QTJSC/ConstructTypeHost.; |
| 86 | } |
| 87 | |
| 88 | JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue# FunctionWrappercxx . . $ QScript/FunctionWrapper#::proxyCallcxx . . $ QScript/FunctionWrapper#proxyCall(cac2aec6ecb9506b).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *exec, JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject# *callee, |
| 89 | JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue# thisObject, const JSCcxx . . $ `<built-in>:463:9`!::ArgListcxx . . $ QTJSC/ArgList# &args) |
| 90 | { |
| 91 | FunctionWrappercxx . . $ QScript/FunctionWrapper# *self = static_cast<FunctionWrapper*>(callee); |
| 92 | QScriptEnginePrivatecxx . . $ QScriptEnginePrivate# *eng_p = QScriptcxx . . $ QScript/::scriptEngineFromExeccxx . . $ QScript/scriptEngineFromExec(29635cd1600319d1).(exec); |
| 93 | |
| 94 | JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *oldFrame = eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.; |
| 95 | eng_p->pushContextcxx . . $ QScriptEnginePrivate#pushContext(7ba009ce824f3495).(exec, thisObject, args, callee); |
| 96 | QScriptContextcxx . . $ QScriptContext# *ctx = eng_p->contextForFramecxx . . $ QScriptEnginePrivate#contextForFrame(daeb37b53c2d4631).(eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.); |
| 97 | |
| 98 | QScriptValuecxx . . $ QScriptValue# result = selfcxx . . $ QScriptValue#QScriptValue(6b35c8bde2804237).->datacxx . . $ QScript/FunctionWrapper#data.->functioncxx . . $ QScript/FunctionWrapper#Data#function.(ctx, QScriptEnginePrivatecxx . . $ QScriptEnginePrivate#::getcxx . . $ QScriptEnginePrivate#get(7dfa2ee4010a87cc).(eng_p)); |
| 99 | if (!result.isValidcxx . . $ QScriptValue#isValid(50ce9a9e25b4a850).()) |
| 100 | result =cxx . . $ QScriptValue#`operator=`(1a503f9e5bba28ab). QScriptValuecxx . . $ QScriptValue#QScriptValue(95ef5e5946438261).(QScriptValuecxx . . $ QScriptValue#::UndefinedValuecxx . . $ QScriptValue#UndefinedValue.); |
| 101 | |
| 102 | eng_p->popContextcxx . . $ QScriptEnginePrivate#popContext(49f6e7a06ebc5aa8).(); |
| 103 | eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame. = oldFrame; |
| 104 | |
| 105 | return eng_p->scriptValueToJSCValuecxx . . $ QScriptEnginePrivate#scriptValueToJSCValue(1334d8176404fb05).(result); |
| 106 | } |
| 107 | |
| 108 | JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject#* FunctionWrappercxx . . $ QScript/FunctionWrapper#::proxyConstructcxx . . $ QScript/FunctionWrapper#proxyConstruct(9a9a00b054b701a4).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *exec, JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject# *callee, |
| 109 | const JSCcxx . . $ `<built-in>:463:9`!::ArgListcxx . . $ QTJSC/ArgList# &args) |
| 110 | { |
| 111 | FunctionWrappercxx . . $ QScript/FunctionWrapper# *self = static_cast<FunctionWrapper*>(callee); |
| 112 | QScriptEnginePrivatecxx . . $ QScriptEnginePrivate# *eng_p = QScriptcxx . . $ QScript/::scriptEngineFromExeccxx . . $ QScript/scriptEngineFromExec(29635cd1600319d1).(exec); |
| 113 | |
| 114 | JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *oldFrame = eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.; |
| 115 | eng_p->pushContextcxx . . $ QScriptEnginePrivate#pushContext(7ba009ce824f3495).(exec, JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue#(), args, callee, true); |
| 116 | QScriptContextcxx . . $ QScriptContext# *ctx = eng_p->contextForFramecxx . . $ QScriptEnginePrivate#contextForFrame(daeb37b53c2d4631).(eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.); |
| 117 | |
| 118 | QScriptValuecxx . . $ QScriptValue# result = selfcxx . . $ QScriptValue#QScriptValue(6b35c8bde2804237).->datacxx . . $ QScript/FunctionWrapper#data.->functioncxx . . $ QScript/FunctionWrapper#Data#function.(ctx, QScriptEnginePrivatecxx . . $ QScriptEnginePrivate#::getcxx . . $ QScriptEnginePrivate#get(7dfa2ee4010a87cc).(eng_p)); |
| 119 | |
| 120 | if (JSCcxx . . $ `<built-in>:463:9`!::Debuggercxx . . $ QTJSC/Debugger#* debugger = eng_p->originalGlobalObjectcxx . . $ QScriptEnginePrivate#originalGlobalObject(3d50c730b5e26899).()->debuggercxx . . $ QTJSC/JSGlobalObject#debugger(1a524ff7b31d81c).()) |
| 121 | debugger->functionExitcxx . . $ QTJSC/Debugger#functionExit(661314651358aafa).(QScriptValuePrivatecxx . . $ QScriptValuePrivate#::getcxx . . $ QScriptValuePrivate#get(3358d3d0bd9c30a4).(result)->jscValuecxx . . $ QScriptValuePrivate#jscValue., -1); |
| 122 | |
| 123 | if (!result.isObjectcxx . . $ QScriptValue#isObject(50ce9a9e25b4a850).()) |
| 124 | result =cxx . . $ QScriptValue#`operator=`(1a503f9e5bba28ab). ctx->thisObjectcxx . . $ QScriptContext#thisObject(73013aefd0020d47).(); |
| 125 | |
| 126 | eng_p->popContextcxx . . $ QScriptEnginePrivate#popContext(49f6e7a06ebc5aa8).(); |
| 127 | eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame. = oldFrame; |
| 128 | |
| 129 | return JSCcxx . . $ `<built-in>:463:9`!::asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(eng_p->scriptValueToJSCValuecxx . . $ QScriptEnginePrivate#scriptValueToJSCValue(1334d8176404fb05).(result)); |
| 130 | } |
| 131 | |
| 132 | FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#::FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#FunctionWithArgWrapper(148d36fd5d0cec51).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *exec, int length, const JSCcxx . . $ `<built-in>:463:9`!::Identifiercxx . . $ QTJSC/Identifier# &name, |
| 133 | QScriptEnginecxx . . $ QScriptEngine#::FunctionWithArgSignaturecxx . . $ QScriptEngine#FunctionWithArgSignature# function, void *arg) |
| 134 | : JSCcxx . . $ `<built-in>:463:9`!::PrototypeFunctioncxx . . $ QTJSC/PrototypeFunction#(exec, length, name, proxyCallcxx . . $ QScript/FunctionWithArgWrapper#proxyCall(cac2aec6ecb9506b).), |
| 135 | datacxx . . $ QScript/FunctionWithArgWrapper#data.(new Datacxx . . $ QScript/FunctionWithArgWrapper#Data#()) |
| 136 | { |
| 137 | datacxx . . $ QScript/FunctionWithArgWrapper#data.->functioncxx . . $ QScript/FunctionWithArgWrapper#Data#function. = function; |
| 138 | datacxx . . $ QScript/FunctionWithArgWrapper#data.->argcxx . . $ QScript/FunctionWithArgWrapper#Data#arg. = arg; |
| 139 | } |
| 140 | |
| 141 | FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#::~cxx . . $ QScript/FunctionWithArgWrapper#`~FunctionWithArgWrapper`(49f6e7a06ebc5aa8).FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#() |
| 142 | { |
| 143 | delete datacxx . . $ QScript/FunctionWithArgWrapper#data.; |
| 144 | } |
| 145 | |
| 146 | JSCcxx . . $ `<built-in>:463:9`!::ConstructTypecxx . . $ QTJSC/ConstructType# FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#::getConstructDatacxx . . $ QScript/FunctionWithArgWrapper#getConstructData(80014d68d6143eea).(JSCcxx . . $ `<built-in>:463:9`!::ConstructDatacxx . . $ QTJSC/ConstructData#& consData) |
| 147 | { |
| 148 | consData.nativecxx . . $ QTJSC/ConstructData#native..functioncxx . . $ QTJSC/ConstructData#$anonymous_type_0#function. =cxx . . $ QTJSC/NativeConstrWrapper#`operator=`(4f61eada803c3ef5). proxyConstructcxx . . $ QScript/FunctionWithArgWrapper#proxyConstruct(9a9a00b054b701a4).; |
| 149 | return JSCcxx . . $ `<built-in>:463:9`!::ConstructTypeHostcxx . . $ QTJSC/ConstructTypeHost.; |
| 150 | } |
| 151 | |
| 152 | JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue# FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#::proxyCallcxx . . $ QScript/FunctionWithArgWrapper#proxyCall(cac2aec6ecb9506b).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *exec, JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject# *callee, |
| 153 | JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue# thisObject, const JSCcxx . . $ `<built-in>:463:9`!::ArgListcxx . . $ QTJSC/ArgList# &args) |
| 154 | { |
| 155 | FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper# *self = static_cast<FunctionWithArgWrapper*>(callee); |
| 156 | QScriptEnginePrivatecxx . . $ QScriptEnginePrivate# *eng_p = QScriptcxx . . $ QScript/::scriptEngineFromExeccxx . . $ QScript/scriptEngineFromExec(29635cd1600319d1).(exec); |
| 157 | |
| 158 | JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *oldFrame = eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.; |
| 159 | eng_p->pushContextcxx . . $ QScriptEnginePrivate#pushContext(7ba009ce824f3495).(exec, thisObject, args, callee); |
| 160 | QScriptContextcxx . . $ QScriptContext# *ctx = eng_p->contextForFramecxx . . $ QScriptEnginePrivate#contextForFrame(daeb37b53c2d4631).(eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.); |
| 161 | |
| 162 | QScriptValuecxx . . $ QScriptValue# result = selfcxx . . $ QScriptValue#QScriptValue(6b35c8bde2804237).->datacxx . . $ QScript/FunctionWithArgWrapper#data.->functioncxx . . $ QScript/FunctionWithArgWrapper#Data#function.(ctx, QScriptEnginePrivatecxx . . $ QScriptEnginePrivate#::getcxx . . $ QScriptEnginePrivate#get(7dfa2ee4010a87cc).(eng_p), self->datacxx . . $ QScript/FunctionWithArgWrapper#data.->argcxx . . $ QScript/FunctionWithArgWrapper#Data#arg.); |
| 163 | |
| 164 | eng_p->popContextcxx . . $ QScriptEnginePrivate#popContext(49f6e7a06ebc5aa8).(); |
| 165 | eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame. = oldFrame; |
| 166 | |
| 167 | return eng_p->scriptValueToJSCValuecxx . . $ QScriptEnginePrivate#scriptValueToJSCValue(1334d8176404fb05).(result); |
| 168 | } |
| 169 | |
| 170 | JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject#* FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#::proxyConstructcxx . . $ QScript/FunctionWithArgWrapper#proxyConstruct(9a9a00b054b701a4).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *exec, JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject# *callee, |
| 171 | const JSCcxx . . $ `<built-in>:463:9`!::ArgListcxx . . $ QTJSC/ArgList# &args) |
| 172 | { |
| 173 | FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper# *self = static_cast<FunctionWithArgWrapper*>(callee); |
| 174 | QScriptEnginePrivatecxx . . $ QScriptEnginePrivate# *eng_p = QScriptcxx . . $ QScript/::scriptEngineFromExeccxx . . $ QScript/scriptEngineFromExec(29635cd1600319d1).(exec); |
| 175 | |
| 176 | JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *oldFrame = eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.; |
| 177 | eng_p->pushContextcxx . . $ QScriptEnginePrivate#pushContext(7ba009ce824f3495).(exec, JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue#(), args, callee, true); |
| 178 | QScriptContextcxx . . $ QScriptContext# *ctx = eng_p->contextForFramecxx . . $ QScriptEnginePrivate#contextForFrame(daeb37b53c2d4631).(eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame.); |
| 179 | |
| 180 | QScriptValuecxx . . $ QScriptValue# result = selfcxx . . $ QScriptValue#QScriptValue(6b35c8bde2804237).->datacxx . . $ QScript/FunctionWithArgWrapper#data.->functioncxx . . $ QScript/FunctionWithArgWrapper#Data#function.(ctx, QScriptEnginePrivatecxx . . $ QScriptEnginePrivate#::getcxx . . $ QScriptEnginePrivate#get(7dfa2ee4010a87cc).(eng_p) , self->datacxx . . $ QScript/FunctionWithArgWrapper#data.->argcxx . . $ QScript/FunctionWithArgWrapper#Data#arg.); |
| 181 | if (!result.isObjectcxx . . $ QScriptValue#isObject(50ce9a9e25b4a850).()) |
| 182 | result =cxx . . $ QScriptValue#`operator=`(1a503f9e5bba28ab). ctx->thisObjectcxx . . $ QScriptContext#thisObject(73013aefd0020d47).(); |
| 183 | |
| 184 | eng_p->popContextcxx . . $ QScriptEnginePrivate#popContext(49f6e7a06ebc5aa8).(); |
| 185 | eng_p->currentFramecxx . . $ QScriptEnginePrivate#currentFrame. = oldFrame; |
| 186 | |
| 187 | return JSCcxx . . $ `<built-in>:463:9`!::asObjectcxx . . $ QTJSC/asObject(107e81180f8dd622).(eng_p->scriptValueToJSCValuecxx . . $ QScriptEnginePrivate#scriptValueToJSCValue(1334d8176404fb05).(result)); |
| 188 | } |
| 189 | |
| 190 | } // namespace QScript |
| 191 | |
| 192 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |