5#ifndef QV4RESOLVEDTYPEREFERNCE_P_H
6#define QV4RESOLVEDTYPEREFERNCE_P_H
19#include <QtQml/private/qtqmlglobal_p.h>
20#include <QtQml/private/qqmlrefcount_p.h>
21#include <QtQml/private/qqmlpropertycache_p.h>
22#include <QtQml/private/qqmltype_p.h>
23#include <QtQml/private/qv4compileddata_p.h>
27class QCryptographicHash;
37 bool addToHash(QCryptographicHash *hash, QHash<quintptr, QByteArray> *checksums);
42 void setType(QQmlType type) { m_type = std::move(type); }
50 Q_ASSERT(!m_isSelfReference);
51 return m_compilationUnit;
56 Q_ASSERT(!m_isSelfReference);
57 m_compilationUnit = unit;
63 m_typePropertyCache = std::move(cache);
67 void setVersion(QTypeRevision version) { m_version = version; }
79 QQmlPropertyCache::ConstPtr m_typePropertyCache;
80 QQmlRefPointer<QV4::CompiledData::CompilationUnit> m_compilationUnit;
85 bool m_isFullyDynamicType =
false;
86 bool m_isSelfReference =
false;
QTypeRevision version() const
QQmlPropertyCache::ConstPtr typePropertyCache() const
void doDynamicTypeCheck()
bool addToHash(QCryptographicHash *hash, QHash< quintptr, QByteArray > *checksums)
QQmlRefPointer< QV4::CompiledData::CompilationUnit > compilationUnit()
bool isSelfReference() const
void setFullyDynamicType(bool fullyDynamic)
void setIsSelfReference(bool selfReference)
void setType(QQmlType type)
void setTypePropertyCache(QQmlPropertyCache::ConstPtr cache)
void setCompilationUnit(const QQmlRefPointer< QV4::CompiledData::CompilationUnit > &unit)
void setVersion(QTypeRevision version)
bool isFullyDynamicType() const
QQmlPropertyCache::ConstPtr createPropertyCache()
Returns the property cache, creating one if it doesn't already exist.
bool qtTypeInherits(const QMetaObject *mo)