Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/debugger/Debugger.h

raw symbols SCIP
1 /*
2 * Copyright (C) 1999-2001 Harri Porten ([email protected])
3 * Copyright (C) 2001 Peter Kelly ([email protected])
4 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 */
21
22 #ifndef Debugger_h
23 #define Debugger_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/debugger/Debugger.h:23:9`!
24
25 #include <debugger/DebuggerCallFrame.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/debugger/DebuggerCallFrame.h`/
26 #include <wtf/HashSet.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashSet.h`/
27
28 namespace JSCcxx . . $ QTJSC/ {
29
30 class ExecStatecxx . . $ QTJSC/ExecState#;
31 class JSGlobalDatacxx . . $ QTJSC/JSGlobalData#;
32 class JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#;
33 class JSValuecxx . . $ QTJSC/JSValue#;
34 class SourceCodecxx . . $ QTJSC/SourceCode#;
35 class UStringcxx . . $ QTJSC/UString#;
36
37 class Debuggercxx . . $ QTJSC/Debugger# {
38 public:
39 virtual ~cxx . . $ QTJSC/Debugger#`~Debugger`(49f6e7a06ebc5aa8).Debuggercxx . . $ QTJSC/Debugger#();
40
41 void attachcxx . . $ QTJSC/Debugger#attach(314241c1c980276a).(JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#*);
42 virtual void detachcxx . . $ QTJSC/Debugger#detach(314241c1c980276a).(JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#*);
43
44 #if PLATFORMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:33:9`!(QT)
45 #ifdef QT_BUILD_SCRIPT_LIBcxx . . $ `<built-in>:481:9`!
46 virtual void scriptUnloadcxx . . $ QTJSC/Debugger#scriptUnload(35cb52607f6af42f).(QT_PREPEND_NAMESPACEcxx . . $ qint64#(qint64) id)
47 {
48 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(id);
49 };
50 virtual void scriptLoadcxx . . $ QTJSC/Debugger#scriptLoad(f61a5dac2052f802).(QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(qint64) id, const UStringcxx . . $ QTJSC/UString# &program,
51 const UStringcxx . . $ QTJSC/UString# &fileName, int baseLineNumber)
52 {
53 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(id);
54 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(program);
55 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(fileName);
56 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(baseLineNumber);
57 };
58 virtual void contextPushcxx . . $ QTJSC/Debugger#contextPush(49f6e7a06ebc5aa8).() {};
59 virtual void contextPopcxx . . $ QTJSC/Debugger#contextPop(49f6e7a06ebc5aa8).() {};
60
61 virtual void evaluateStartcxx . . $ QTJSC/Debugger#evaluateStart(1624ee8275b10bda).(intptr_tcxx . . $ intptr_t# sourceID)
62 {
63 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(sourceID);
64 }
65 virtual void evaluateStopcxx . . $ QTJSC/Debugger#evaluateStop(661314651358aafa).(const JSCcxx . . $ `<built-in>:463:9`!::JSValuecxx . . $ QTJSC/JSValue#& returnValue, intptr_tcxx . . $ intptr_t# sourceID)
66 {
67 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(sourceID);
68 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(returnValue);
69 }
70
71 virtual void exceptionThrowcxx . . $ QTJSC/Debugger#exceptionThrow(988d3f41b66f3a59).(const JSCcxx . . $ QTJSC/::DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#& frame, intptr_tcxx . . $ intptr_t# sourceID, bool hasHandler)
72 {
73 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(frame);
74 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(sourceID);
75 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(hasHandler);
76 };
77 virtual void exceptionCatchcxx . . $ QTJSC/Debugger#exceptionCatch(26f6d5efea35a785).(const JSCcxx . . $ QTJSC/::DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#& frame, intptr_tcxx . . $ intptr_t# sourceID)
78 {
79 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(frame);
80 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(sourceID);
81 };
82
83 virtual void functionExitcxx . . $ QTJSC/Debugger#functionExit(661314651358aafa).(const JSCcxx . . $ QTJSC/::JSValuecxx . . $ QTJSC/JSValue#& returnValue, intptr_tcxx . . $ intptr_t# sourceID)
84 {
85 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(returnValue);
86 UNUSED_PARAMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/UnusedParam.h:27:9`!(sourceID);
87 };
88 #endif
89 #endif
90
91 virtual void sourceParsedcxx . . $ QTJSC/Debugger#sourceParsed(b9d3e5b00e66c0ae).(ExecStatecxx . . $ QTJSC/ExecState#*, const SourceCodecxx . . $ QTJSC/SourceCode#&, int errorLineNumber, const UStringcxx . . $ QTJSC/UString#& errorMessage) = 0;
92 virtual void exceptioncxx . . $ QTJSC/Debugger#exception(8d3cb298cf587715).(const DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#&, intptr_tcxx . . $ intptr_t# sourceID, int lineNumber, bool hasHandler) = 0;
93 virtual void atStatementcxx . . $ QTJSC/Debugger#atStatement(c7dddfe28e8e5e6c).(const DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#&, intptr_tcxx . . $ intptr_t# sourceID, int lineNumber) = 0;
94 virtual void callEventcxx . . $ QTJSC/Debugger#callEvent(c7dddfe28e8e5e6c).(const DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#&, intptr_tcxx . . $ intptr_t# sourceID, int lineNumber) = 0;
95 virtual void returnEventcxx . . $ QTJSC/Debugger#returnEvent(c7dddfe28e8e5e6c).(const DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#&, intptr_tcxx . . $ intptr_t# sourceID, int lineNumber) = 0;
96
97 virtual void willExecuteProgramcxx . . $ QTJSC/Debugger#willExecuteProgram(c7dddfe28e8e5e6c).(const DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#&, intptr_tcxx . . $ intptr_t# sourceID, int lineNumber) = 0;
98 virtual void didExecuteProgramcxx . . $ QTJSC/Debugger#didExecuteProgram(c7dddfe28e8e5e6c).(const DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#&, intptr_tcxx . . $ intptr_t# sourceID, int lineNumber) = 0;
99 virtual void didReachBreakpointcxx . . $ QTJSC/Debugger#didReachBreakpoint(c7dddfe28e8e5e6c).(const DebuggerCallFramecxx . . $ QTJSC/DebuggerCallFrame#&, intptr_tcxx . . $ intptr_t# sourceID, int lineNumber) = 0;
100
101 void recompileAllJSFunctionscxx . . $ QTJSC/Debugger#recompileAllJSFunctions(71c44650a83bfd83).(JSGlobalDatacxx . . $ QTJSC/JSGlobalData#*);
102
103 private:
104 HashSet<JSGlobalObject*> m_globalObjectscxx . . $ QTJSC/Debugger#m_globalObjects.;
105 };
106
107 // This function exists only for backwards compatibility with existing WebScriptDebugger clients.
108 JSValuecxx . . $ QTJSC/JSValue# evaluateInGlobalCallFramecxx . . $ QTJSC/evaluateInGlobalCallFrame(493c3e795f704541).(const UStringcxx . . $ QTJSC/UString#&, JSValuecxx . . $ QTJSC/JSValue#& exception, JSGlobalObjectcxx . . $ QTJSC/JSGlobalObject#*);
109
110 } // namespace JSC
111
112 #endif // Debugger_h