Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/runtime/ConstructData.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
14 * its contributors may be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29 #ifndef ConstructData_h
30 #define ConstructData_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/ConstructData.h:30:9`!
31
32 namespace JSCcxx . . $ `<built-in>:463:9`! {
33
34 class ArgListcxx . . $ QTJSC/ArgList#;
35 class ExecStatecxx . . $ QTJSC/ExecState#;
36 class FunctionExecutablecxx . . $ QTJSC/FunctionExecutable#;
37 class JSObjectcxx . . $ QTJSC/JSObject#;
38 class JSValuecxx . . $ QTJSC/JSValue#;
39 class ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#;
40
41 enum ConstructTypecxx . . $ QTJSC/ConstructType# {
42 ConstructTypeNonecxx . . $ QTJSC/ConstructTypeNone.,
43 ConstructTypeHostcxx . . $ QTJSC/ConstructTypeHost.,
44 ConstructTypeJScxx . . $ QTJSC/ConstructTypeJS.
45 };
46
47 typedef JSObjectcxx . . $ QTJSC/JSObject#* (*NativeConstructorcxx . . $ QTJSC/NativeConstructor#)(ExecStatecxx . . $ QTJSC/ExecState#*, JSObjectcxx . . $ QTJSC/JSObject#*, const ArgListcxx . . $ QTJSC/ArgList#&);
48
49 #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`!
50 class NativeConstrWrappercxx . . $ QTJSC/NativeConstrWrapper#
51 {
52 NativeConstructorcxx . . $ QTJSC/NativeConstructor# ptrcxx . . $ QTJSC/NativeConstrWrapper#ptr.;
53 //Hack. If this variable is true and if debugger is attached at the end of
54 //operator() execution functionExit event will be created (in most cases it will be default)
55 //This variable was created because of FunctionWrapper::proxyCall method that change result
56 //on fly. Event shuld be created with original value so the method should call it itself.
57 bool callDebuggerFunctionExitcxx . . $ QTJSC/NativeConstrWrapper#callDebuggerFunctionExit.;
58 public:
59 inline NativeConstrWrappercxx . . $ QTJSC/NativeConstrWrapper#& operatorcxx . . $ QTJSC/NativeConstrWrapper#`operator=`(4f61eada803c3ef5).=(NativeConstructorcxx . . $ QTJSC/NativeConstructor# func)
60 {
61 callDebuggerFunctionExitcxx . . $ QTJSC/NativeConstrWrapper#callDebuggerFunctionExit. = true;
62 ptrcxx . . $ QTJSC/NativeConstrWrapper#ptr. = func;
63 return *this;
64 }
65 inline operatorcxx . . $ QTJSC/NativeConstrWrapper#`operator QTJSC::JSObject *(*)(QTJSC::ExecState *, QTJSC::JSObject *, const QTJSC::ArgList &)`(2ee5dd7d13f87f08). NativeConstructorcxx . . $ QTJSC/NativeConstructor#() const {return ptrcxx . . $ QTJSC/NativeConstrWrapper#ptr.;}
66 inline operatorcxx . . $ QTJSC/NativeConstrWrapper#`operator bool`(50ce9a9e25b4a850). bool() const {return ptrcxx . . $ QTJSC/NativeConstrWrapper#ptr.;}
67
68 inline void doNotCallDebuggerFunctionExitcxx . . $ QTJSC/NativeConstrWrapper#doNotCallDebuggerFunctionExit(49f6e7a06ebc5aa8).() {callDebuggerFunctionExitcxx . . $ QTJSC/NativeConstrWrapper#callDebuggerFunctionExit. = false;}
69 JSObjectcxx . . $ QTJSC/JSObject#* operatorcxx . . $ QTJSC/NativeConstrWrapper#`operator()`(1a7684fd96089e31).()(ExecStatecxx . . $ QTJSC/ExecState#*, JSObjectcxx . . $ QTJSC/JSObject#*, const ArgListcxx . . $ QTJSC/ArgList#&) const;
70 };
71 #endif
72
73 #if defined(QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`!) && OScxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:49:9`!(SOLARIS)
74 struct
75 #else
76 union
77 #endif
78 ConstructDatacxx . . $ QTJSC/ConstructData# {
79 structcxx . . $ QTJSC/ConstructData#$anonymous_type_0# {
80 #ifndef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`!
81 NativeConstructor function;
82 #else
83 NativeConstrWrappercxx . . $ QTJSC/NativeConstrWrapper# functioncxx . . $ QTJSC/ConstructData#$anonymous_type_0#function.;
84 #endif
85 } nativecxx . . $ QTJSC/ConstructData#native.;
86 structcxx . . $ QTJSC/ConstructData#$anonymous_type_1# {
87 FunctionExecutablecxx . . $ QTJSC/FunctionExecutable#* functionExecutablecxx . . $ QTJSC/ConstructData#$anonymous_type_1#functionExecutable.;
88 ScopeChainNodecxx . . $ QTJSC/ScopeChainNode#* scopeChaincxx . . $ QTJSC/ConstructData#$anonymous_type_1#scopeChain.;
89 } jscxx . . $ QTJSC/ConstructData#js.;
90 };
91
92 JSObjectcxx . . $ QTJSC/JSObject#* constructcxx . . $ QTJSC/construct(65d523ed9ce856ba).(ExecStatecxx . . $ QTJSC/ExecState#*, JSValuecxx . . $ QTJSC/JSValue# constructor, ConstructTypecxx . . $ QTJSC/ConstructType#, const ConstructDatacxx . . $ QTJSC/ConstructData#&, const ArgListcxx . . $ QTJSC/ArgList#&);
93
94 } // namespace JSC
95
96 #endif // ConstructData_h