Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QV4::CompiledData::Alias Struct Reference

#include <qv4compileddata_p.h>

+ Inheritance diagram for QV4::CompiledData::Alias:
+ Collaboration diagram for QV4::CompiledData::Alias:

Public Types

enum  Flag : unsigned int { IsReadOnly = 0x1 , Resolved = 0x2 , AliasPointsToPointerObject = 0x4 }
 

Public Member Functions

bool hasFlag (Flag flag) const
 
void setFlag (Flag flag)
 
void clearFlags ()
 
quint32 nameIndex () const
 
void setNameIndex (quint32 nameIndex)
 
bool isObjectAlias () const
 
quint32 idIndex () const
 
void setIdIndex (quint32 idIndex)
 
bool isAliasToLocalAlias () const
 
void setIsAliasToLocalAlias (bool isAliasToLocalAlias)
 
quint32 targetObjectId () const
 
void setTargetObjectId (quint32 targetObjectId)
 

Public Attributes

quint32_le_bitfield_union< NameIndexField, FlagsFieldnameIndexAndFlags
 
quint32_le_bitfield_union< IdIndexField, TargetObjectIdField, AliasToLocalAliasFieldidIndexAndTargetObjectIdAndAliasToLocalAlias
 
union { 
 
   quint32_le   propertyNameIndex 
 
   qint32_le   encodedMetaPropertyIndex 
 
   quint32_le   localAliasIndex 
 
};  
 
Location location
 
Location referenceLocation
 

Detailed Description

Definition at line 827 of file qv4compileddata_p.h.

Member Enumeration Documentation

◆ Flag

enum QV4::CompiledData::Alias::Flag : unsigned int
Enumerator
IsReadOnly 
Resolved 
AliasPointsToPointerObject 

Definition at line 839 of file qv4compileddata_p.h.

Member Function Documentation

◆ clearFlags()

void QV4::CompiledData::Alias::clearFlags ( )
inline

Definition at line 868 of file qv4compileddata_p.h.

References nameIndexAndFlags.

Referenced by QmlIR::IRBuilder::appendAlias().

+ Here is the caller graph for this function:

◆ hasFlag()

bool QV4::CompiledData::Alias::hasFlag ( Flag  flag) const
inline

Definition at line 858 of file qv4compileddata_p.h.

References nameIndexAndFlags.

Referenced by QQmlPropertyCacheAliasCreator< ObjectContainer >::appendAliasesToPropertyCache(), isObjectAlias(), and QQmlVMEMetaObject::metaCall().

+ Here is the caller graph for this function:

◆ idIndex()

quint32 QV4::CompiledData::Alias::idIndex ( ) const
inline

Definition at line 889 of file qv4compileddata_p.h.

References idIndexAndTargetObjectIdAndAliasToLocalAlias.

Referenced by setIdIndex().

+ Here is the caller graph for this function:

◆ isAliasToLocalAlias()

bool QV4::CompiledData::Alias::isAliasToLocalAlias ( ) const
inline

Definition at line 900 of file qv4compileddata_p.h.

References idIndexAndTargetObjectIdAndAliasToLocalAlias.

Referenced by QQmlVMEMetaObject::aliasTarget(), QQmlVMEMetaObject::metaCall(), and setIsAliasToLocalAlias().

+ Here is the caller graph for this function:

◆ isObjectAlias()

bool QV4::CompiledData::Alias::isObjectAlias ( ) const
inline

Definition at line 883 of file qv4compileddata_p.h.

References encodedMetaPropertyIndex, hasFlag(), Q_ASSERT, and Resolved.

Referenced by QQmlVMEMetaObject::aliasTarget(), QQmlVMEMetaObject::metaCall(), and QQmlVMEMetaObjectEndpoint::tryConnect().

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

◆ nameIndex()

quint32 QV4::CompiledData::Alias::nameIndex ( ) const
inline

Definition at line 873 of file qv4compileddata_p.h.

