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
QV4::CompiledData::CompilationUnit Struct Referencefinal

#include <qv4compileddata_p.h>

Inheritance diagram for QV4::CompiledData::CompilationUnit:
Collaboration diagram for QV4::CompiledData::CompilationUnit:

Classes

struct  FunctionIterator

Public Types

enum class  ListPropertyAssignBehavior { Append , Replace , ReplaceIfNotDefault }
using CompiledObject = const CompiledData::Object
using CompiledFunction = const CompiledData::Function
using CompiledBinding = const CompiledData::Binding
using IdToObjectMap = QMap<int, int>

Public Member Functions

 CompilationUnit (const Unit *unitData, const QQmlPrivate::AOTCompiledFunction *aotCompiledFunctions, LookupValidationFn validateLookupSignatures, const QString &fileName=QString(), const QString &finalUrlString=QString())
Q_QML_EXPORT CompilationUnit (const Unit *unitData=nullptr, const QString &fileName=QString(), const QString &finalUrlString=QString())
Q_QML_EXPORT ~CompilationUnit ()
const Unit * unitData () const
void setUnitData (const Unit *unitData, const QmlUnit *qmlUnit=nullptr, const QString &fileName=QString(), const QString &finalUrlString=QString())
QString stringAt (uint indexindex) const
QString fileName () const
QString finalUrlString () const
QString bindingValueAsString (const CompiledData::Binding *binding) const
QString bindingValueAsScriptString (const CompiledData::Binding *binding) const
double bindingValueAsNumber (const CompiledData::Binding *binding) const
Q_QML_EXPORT bool loadFromDisk (const QUrl &url, const QDateTime &sourceTimeStamp, qxp::function_ref< QByteArray() const > sourceChecksum, QString *errorString)
Q_QML_EXPORT bool saveToDisk (const QUrl &unitUrl, qxp::function_ref< QByteArray() const > sourceChecksum, QString *errorString) const
int importCount () const
const CompiledData::Import * importAt (int indexindex) const
Q_QML_EXPORT QStringList moduleRequests () const
QUrl url () const
QUrl finalUrl () const
ResolvedTypeReference * resolvedType (int idid) const
ResolvedTypeReference * resolvedType (QMetaType typetype) const
QQmlPropertyCache::ConstPtr rootPropertyCache () const
int objectCount () const
int resolvedIndex (int indexindex) const
const CompiledObject * objectAt (int indexindex) const
const RuntimeObject * runtimeObjectAt (int indexindex) const
bool objectHasDeferredBindings (int objectIndex) const
bool objectHasCustomParserBindings (int objectIndex) const
bool objectIsPopulatedByDeferredBinding (int objectIndex) const
bool objectIsComponent (int objectIndex) const
int objectId (int objectIndex) const
quint32 namedObjectCountInComponent (int objectIndex) const
bool bindingIsDeferred (int objectIndex, int bindingIndexbindingIndex) const
bool bindingIsCustomParser (int objectIndex, int bindingIndexbindingIndex) const
bool bindingIsSignalHandlerExpression (int objectIndex, int bindingIndexbindingIndex) const
bool bindingIsSignalHandlerObject (int objectIndex, int bindingIndexbindingIndex) const
bool bindingIsPropertyObserver (int objectIndex, int bindingIndexbindingIndex) const
bool bindingIsSignalHandler (int objectIndex, int bindingIndexbindingIndex) const
std::optional< int > bindingFoldedEnum (int objectIndex, int bindingIndexbindingIndex) const
const RuntimeBindingIndex * bindingApplicationOrder (int objectIndex) const
void allocateRuntimeData ()
quint32_le * allocateNamedObjectsInComponent (int objectIndex, quint32 countcount)
RuntimeDataBlock * runtimeDataForWrite ()
int implicitComponentForObject (int indexindex) const
int inlineComponentId (const QString &inlineComponentName) const
void finalizeCompositeType (const QQmlType &typetype)
bool verifyChecksum (const CompiledData::DependentTypesHasher &dependencyHasher) const
ListPropertyAssignBehavior listPropertyAssignBehavior () const
bool ignoresFunctionSignature () const
bool nativeMethodsAcceptThisObjects () const
bool valueTypesAreCopied () const
bool valueTypesAreAddressable () const
bool valueTypesAreAssertable () const
bool componentsAreBound () const
bool isESModule () const
bool isSharedLibrary () const
FunctionIterator objectFunctionsBegin (const CompiledObject *objectobject) const
FunctionIterator objectFunctionsEnd (const CompiledObject *objectobject) const
QQmlType qmlTypeForComponent (const QString &inlineComponentName=QString()) const
QMetaType metaType () const
Public Member Functions inherited from QQmlRefCounted< CompilationUnit >
void release () const
Public Member Functions inherited from QQmlRefCount
 QQmlRefCount ()
void addref () const
int count () const

Static Public Member Functions

static Q_QML_EXPORT QString localCacheFilePath (const QUrl &url)

Public Attributes

const Unit * data = nullptr
const QmlUnit * qmlData = nullptr
const RuntimeDataBlock * runtimeData = nullptr
QByteArray runtimeDataStorage
QStringList dynamicStrings
const QQmlPrivate::AOTCompiledFunction * aotCompiledFunctions = nullptr
LookupValidationFn validateLookupSignatures = nullptr
const StaticValue * constants = nullptr
std::unique_ptr< CompilationUnitMapper > backingFile
QHash< QString, InlineComponentData > inlineComponentData
QList< BindingPropertyData > bindingPropertyDataPerObject
ResolvedTypeReferenceMap resolvedTypes
QQmlRefPointer< QQmlTypeNameCache > typeNameCache
QQmlPropertyCacheVector propertyCaches
QQmlType qmlType
QList< QQmlRefPointer< QQmlScriptData > > dependentScripts

Additional Inherited Members

Protected Member Functions inherited from QQmlRefCounted< CompilationUnit >
 ~QQmlRefCounted ()

Detailed Description

Definition at line 1491 of file qv4compileddata_p.h.

Member Typedef Documentation

◆ CompiledBinding

◆ CompiledFunction

◆ CompiledObject

◆ IdToObjectMap

Definition at line 1531 of file qv4compileddata_p.h.

Member Enumeration Documentation

◆ ListPropertyAssignBehavior

Enumerator
Append 
Replace 
ReplaceIfNotDefault 

Definition at line 1824 of file qv4compileddata_p.h.

Constructor & Destructor Documentation

◆ CompilationUnit() [1/2]

QV4::CompiledData::CompilationUnit::CompilationUnit ( const Unit * unitData,
const QQmlPrivate::AOTCompiledFunction * aotCompiledFunctions,
LookupValidationFn validateLookupSignatures,
const QString & fileName = QString(),
const QString & finalUrlString = QString() )
inlineexplicit

Definition at line 1533 of file qv4compileddata_p.h.

References aotCompiledFunctions.

◆ CompilationUnit() [2/2]

QV4::CompiledData::CompilationUnit::CompilationUnit ( const Unit * unitData = nullptr,
const QString & fileName = QString(),
const QString & finalUrlString = QString() )

Definition at line 93 of file qv4compileddata.cpp.

◆ ~CompilationUnit()

QV4::CompiledData::CompilationUnit::~CompilationUnit ( )

Definition at line 99 of file qv4compileddata.cpp.

References data, qmlData, QV4::CompiledData::Unit::qmlUnit(), resolvedTypes, and QV4::CompiledData::Unit::StaticData.

Here is the call graph for this function:

Member Function Documentation

◆ allocateNamedObjectsInComponent()

quint32_le * QV4::CompiledData::CompilationUnit::allocateNamedObjectsInComponent ( int objectIndex,
quint32 count )

Allocate a table of count named objects in object objectIndex.

We only know how many objects are named in each component once we have resolved the components. Therefore, the tables are appended to the runtime data as we go.

Definition at line 354 of file qv4compileddata.cpp.

References QV4::CompiledData::RuntimeDataBlock::objectAt(), resolvedIndex(), and runtimeData.

Here is the call graph for this function:

◆ allocateRuntimeData()

void QV4::CompiledData::CompilationUnit::allocateRuntimeData ( )

Definition at line 304 of file qv4compileddata.cpp.

References QV4::CompiledData::QmlUnit::objectAt(), qmlData, and runtimeData.

Here is the call graph for this function:

◆ bindingApplicationOrder()

const RuntimeBindingIndex * QV4::CompiledData::CompilationUnit::bindingApplicationOrder ( int objectIndex) const
inline

Definition at line 1781 of file qv4compileddata_p.h.

References runtimeObjectAt().

Here is the call graph for this function:

◆ bindingFoldedEnum()

std::optional< int > QV4::CompiledData::CompilationUnit::bindingFoldedEnum ( int objectIndex,
int bindingIndex ) const
inline

Definition at line 1773 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::bindingTable(), QV4::CompiledData::RuntimeBinding::IsFoldedEnum, and runtimeObjectAt().

Here is the call graph for this function:

◆ bindingIsCustomParser()

bool QV4::CompiledData::CompilationUnit::bindingIsCustomParser ( int objectIndex,
int bindingIndex ) const
inline

Definition at line 1742 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::bindingTable(), QV4::CompiledData::RuntimeBinding::IsCustomParserBinding, and runtimeObjectAt().

Here is the call graph for this function:

◆ bindingIsDeferred()

bool QV4::CompiledData::CompilationUnit::bindingIsDeferred ( int objectIndex,
int bindingIndex ) const
inline

Definition at line 1736 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::bindingTable(), QV4::CompiledData::RuntimeBinding::IsDeferredBinding, and runtimeObjectAt().

Here is the call graph for this function:

◆ bindingIsPropertyObserver()

bool QV4::CompiledData::CompilationUnit::bindingIsPropertyObserver ( int objectIndex,
int bindingIndex ) const
inline

Definition at line 1760 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::bindingTable(), QV4::CompiledData::RuntimeBinding::IsPropertyObserver, and runtimeObjectAt().

Here is the call graph for this function:

◆ bindingIsSignalHandler()

bool QV4::CompiledData::CompilationUnit::bindingIsSignalHandler ( int objectIndex,
int bindingIndex ) const
inline

Definition at line 1766 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::bindingTable(), QV4::CompiledData::RuntimeBinding::IsPropertyObserver, QV4::CompiledData::RuntimeBinding::IsSignalHandlerExpression, QV4::CompiledData::RuntimeBinding::IsSignalHandlerObject, and runtimeObjectAt().

Here is the call graph for this function:

◆ bindingIsSignalHandlerExpression()

bool QV4::CompiledData::CompilationUnit::bindingIsSignalHandlerExpression ( int objectIndex,
int bindingIndex ) const
inline

Definition at line 1748 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::bindingTable(), QV4::CompiledData::RuntimeBinding::IsSignalHandlerExpression, and runtimeObjectAt().

Here is the call graph for this function:

◆ bindingIsSignalHandlerObject()

bool QV4::CompiledData::CompilationUnit::bindingIsSignalHandlerObject ( int objectIndex,
int bindingIndex ) const
inline

Definition at line 1754 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::bindingTable(), QV4::CompiledData::RuntimeBinding::IsSignalHandlerObject, and runtimeObjectAt().

Here is the call graph for this function:

◆ bindingValueAsNumber()

double QV4::CompiledData::CompilationUnit::bindingValueAsNumber ( const CompiledData::Binding * binding) const
inline

Definition at line 1626 of file qv4compileddata_p.h.

References QV4::CompiledData::Binding::type(), and QV4::CompiledData::Binding::Type_Number.

Here is the call graph for this function:

◆ bindingValueAsScriptString()

QString QV4::CompiledData::CompilationUnit::bindingValueAsScriptString ( const CompiledData::Binding * binding) const
inline

Definition at line 1619 of file qv4compileddata_p.h.

References QV4::CompiledData::Binding::type(), and QV4::CompiledData::Binding::Type_String.

Here is the call graph for this function:

◆ bindingValueAsString()

QString QV4::CompiledData::CompilationUnit::bindingValueAsString ( const CompiledData::Binding * binding) const
inline

Definition at line 1595 of file qv4compileddata_p.h.

References QV4::CompiledData::Binding::type(), QV4::CompiledData::Binding::Type_Boolean, QV4::CompiledData::Binding::Type_Invalid, and QV4::CompiledData::Binding::Type_Null.

Here is the call graph for this function:

◆ componentsAreBound()

bool QV4::CompiledData::CompilationUnit::componentsAreBound ( ) const
inline

Definition at line 1860 of file qv4compileddata_p.h.

References QV4::CompiledData::Unit::ComponentsBound, and unitData().

Here is the call graph for this function:

◆ fileName()

QString QV4::CompiledData::CompilationUnit::fileName ( ) const
inline

Definition at line 1592 of file qv4compileddata_p.h.

◆ finalizeCompositeType()

void QV4::CompiledData::CompiledData::CompilationUnit::finalizeCompositeType ( const QQmlType & type)

Definition at line 259 of file qv4compileddata.cpp.

References objectAt(), and resolvedTypes.

Here is the call graph for this function:

◆ finalUrl()

QUrl QV4::CompiledData::CompilationUnit::finalUrl ( ) const
inline

Definition at line 1668 of file qv4compileddata_p.h.

◆ finalUrlString()

QString QV4::CompiledData::CompilationUnit::finalUrlString ( ) const
inline

Definition at line 1593 of file qv4compileddata_p.h.

◆ ignoresFunctionSignature()

bool QV4::CompiledData::CompilationUnit::ignoresFunctionSignature ( ) const
inline

Definition at line 1835 of file qv4compileddata_p.h.

References QV4::CompiledData::Unit::FunctionSignaturesIgnored, and unitData().

Here is the call graph for this function:

◆ implicitComponentForObject()

int QV4::CompiledData::CompilationUnit::implicitComponentForObject ( int index) const
inline

Definition at line 1796 of file qv4compileddata_p.h.

References objectCount().

Here is the call graph for this function:

◆ importAt()

const CompiledData::Import * QV4::CompiledData::CompilationUnit::importAt ( int index) const
inline

Definition at line 1650 of file qv4compileddata_p.h.

References QV4::CompiledData::QmlUnit::importAt(), and qmlData.

Here is the call graph for this function:

◆ importCount()

int QV4::CompiledData::CompilationUnit::importCount ( ) const
inline

Definition at line 1649 of file qv4compileddata_p.h.

References qmlData.

◆ inlineComponentId()

int QV4::CompiledData::CompilationUnit::inlineComponentId ( const QString & inlineComponentName) const
inline

Definition at line 1807 of file qv4compileddata_p.h.

References QV4::CompiledData::QmlUnit::objectAt(), and qmlData.

Here is the call graph for this function:

◆ isESModule()

bool QV4::CompiledData::CompilationUnit::isESModule ( ) const
inline

Definition at line 1865 of file qv4compileddata_p.h.

References QV4::CompiledData::Unit::IsESModule, and unitData().

Here is the call graph for this function:

◆ isSharedLibrary()

bool QV4::CompiledData::CompilationUnit::isSharedLibrary ( ) const
inline

Definition at line 1870 of file qv4compileddata_p.h.

References QV4::CompiledData::Unit::IsSharedLibrary, and unitData().

Here is the call graph for this function:

◆ listPropertyAssignBehavior()

ListPropertyAssignBehavior QV4::CompiledData::CompilationUnit::listPropertyAssignBehavior ( ) const
inline

Definition at line 1825 of file qv4compileddata_p.h.

References Append, QV4::CompiledData::Unit::isListPropertyAssignReplace(), QV4::CompiledData::Unit::isListPropertyAssignReplaceIfNotDefault(), Replace, ReplaceIfNotDefault, and unitData().

Here is the call graph for this function:

◆ loadFromDisk()

bool QV4::CompiledData::CompilationUnit::loadFromDisk ( const QUrl & url,
const QDateTime & sourceTimeStamp,
qxp::function_ref< QByteArray() const > sourceChecksum,
QString * errorString )

Definition at line 136 of file qv4compileddata.cpp.

◆ localCacheFilePath()

QString QV4::CompiledData::CompilationUnit::localCacheFilePath ( const QUrl & url)
static

Definition at line 118 of file qv4compileddata.cpp.

◆ metaType()

QMetaType QV4::CompiledData::CompilationUnit::metaType ( ) const
inline

Definition at line 1904 of file qv4compileddata_p.h.

◆ moduleRequests()

QStringList QV4::CompiledData::CompilationUnit::moduleRequests ( ) const

Definition at line 240 of file qv4compileddata.cpp.

◆ namedObjectCountInComponent()

quint32 QV4::CompiledData::CompilationUnit::namedObjectCountInComponent ( int objectIndex) const
inline

Definition at line 1731 of file qv4compileddata_p.h.

References runtimeObjectAt().

Here is the call graph for this function:

◆ nativeMethodsAcceptThisObjects()

bool QV4::CompiledData::CompilationUnit::nativeMethodsAcceptThisObjects ( ) const
inline

Definition at line 1840 of file qv4compileddata_p.h.

References QV4::CompiledData::Unit::NativeMethodsAcceptThisObject, and unitData().

Here is the call graph for this function:

◆ objectAt()

const CompiledObject * QV4::CompiledData::CompilationUnit::objectAt ( int index) const
inline

Definition at line 1698 of file qv4compileddata_p.h.

References QV4::CompiledData::QmlUnit::objectAt(), qmlData, and resolvedIndex().

Referenced by finalizeCompositeType().

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

◆ objectCount()

int QV4::CompiledData::CompilationUnit::objectCount ( ) const
inline

Definition at line 1685 of file qv4compileddata_p.h.

References qmlData.

Referenced by implicitComponentForObject(), and resolvedIndex().

Here is the caller graph for this function:

◆ objectFunctionsBegin()

FunctionIterator QV4::CompiledData::CompilationUnit::objectFunctionsBegin ( const CompiledObject * object) const
inline

Definition at line 1893 of file qv4compileddata_p.h.

References QV4::CompiledData::CompilationUnit::FunctionIterator::FunctionIterator(), and unitData().

Here is the call graph for this function:

◆ objectFunctionsEnd()

FunctionIterator QV4::CompiledData::CompilationUnit::objectFunctionsEnd ( const CompiledObject * object) const
inline

Definition at line 1898 of file qv4compileddata_p.h.

References unitData().

Here is the call graph for this function:

◆ objectHasCustomParserBindings()

bool QV4::CompiledData::CompilationUnit::objectHasCustomParserBindings ( int objectIndex) const
inline

Definition at line 1714 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::HasCustomParserBindings, and runtimeObjectAt().

Here is the call graph for this function:

◆ objectHasDeferredBindings()

bool QV4::CompiledData::CompilationUnit::objectHasDeferredBindings ( int objectIndex) const
inline

Definition at line 1709 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::HasDeferredBindings, and runtimeObjectAt().

Here is the call graph for this function:

◆ objectId()

int QV4::CompiledData::CompilationUnit::objectId ( int objectIndex) const
inline

Definition at line 1729 of file qv4compileddata_p.h.

References runtimeObjectAt().

Here is the call graph for this function:

◆ objectIsComponent()

bool QV4::CompiledData::CompilationUnit::objectIsComponent ( int objectIndex) const
inline

Definition at line 1724 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::IsComponent, and runtimeObjectAt().

Here is the call graph for this function:

◆ objectIsPopulatedByDeferredBinding()

bool QV4::CompiledData::CompilationUnit::objectIsPopulatedByDeferredBinding ( int objectIndex) const
inline

Definition at line 1719 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeObject::PopulatedByDeferredBinding, and runtimeObjectAt().

Here is the call graph for this function:

◆ qmlTypeForComponent()

QQmlType QV4::CompiledData::CompilationUnit::qmlTypeForComponent ( const QString & inlineComponentName = QString()) const

Definition at line 297 of file qv4compileddata.cpp.

◆ resolvedIndex()

int QV4::CompiledData::CompilationUnit::resolvedIndex ( int index) const
inline

Definition at line 1689 of file qv4compileddata_p.h.

References objectCount().

Referenced by allocateNamedObjectsInComponent(), objectAt(), and runtimeObjectAt().

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

◆ resolvedType() [1/2]

ResolvedTypeReference * QV4::CompiledData::CompilationUnit::resolvedType ( int id) const
inline

Definition at line 1675 of file qv4compileddata_p.h.

References resolvedTypes.

◆ resolvedType() [2/2]

ResolvedTypeReference * QV4::CompiledData::CompilationUnit::resolvedType ( QMetaType type) const

Definition at line 249 of file qv4compileddata.cpp.

◆ rootPropertyCache()

QQmlPropertyCache::ConstPtr QV4::CompiledData::CompilationUnit::rootPropertyCache ( ) const
inline

Definition at line 1678 of file qv4compileddata_p.h.

◆ runtimeDataForWrite()

RuntimeDataBlock * QV4::CompiledData::CompilationUnit::runtimeDataForWrite ( )
inline

Definition at line 1789 of file qv4compileddata_p.h.

◆ runtimeObjectAt()

const RuntimeObject * QV4::CompiledData::CompilationUnit::runtimeObjectAt ( int index) const
inline

Definition at line 1703 of file qv4compileddata_p.h.

References QV4::CompiledData::RuntimeDataBlock::objectAt(), resolvedIndex(), and runtimeData.

Referenced by bindingApplicationOrder(), bindingFoldedEnum(), bindingIsCustomParser(), bindingIsDeferred(), bindingIsPropertyObserver(), bindingIsSignalHandler(), bindingIsSignalHandlerExpression(), bindingIsSignalHandlerObject(), namedObjectCountInComponent(), objectHasCustomParserBindings(), objectHasDeferredBindings(), objectId(), objectIsComponent(), and objectIsPopulatedByDeferredBinding().

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

◆ saveToDisk()

bool QV4::CompiledData::CompilationUnit::saveToDisk ( const QUrl & unitUrl,
qxp::function_ref< QByteArray() const > sourceChecksum,
QString * errorString ) const

Definition at line 197 of file qv4compileddata.cpp.

References QV4::CompiledData::Unit::sourceChecksum, and unitData().

Here is the call graph for this function:

◆ setUnitData()

void QV4::CompiledData::CompilationUnit::setUnitData ( const Unit * unitData,
const QmlUnit * qmlUnit = nullptr,
const QString & fileName = QString(),
const QString & finalUrlString = QString() )
inline

Definition at line 1552 of file qv4compileddata_p.h.

References data, qmlData, and QV4::CompiledData::Unit::qmlUnit().

Here is the call graph for this function:

◆ stringAt()

QString QV4::CompiledData::CompilationUnit::stringAt ( uint index) const
inline

Definition at line 1582 of file qv4compileddata_p.h.

References data.

◆ unitData()

const Unit * QV4::CompiledData::CompilationUnit::unitData ( ) const
inline

Definition at line 1550 of file qv4compileddata_p.h.

References data.

Referenced by componentsAreBound(), ignoresFunctionSignature(), isESModule(), isSharedLibrary(), listPropertyAssignBehavior(), nativeMethodsAcceptThisObjects(), objectFunctionsBegin(), objectFunctionsEnd(), saveToDisk(), valueTypesAreAddressable(), valueTypesAreAssertable(), and valueTypesAreCopied().

Here is the caller graph for this function:

◆ url()

QUrl QV4::CompiledData::CompilationUnit::url ( ) const
inline

Definition at line 1661 of file qv4compileddata_p.h.

◆ valueTypesAreAddressable()

bool QV4::CompiledData::CompilationUnit::valueTypesAreAddressable ( ) const
inline

