![]() |
Qt 6.x
The Qt SDK
|
#include <qv4debugjob.h>
Public Member Functions | |
JavaScriptJob (QV4::ExecutionEngine *engine, int frameNr, int context, const QString &script) | |
void | run () override |
bool | hasExeption () const |
![]() | |
virtual | ~QV4DebugJob () |
virtual void | run ()=0 |
Protected Member Functions | |
virtual void | handleResult (QV4::ScopedValue &result)=0 |
Definition at line 23 of file qv4debugjob.h.
JavaScriptJob::JavaScriptJob | ( | QV4::ExecutionEngine * | engine, |
int | frameNr, | ||
int | context, | ||
const QString & | script | ||
) |
Definition at line 22 of file qv4debugjob.cpp.
|
protectedpure virtual |
Implemented in EvalJob, and ExpressionEvalJob.
Referenced by run().
bool JavaScriptJob::hasExeption | ( | ) | const |
Definition at line 95 of file qv4debugjob.cpp.
Referenced by ExpressionEvalJob::handleResult().
|
overridevirtual |
Implements QV4DebugJob.
Definition at line 28 of file qv4debugjob.cpp.
References QV4::ExecutionEngine::catchException(), QV4::QmlContext::create(), QV4::ExecutionEngine::currentContext(), QV4::EngineBase::currentStackFrame, QV4::Scope::engine, QV4::Compiler::Eval, frame, function, QQmlContextPrivate::get(), QQmlContextData::get(), QV4::ExecutionEngine::globalCode, handleResult(), QV4::Scope::hasException(), i, QV4::Script::inheritContext, QQmlContextPrivate::instances(), QV4::ExecutionEngine::newObject(), QV4::ExecutionEngine::newString(), QQmlDebugService::objectForId(), QV4::Script::parse(), qmlContext(), QV4::ExecutionEngine::qmlContext(), QV4::ExecutionEngine::qmlEngine(), qmlEngine(), QQmlEngine::rootContext(), QV4::Script::run(), QV4::ExecutionEngine::scriptContext(), QV4::Script::strictMode, and QV4::QObjectWrapper::wrap().