References nameIndexAndFlags.

Referenced by QQmlPropertyCacheAliasCreator< ObjectContainer >::appendAliasesToPropertyCache(), and setNameIndex().

+ Here is the caller graph for this function:

◆ setFlag()

void QV4::CompiledData::Alias::setFlag ( Flag  flag)
inline

Definition at line 863 of file qv4compileddata_p.h.

References nameIndexAndFlags.

Referenced by QmlIR::IRBuilder::appendAlias().

+ Here is the caller graph for this function:

◆ setIdIndex()

void QV4::CompiledData::Alias::setIdIndex ( quint32  idIndex)
inline

Definition at line 894 of file qv4compileddata_p.h.

References idIndex(), and idIndexAndTargetObjectIdAndAliasToLocalAlias.

Referenced by QmlIR::IRBuilder::appendAlias().

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

◆ setIsAliasToLocalAlias()

void QV4::CompiledData::Alias::setIsAliasToLocalAlias ( bool  isAliasToLocalAlias)
inline

Definition at line 905 of file qv4compileddata_p.h.

References idIndexAndTargetObjectIdAndAliasToLocalAlias, and isAliasToLocalAlias().

+ Here is the call graph for this function:

◆ setNameIndex()

void QV4::CompiledData::Alias::setNameIndex ( quint32  nameIndex)
inline

Definition at line 878 of file qv4compileddata_p.h.

References nameIndex(), and nameIndexAndFlags.

Referenced by QmlIR::IRBuilder::appendAlias().

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

◆ setTargetObjectId()

void QV4::CompiledData::Alias::setTargetObjectId ( quint32  targetObjectId)
inline

Definition at line 915 of file qv4compileddata_p.h.

References idIndexAndTargetObjectIdAndAliasToLocalAlias, and targetObjectId().

+ Here is the call graph for this function:

◆ targetObjectId()

quint32 QV4::CompiledData::Alias::targetObjectId ( ) const
inline

Definition at line 910 of file qv4compileddata_p.h.

References idIndexAndTargetObjectIdAndAliasToLocalAlias.

Referenced by QQmlVMEMetaObject::aliasTarget(), QQmlVMEMetaObject::connectAlias(), QQmlVMEMetaObject::metaCall(), setTargetObjectId(), and QQmlVMEMetaObjectEndpoint::tryConnect().

+ Here is the caller graph for this function:

Member Data Documentation

◆ [union]

union { ... } QV4::CompiledData::Alias

◆ encodedMetaPropertyIndex

qint32_le QV4::CompiledData::Alias::encodedMetaPropertyIndex

◆ idIndexAndTargetObjectIdAndAliasToLocalAlias

quint32_le_bitfield_union<IdIndexField, TargetObjectIdField, AliasToLocalAliasField> QV4::CompiledData::Alias::idIndexAndTargetObjectIdAndAliasToLocalAlias

◆ localAliasIndex

quint32_le QV4::CompiledData::Alias::localAliasIndex

◆ location

Location QV4::CompiledData::Alias::location

Definition at line 855 of file qv4compileddata_p.h.

Referenced by QmlIR::IRBuilder::appendAlias().

◆ nameIndexAndFlags

quint32_le_bitfield_union<NameIndexField, FlagsField> QV4::CompiledData::Alias::nameIndexAndFlags

Definition at line 846 of file qv4compileddata_p.h.

Referenced by clearFlags(), hasFlag(), nameIndex(), setFlag(), and setNameIndex().

◆ propertyNameIndex

quint32_le QV4::CompiledData::Alias::propertyNameIndex

Definition at line 851 of file qv4compileddata_p.h.

Referenced by QmlIR::IRBuilder::appendAlias().

◆ referenceLocation

Location QV4::CompiledData::Alias::referenceLocation

Definition at line 856 of file qv4compileddata_p.h.

Referenced by QmlIR::IRBuilder::appendAlias().


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