Debian Codegraph @

src/script/bridge/qscriptfunction_p.h

raw symbols SCIP
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 #ifndef QSCRIPTFUNCTION_P_H
41 #define QSCRIPTFUNCTION_P_Hcxx . . $ `src/script/bridge/qscriptfunction_p.h:41:9`!
42
43 //
44 // W A R N I N G
45 // -------------
46 //
47 // This file is not part of the Qt API. It exists purely as an
48 // implementation detail. This header file may change from version to
49 // version without notice, or even be removed.
50 //
51 // We mean it.
52 //
53
54 #include <QtCore/qglobal.h>
55
56 #include "qscriptengine.h"cxx . . $ `<file>/include/QtScript/qscriptengine.h`/
57
58 #include "PrototypeFunction.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/PrototypeFunction.h`/
59
60 QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`!
61
62 namespace QScriptcxx . . $ QScript/
63 {
64
65 class FunctionWrappercxx . . $ QScript/FunctionWrapper# : public JSCcxx . . $ QTJSC/::PrototypeFunctioncxx . . $ QTJSC/PrototypeFunction# // ### subclass InternalFunction instead
66 {
67 public:
68 // work around CELL_SIZE limitation
69 struct Datacxx . . $ QScript/FunctionWrapper#Data#
70 {
71 QScriptEnginecxx . . $ QScriptEngine#::FunctionSignaturecxx . . $ QScriptEngine#FunctionSignature# functioncxx . . $ QScript/FunctionWrapper#Data#function.;
72 };
73
74 FunctionWrappercxx . . $ QScript/FunctionWrapper#FunctionWrapper(11f6175c23104ecc).(JSCcxx . . $ QTJSC/::ExecStatecxx . . $ QTJSC/ExecState#*, int length, const JSCcxx . . $ QTJSC/::Identifiercxx . . $ QTJSC/Identifier#&,
75 QScriptEnginecxx . . $ QScriptEngine#::FunctionSignaturecxx . . $ QScriptEngine#FunctionSignature#);
76 ~cxx . . $ QScript/FunctionWrapper#`~FunctionWrapper`(49f6e7a06ebc5aa8).FunctionWrappercxx . . $ QScript/FunctionWrapper#();
77
78 virtual const JSCcxx . . $ QTJSC/::ClassInfocxx . . $ QTJSC/ClassInfo#* classInfocxx . . $ QScript/FunctionWrapper#classInfo(f90fb4cda7a7c2e2).() const { return &infocxx . . $ QScript/FunctionWrapper#info.; }
79 static const JSCcxx . . $ `<built-in>:463:9`!::ClassInfocxx . . $ QTJSC/ClassInfo# infocxx . . $ QScript/FunctionWrapper#info.;
80
81 QScriptEnginecxx . . $ QScriptEngine#::FunctionSignaturecxx . . $ QScriptEngine#FunctionSignature# functioncxx . . $ QScript/FunctionWrapper#function(462ebbe7af39d07e).() const
82 { return datacxx . . $ QScript/FunctionWrapper#data.->functioncxx . . $ QScript/FunctionWrapper#Data#function.; }
83
84 private:
85 virtual JSCcxx . . $ `<built-in>:463:9`!::ConstructTypecxx . . $ QTJSC/ConstructType# getConstructDatacxx . . $ QScript/FunctionWrapper#getConstructData(80014d68d6143eea).(JSCcxx . . $ QTJSC/::ConstructDatacxx . . $ QTJSC/ConstructData#&);
86
87 static JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue# JSC_HOST_CALLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:1060:9`! proxyCallcxx . . $ QScript/FunctionWrapper#proxyCall(cac2aec6ecb9506b).(JSCcxx . . $ QTJSC/::ExecStatecxx . . $ QTJSC/ExecState# *, JSCcxx . . $ QTJSC/::JSObjectcxx . . $ QTJSC/JSObject# *,
88 JSCcxx . . $ QTJSC/::JSValuecxx . . $ QTJSC/JSValue#, const JSCcxx . . $ `<built-in>:463:9`!::ArgListcxx . . $ QTJSC/ArgList# &);
89 static JSCcxx . . $ QTJSC/::JSObjectcxx . . $ QTJSC/JSObject#* proxyConstructcxx . . $ QScript/FunctionWrapper#proxyConstruct(9a9a00b054b701a4).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *, JSCcxx . . $ QTJSC/::JSObjectcxx . . $ QTJSC/JSObject# *,
90 const JSCcxx . . $ QTJSC/::ArgListcxx . . $ QTJSC/ArgList# &);
91
92 private:
93 Datacxx . . $ QScript/FunctionWrapper#Data# *datacxx . . $ QScript/FunctionWrapper#data.;
94 };
95
96 class FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper# : public JSCcxx . . $ QTJSC/::PrototypeFunctioncxx . . $ QTJSC/PrototypeFunction#
97 {
98 public:
99 // work around CELL_SIZE limitation
100 struct Datacxx . . $ QScript/FunctionWithArgWrapper#Data#
101 {
102 QScriptEnginecxx . . $ QScriptEngine#::FunctionWithArgSignaturecxx . . $ QScriptEngine#FunctionWithArgSignature# functioncxx . . $ QScript/FunctionWithArgWrapper#Data#function.;
103 void *argcxx . . $ QScript/FunctionWithArgWrapper#Data#arg.;
104 };
105
106 FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#FunctionWithArgWrapper(148d36fd5d0cec51).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState#*, int length, const JSCcxx . . $ QTJSC/::Identifiercxx . . $ QTJSC/Identifier#&,
107 QScriptEnginecxx . . $ QScriptEngine#::FunctionWithArgSignaturecxx . . $ QScriptEngine#FunctionWithArgSignature#, void *);
108 ~cxx . . $ QScript/FunctionWithArgWrapper#`~FunctionWithArgWrapper`(49f6e7a06ebc5aa8).FunctionWithArgWrappercxx . . $ QScript/FunctionWithArgWrapper#();
109
110 virtual const JSCcxx . . $ QTJSC/::ClassInfocxx . . $ QTJSC/ClassInfo#* classInfocxx . . $ QScript/FunctionWithArgWrapper#classInfo(f90fb4cda7a7c2e2).() const { return &infocxx . . $ QScript/FunctionWithArgWrapper#info.; }
111 static const JSCcxx . . $ QTJSC/::ClassInfocxx . . $ QTJSC/ClassInfo# infocxx . . $ QScript/FunctionWithArgWrapper#info.;
112
113 QScriptEnginecxx . . $ QScriptEngine#::FunctionWithArgSignaturecxx . . $ QScriptEngine#FunctionWithArgSignature# functioncxx . . $ QScript/FunctionWithArgWrapper#function(1f712e66faf02582).() const
114 { return datacxx . . $ QScript/FunctionWithArgWrapper#data.->functioncxx . . $ QScript/FunctionWithArgWrapper#Data#function.; }
115
116 void *argcxx . . $ QScript/FunctionWithArgWrapper#arg(45a5c5ac6be858a8).() const
117 { return datacxx . . $ QScript/FunctionWithArgWrapper#data.->argcxx . . $ QScript/FunctionWithArgWrapper#Data#arg.; }
118
119 private:
120 virtual JSCcxx . . $ QTJSC/::ConstructTypecxx . . $ QTJSC/ConstructType# getConstructDatacxx . . $ QScript/FunctionWithArgWrapper#getConstructData(80014d68d6143eea).(JSCcxx . . $ QTJSC/::ConstructDatacxx . . $ QTJSC/ConstructData#&);
121
122 static JSCcxx . . $ QTJSC/::JSValuecxx . . $ QTJSC/JSValue# JSC_HOST_CALLcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:1060:9`! proxyCallcxx . . $ QScript/FunctionWithArgWrapper#proxyCall(cac2aec6ecb9506b).(JSCcxx . . $ QTJSC/::ExecStatecxx . . $ QTJSC/ExecState# *, JSCcxx . . $ QTJSC/::JSObjectcxx . . $ QTJSC/JSObject# *,
123 JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue# , const JSCcxx . . $ QTJSC/::ArgListcxx . . $ QTJSC/ArgList# &);
124 static JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject#* proxyConstructcxx . . $ QScript/FunctionWithArgWrapper#proxyConstruct(9a9a00b054b701a4).(JSCcxx . . $ `<built-in>:463:9`!::ExecStatecxx . . $ QTJSC/ExecState# *, JSCcxx . . $ `<built-in>:463:9`!::JSObjectcxx . . $ QTJSC/JSObject# *,
125 const JSCcxx . . $ `<built-in>:463:9`!::ArgListcxx . . $ QTJSC/ArgList# &);
126
127 private:
128 Datacxx . . $ QScript/FunctionWithArgWrapper#Data# *datacxx . . $ QScript/FunctionWithArgWrapper#data.;
129 };
130
131 } // namespace QScript
132
133 QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`!
134
135 #endif