![]() |
Qt 6.x
The Qt SDK
|
#include <qv4stackframe_p.h>
Inheritance diagram for QV4::CppStackFrame:
Collaboration diagram for QV4::CppStackFrame:Public Member Functions | |
| void | init (Function *v4Function, int argc, Kind kind) |
| bool | isJSTypesFrame () const |
| bool | isMetaTypesFrame () const |
| QString | source () const |
| QString | function () const |
| int | lineNumber () const |
| int | statementNumber () const |
| int | missingLineNumber () const |
| CppStackFrame * | parentFrame () const |
| void | setParentFrame (CppStackFrame *parentFrame) |
| int | argc () const |
| ExecutionContext * | context () const |
| Heap::CallContext * | callContext () const |
| ReturnedValue | thisObject () const |
Public Attributes | |
| int | instructionPointer |
| Function * | v4Function |
Protected Member Functions | |
| CppStackFrame ()=default | |
| void | push (EngineBase *engine) |
| void | pop (EngineBase *engine) |
| Heap::CallContext * | callContext (Heap::ExecutionContext *ctx) const |
Additional Inherited Members | ||
Protected Types inherited from QV4::CppStackFrameBase | ||
| enum class | Kind : quint8 { JS , Meta } | |
Protected Attributes inherited from QV4::CppStackFrameBase | ||
| CppStackFrame * | parent | |
| Function * | v4Function | |
| int | originalArgumentsCount | |
| int | instructionPointer | |
| union { | ||
| struct { | ||
| Value * savedStackTop | ||
| CallData * jsFrame | ||
| const Value * originalArguments | ||
| const char * yield | ||
| const char * unwindHandler | ||
| const char * unwindLabel | ||
| int unwindLevel | ||
| bool yieldIsIterator | ||
| bool callerCanHandleTailCall | ||
| bool pendingTailCall | ||
| bool isTailCalling | ||
| } | ||
| struct { | ||
| ExecutionContext * context | ||
| QObject * thisObject | ||
| const QMetaType * metaTypes | ||
| void ** returnAndArgs | ||
| bool returnValueIsUndefined | ||
| } | ||
| }; | ||
| Kind | kind | |
Definition at line 65 of file qv4stackframe_p.h.
|
protecteddefault |
|
inline |
Definition at line 92 of file qv4stackframe_p.h.
|
inline |
Definition at line 96 of file qv4stackframe_p.h.
References callContext(), context, and d.
Referenced by callContext().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 114 of file qv4stackframe_p.h.
|
inline |
Definition at line 282 of file qv4stackframe_p.h.
References context(), isJSTypesFrame(), isMetaTypesFrame(), and Q_ASSERT.
Referenced by context(), and QV4DataCollector::getScopeTypes().
Here is the call graph for this function:
Here is the caller graph for this function:| QString CppStackFrame::function | ( | ) | const |
Definition at line 15 of file qv4stackframe.cpp.
References QV4::Function::name(), QV4::Heap::String::toQString(), and v4Function.
Here is the call graph for this function:Definition at line 72 of file qv4stackframe_p.h.
|
inline |
Definition at line 79 of file qv4stackframe_p.h.
Referenced by QV4::Runtime::LoadSuperProperty::call(), QV4::Runtime::StoreSuperProperty::call(), context(), and QV4::getSuperBase().
Here is the caller graph for this function:
|
inline |
Definition at line 80 of file qv4stackframe_p.h.
Referenced by QV4::Runtime::LoadSuperProperty::call(), QV4::Runtime::StoreSuperProperty::call(), context(), and QV4::getSuperBase().
Here is the caller graph for this function:| int CppStackFrame::lineNumber | ( | ) | const |
Definition at line 39 of file qv4stackframe.cpp.
References line, lineAndStatement(), and missingLineNumber().
Referenced by QV4Debugger::currentExecutionState(), QV4::generateWarning(), QV4Debugger::maybeBreakAtInstruction(), and NativeDebugger::maybeBreakAtInstruction().
Here is the call graph for this function:
Here is the caller graph for this function:| int CppStackFrame::missingLineNumber | ( | ) | const |
Definition at line 53 of file qv4stackframe.cpp.
References Q_ASSERT.
Referenced by lineNumber().
Here is the caller graph for this function:
|
inline |
Definition at line 89 of file qv4stackframe_p.h.
References parent.
Referenced by QV4Debugger::leavingFunction(), and NativeDebugger::leavingFunction().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 109 of file qv4stackframe_p.h.
|
inlineprotected |
Definition at line 102 of file qv4stackframe_p.h.
|
inline |
Definition at line 90 of file qv4stackframe_p.h.
References parent.
| QString CppStackFrame::source | ( | ) | const |
Definition at line 10 of file qv4stackframe.cpp.
References QV4::Function::sourceFile(), and v4Function.
Referenced by QV4::generateWarning().
Here is the call graph for this function:
Here is the caller graph for this function:| int CppStackFrame::statementNumber | ( | ) | const |
Definition at line 46 of file qv4stackframe.cpp.
References lineAndStatement().
Here is the call graph for this function:| ReturnedValue QV4::CppStackFrame::thisObject | ( | ) | const |
Definition at line 62 of file qv4stackframe.cpp.
References Q_ASSERT, and QV4::QObjectWrapper::wrap().
Here is the call graph for this function:| int QV4::CppStackFrameBase::instructionPointer |
Definition at line 37 of file qv4stackframe_p.h.
Referenced by QV4::ScopedStackFrame::ScopedStackFrame().
| Function* QV4::CppStackFrameBase::v4Function |
Definition at line 35 of file qv4stackframe_p.h.
Referenced by QV4::ExecutionContext::deleteProperty(), QV4::EvalFunction::evalCall(), QJSEngine::evaluate(), function(), QV4Debugger::getFunction(), QV4::QQmlContextWrapper::lookupInParentContextHierarchy(), QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter(), source(), QV4::Object::virtualResolveLookupGetter(), QV4::QQmlTypeWrapper::virtualResolveLookupGetter(), and QV4::Object::virtualResolveLookupSetter().