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
Collector Class Reference
+ Collaboration diagram for Collector:

Public Member Functions

 Collector (QV4::ExecutionEngine *engine)
 
void collect (QJsonArray *output, const QString &parentIName, const QString &name, const QV4::Value &value)
 
bool isExpanded (const QString &iname) const
 

Public Attributes

QV4::ExecutionEnginem_engine
 
int m_anonCount
 
QStringList m_expanded
 

Detailed Description

Definition at line 70 of file qqmlnativedebugservice.cpp.

Constructor & Destructor Documentation

◆ Collector()

Collector::Collector ( QV4::ExecutionEngine * engine)
inline

Definition at line 73 of file qqmlnativedebugservice.cpp.

Member Function Documentation

◆ collect()

void Collector::collect ( QJsonArray * output,
const QString & parentIName,
const QString & name,
const QV4::Value & value )

Definition at line 333 of file qqmlnativedebugservice.cpp.

References QV4::Value::as(), attrs, QV4::StaticValue::Boolean_Type, QV4::Runtime::TypeofValue::call(), collect(), QV4::StaticValue::Empty_Type, QV4::ObjectIterator::EnumerableOnly, QString::fromLatin1(), i, QV4::StaticValue::Integer_Type, QString::isEmpty(), isExpanded(), it, m_anonCount, m_engine, QV4::StaticValue::Managed_Type, QV4::StaticValue::Null_Type, QString::number(), out, QStringLiteral, QV4::StaticValue::Undefined_Type, and QV4::StaticValue::value().

Referenced by collect().

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

◆ isExpanded()

bool Collector::isExpanded ( const QString & iname) const
inline

Definition at line 80 of file qqmlnativedebugservice.cpp.

References m_expanded.

Referenced by collect().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_anonCount

int Collector::m_anonCount

Definition at line 84 of file qqmlnativedebugservice.cpp.

Referenced by collect().

◆ m_engine

QV4::ExecutionEngine* Collector::m_engine

Definition at line 83 of file qqmlnativedebugservice.cpp.

Referenced by collect().

◆ m_expanded

QStringList Collector::m_expanded

Definition at line 85 of file qqmlnativedebugservice.cpp.

Referenced by isExpanded().


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