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>.
Loading...
Searching...
No Matches
QQmlJavaScriptExpressionCapture Class Reference
+ Collaboration diagram for QQmlJavaScriptExpressionCapture:

Public Member Functions

 QQmlJavaScriptExpressionCapture (QQmlJavaScriptExpression *expression, QQmlEngine *engine)
 
 ~QQmlJavaScriptExpressionCapture ()
 
bool catchException (const QV4::Scope &scope) const
 

Detailed Description

Definition at line 158 of file qqmljavascriptexpression.cpp.

Constructor & Destructor Documentation

◆ QQmlJavaScriptExpressionCapture()

QQmlJavaScriptExpressionCapture::QQmlJavaScriptExpressionCapture ( QQmlJavaScriptExpression * expression,
QQmlEngine * engine )
inline

Definition at line 162 of file qqmljavascriptexpression.cpp.

References QQmlJavaScriptExpression::activeGuards, QForwardFieldList< N, nextMember, Tag >::isEmpty(), QQmlJavaScriptExpression::notifyOnValueChanged(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ ~QQmlJavaScriptExpressionCapture()

QQmlJavaScriptExpressionCapture::~QQmlJavaScriptExpressionCapture ( )
inline

Definition at line 176 of file qqmljavascriptexpression.cpp.

References QQmlPropertyCapture::errorString, QQmlPropertyCapture::guards, QQmlEnginePrivate::propertyCapture, qPrintable, qWarning, and QForwardFieldList< N, nextMember, Tag >::takeFirst().

+ Here is the call graph for this function:

Member Function Documentation

◆ catchException()

bool QQmlJavaScriptExpressionCapture::catchException ( const QV4::Scope & scope) const
inline

Definition at line 191 of file qqmljavascriptexpression.cpp.

References QV4::ExecutionEngine::catchException(), QQmlDelayedError::catchJavaScriptException(), QQmlDelayedError::clearError(), QQmlJavaScriptExpression::delayedError(), QV4::Scope::engine, QQmlPropertyCapture::expression, QQmlJavaScriptExpression::hasDelayedError(), QV4::Scope::hasException(), and QQmlJavaScriptExpression::DeleteWatcher::wasDeleted().

Referenced by QQmlJavaScriptExpression::evaluate(), and QQmlJavaScriptExpression::evaluate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: