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
QQmltc::AliasResolutionFrame Struct Reference
Collaboration diagram for QQmltc::AliasResolutionFrame:

Public Attributes

QStringList prologue
QStringList epilogue
QStringList epilogueForWrite
QString outVar

Static Public Attributes

static QString inVar = QStringLiteral("__QMLTC_ALIAS_FRAME_INPUT_VAR__")

Detailed Description

Models one step of the alias resolution. If the current alias to be resolved points to {x.y.z} and that {x.y} is already resolved, then this struct contains the information on how to obtain the {z} part from {x.y}.

Definition at line 943 of file qqmltccompiler.cpp.

Member Data Documentation

◆ epilogue

QStringList QQmltc::AliasResolutionFrame::epilogue

Steps to finish the statements of the prologue (e.g. closing brackets).

Definition at line 968 of file qqmltccompiler.cpp.

◆ epilogueForWrite

QStringList QQmltc::AliasResolutionFrame::epilogueForWrite

Instructions on how to write the property, after it was loaded with the instructions from prologue. Has to happen before epilogue.

Definition at line 976 of file qqmltccompiler.cpp.

◆ inVar

QString QQmltc::AliasResolutionFrame::inVar = QStringLiteral("__QMLTC_ALIAS_FRAME_INPUT_VAR__")
static

Placeholder for the current resolved state. It is replaced later with the result from previous resolutions from the QStack<AliasResolutionFrame>.

See also
unpackFrames()

Definition at line 953 of file qqmltccompiler.cpp.

◆ outVar

QString QQmltc::AliasResolutionFrame::outVar

Name of the variable holding the result of this resolution step, to be used in the following resolution steps.

Definition at line 984 of file qqmltccompiler.cpp.

◆ prologue

QStringList QQmltc::AliasResolutionFrame::prologue

Steps to access this value as a list of C++ statements, to be used in conjunction with {epilogue}.

Definition at line 961 of file qqmltccompiler.cpp.


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