Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlAliasAnnotator Class Reference

#include <qqmltypecompiler_p.h>

+ Inheritance diagram for QQmlAliasAnnotator:
+ Collaboration diagram for QQmlAliasAnnotator:

Public Member Functions

 QQmlAliasAnnotator (QQmlTypeCompiler *typeCompiler)
 
void annotateBindingsToAliases ()
 
- Public Member Functions inherited from QQmlCompilePass
 QQmlCompilePass (QQmlTypeCompiler *typeCompiler)
 
QString stringAt (int idx) const
 

Additional Inherited Members

- Protected Member Functions inherited from QQmlCompilePass
void recordError (const QV4::CompiledData::Location &location, const QString &description) const
 
QV4::ResolvedTypeReferenceresolvedType (int id) const
 
- Protected Attributes inherited from QQmlCompilePass
QQmlTypeCompilercompiler
 

Detailed Description

Definition at line 209 of file qqmltypecompiler_p.h.

Constructor & Destructor Documentation

◆ QQmlAliasAnnotator()

QQmlAliasAnnotator::QQmlAliasAnnotator ( QQmlTypeCompiler typeCompiler)

Definition at line 668 of file qqmltypecompiler.cpp.

Member Function Documentation

◆ annotateBindingsToAliases()

void QQmlAliasAnnotator::annotateBindingsToAliases ( )

Definition at line 675 of file qqmltypecompiler.cpp.

References QQmlPropertyCacheVector::at(), i, QQmlPropertyData::isAlias(), QV4::CompiledData::Binding::IsBindingToAlias, QV4::CompiledData::Binding::isValueBinding(), QmlIR::Binding::next, QQmlPropertyResolver::property(), QV4::CompiledData::Binding::propertyNameIndex, QV4::CompiledData::Binding::setFlag(), and QQmlCompilePass::stringAt().

Referenced by QQmlTypeCompiler::compile().

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

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