Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qv4datacollector.cpp File Reference
#include "qv4datacollector.h"
#include "qv4debugger.h"
#include "qv4debugjob.h"
#include <private/qv4script_p.h>
#include <private/qv4string_p.h>
#include <private/qv4objectiterator_p.h>
#include <private/qv4identifierhash_p.h>
#include <private/qv4runtime_p.h>
#include <private/qv4identifiertable_p.h>
#include <private/qqmlcontext_p.h>
#include <private/qqmlengine_p.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsonobject.h>
+ Include dependency graph for qv4datacollector.cpp:

Go to the source code of this file.

Classes

class  CapturePreventer
 

Functions

const QV4::ObjectcollectProperty (const QV4::ScopedValue &value, QV4::ExecutionEngine *engine, QJsonObject &dict)
 
QJsonObject toRef (QV4DataCollector::Ref ref)
 

Function Documentation

◆ collectProperty()

const QV4::Object * collectProperty ( const QV4::ScopedValue value,
QV4::ExecutionEngine engine,
QJsonObject dict 
)

Definition at line 88 of file qv4datacollector.cpp.

References QV4::Value::as(), attrs, QV4::StaticValue::Boolean_Type, QV4::Runtime::TypeofValue::call(), QV4::StaticValue::Empty_Type, engine, QV4::ObjectIterator::EnumerableOnly, QJsonObject::insert(), QV4::StaticValue::Integer_Type, it, QV4::StaticValue::Managed_Type, QJsonValue::Null, QV4::StaticValue::Null_Type, o, Q_ASSERT, qIsFinite(), qIsNaN(), QStringLiteral, QV4::Value::toQStringNoThrow(), QJsonValue::Undefined, and QV4::StaticValue::Undefined_Type.

Referenced by QV4DataCollector::lookupRef().

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

◆ toRef()

Definition at line 210 of file qv4datacollector.cpp.

References QJsonObject::insert(), and QStringLiteral.

Referenced by QV4DataCollector::buildFrame().

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