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
qv4datacollector.cpp File Reference

(604da0a395840d7370cde1a55db460156c3a3e8c)

#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, QSet< T >::insert(), QV4::StaticValue::Integer_Type, it, QV4::StaticValue::Managed_Type, QJsonValue::Null, QV4::StaticValue::Null_Type, o, Q_ASSERT, qIsFinite(), qIsNaN(), QStringLiteral, 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 211 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: