Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qv4scopedvalue_p.h File Reference

(67bb71a051a562da1c778efa6c99cf64922adb80)

#include "qv4engine_p.h"
#include "qv4value_p.h"
#include "qv4property_p.h"
#include "qv4propertykey_p.h"
+ Include dependency graph for qv4scopedvalue_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QV4::Scope
 
struct  QV4::ScopedValue
 
struct  QV4::ScopedPropertyKey
 
struct  QV4::Scoped< T >
 
struct  QV4::ScopedProperty
 

Namespaces

namespace  QV4
 

Macros

#define SAVE_JS_STACK(ctx)
 
#define CHECK_JS_STACK(ctx)
 
#define CHECK_EXCEPTION()
 
#define RETURN_UNDEFINED()
 
#define RETURN_RESULT(r)
 
#define THROW_TYPE_ERROR()
 
#define THROW_GENERIC_ERROR(str)
 

Functions

bool QV4::hasExceptionOrIsInterrupted (ExecutionEngine *engine)
 

Macro Definition Documentation

◆ CHECK_EXCEPTION

#define CHECK_EXCEPTION ( )
Value:
do { \
if (hasExceptionOrIsInterrupted(scope.engine)) { \
} \
} while (false)
static constexpr ReturnedValue undefined()

Definition at line 40 of file qv4scopedvalue_p.h.

◆ CHECK_JS_STACK

#define CHECK_JS_STACK ( ctx)
Value:
Q_ASSERT(__jsStack == ctx->engine->jsStackTop)
EGLContext ctx
#define Q_ASSERT(cond)
Definition qrandom.cpp:47

Definition at line 29 of file qv4scopedvalue_p.h.

◆ RETURN_RESULT

#define RETURN_RESULT ( r)
Value:
return QV4::Encode(r)
GLboolean r
[2]

Definition at line 50 of file qv4scopedvalue_p.h.

◆ RETURN_UNDEFINED

#define RETURN_UNDEFINED ( )
Value:

Definition at line 47 of file qv4scopedvalue_p.h.

◆ SAVE_JS_STACK

#define SAVE_JS_STACK ( ctx)
Value:
Value *__jsStack = ctx->engine->jsStackTop

Definition at line 28 of file qv4scopedvalue_p.h.

◆ THROW_GENERIC_ERROR

#define THROW_GENERIC_ERROR ( str)
Value:
return scope.engine->throwError(QString::fromUtf8(str))
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition qstring.cpp:6051
QString str
[2]

Definition at line 56 of file qv4scopedvalue_p.h.

◆ THROW_TYPE_ERROR

#define THROW_TYPE_ERROR ( )
Value:
return scope.engine->throwTypeError()

Definition at line 53 of file qv4scopedvalue_p.h.