Definition at line 1850 of file qv4compileddata_p.h.

References unitData(), and QV4::CompiledData::Unit::ValueTypesAddressable.

Here is the call graph for this function:

◆ valueTypesAreAssertable()

bool QV4::CompiledData::CompilationUnit::valueTypesAreAssertable ( ) const
inline

Definition at line 1855 of file qv4compileddata_p.h.

References unitData(), and QV4::CompiledData::Unit::ValueTypesAssertable.

Here is the call graph for this function:

◆ valueTypesAreCopied()

bool QV4::CompiledData::CompilationUnit::valueTypesAreCopied ( ) const
inline

Definition at line 1845 of file qv4compileddata_p.h.

References unitData(), and QV4::CompiledData::Unit::ValueTypesCopied.

Here is the call graph for this function:

◆ verifyChecksum()

bool QV4::CompiledData::CompilationUnit::verifyChecksum ( const CompiledData::DependentTypesHasher & dependencyHasher) const

Definition at line 282 of file qv4compileddata.cpp.

References data, and QV4::CompiledData::Unit::dependencyMD5Checksum.

Member Data Documentation

◆ aotCompiledFunctions

const QQmlPrivate::AOTCompiledFunction* QV4::CompiledData::CompilationUnit::aotCompiledFunctions = nullptr

Definition at line 1501 of file qv4compileddata_p.h.

Referenced by CompilationUnit().

◆ backingFile

std::unique_ptr<CompilationUnitMapper> QV4::CompiledData::CompilationUnit::backingFile

Definition at line 1507 of file qv4compileddata_p.h.

◆ bindingPropertyDataPerObject

QList<BindingPropertyData> QV4::CompiledData::CompilationUnit::bindingPropertyDataPerObject

Definition at line 1514 of file qv4compileddata_p.h.

◆ constants

const StaticValue* QV4::CompiledData::CompilationUnit::constants = nullptr

Definition at line 1505 of file qv4compileddata_p.h.

◆ data

const Unit* QV4::CompiledData::CompilationUnit::data = nullptr

◆ dependentScripts

QList<QQmlRefPointer<QQmlScriptData> > QV4::CompiledData::CompilationUnit::dependentScripts

Definition at line 1523 of file qv4compileddata_p.h.

◆ dynamicStrings

QStringList QV4::CompiledData::CompilationUnit::dynamicStrings

Definition at line 1500 of file qv4compileddata_p.h.

◆ inlineComponentData

QHash<QString, InlineComponentData> QV4::CompiledData::CompilationUnit::inlineComponentData

Definition at line 1509 of file qv4compileddata_p.h.

◆ propertyCaches

QQmlPropertyCacheVector QV4::CompiledData::CompilationUnit::propertyCaches

Definition at line 1519 of file qv4compileddata_p.h.

◆ qmlData

const QmlUnit* QV4::CompiledData::CompilationUnit::qmlData = nullptr

◆ qmlType

QQmlType QV4::CompiledData::CompilationUnit::qmlType

Definition at line 1521 of file qv4compileddata_p.h.

◆ resolvedTypes

ResolvedTypeReferenceMap QV4::CompiledData::CompilationUnit::resolvedTypes

Definition at line 1516 of file qv4compileddata_p.h.

Referenced by ~CompilationUnit(), finalizeCompositeType(), and resolvedType().

◆ runtimeData

const RuntimeDataBlock* QV4::CompiledData::CompilationUnit::runtimeData = nullptr

◆ runtimeDataStorage

QByteArray QV4::CompiledData::CompilationUnit::runtimeDataStorage

Definition at line 1498 of file qv4compileddata_p.h.

◆ typeNameCache

QQmlRefPointer<QQmlTypeNameCache> QV4::CompiledData::CompilationUnit::typeNameCache

Definition at line 1517 of file qv4compileddata_p.h.

◆ validateLookupSignatures

LookupValidationFn QV4::CompiledData::CompilationUnit::validateLookupSignatures = nullptr

Definition at line 1502 of file qv4compileddata_p.h.


The documentation for this struct was generated from the following files: