Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qv4debugjob.h>
Public Member Functions | |
JavaScriptJob (QV4::ExecutionEngine *engine, int frameNr, int context, const QString &script) | |
void | run () override |
bool | hasExeption () const |
Public Member Functions inherited from QV4DebugJob | |
virtual | ~QV4DebugJob () |
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 24 of file qv4debugjob.cpp.
|
protectedpure virtual |
Implemented in EvalJob, and ExpressionEvalJob.
Referenced by run().
bool JavaScriptJob::hasExeption | ( | ) | const |
Definition at line 97 of file qv4debugjob.cpp.
Referenced by ExpressionEvalJob::handleResult().
|
overridevirtual |
Implements QV4DebugJob.
Definition at line 30 of file qv4debugjob.cpp.
References QV4::ExecutionEngine::catchException(), QV4::QmlContext::create(), QV4::ExecutionEngine::currentContext(), QV4::EngineBase::currentStackFrame, QV4::Scope::engine, QV4::Compiler::Eval, frame, QQmlContextPrivate::get(), QQmlContextData::get(), QV4::ExecutionEngine::globalCode, handleResult(), QV4::Scope::hasException(), i, QV4::Script::inheritContext, 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().