Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::Dom::Id Class Reference

#include <qqmldomelements_p.h>

+ Collaboration diagram for QQmlJS::Dom::Id:

Public Member Functions

 Id (QString idName=QString(), Path referredObject=Path())
 
bool iterateDirectSubpaths (DomItem &self, DirectVisitor)
 
void updatePathFromOwner (Path pathFromOwner)
 
Path addAnnotation (Path selfPathFromOwner, const QmlObject &ann, QmlObject **aPtr=nullptr)
 

Public Attributes

QString name
 
Path referredObjectPath
 
RegionComments comments
 
QList< QmlObjectannotations
 
std::shared_ptr< ScriptExpressionvalue
 

Static Public Attributes

static constexpr DomType kindValue = DomType::Id
 

Detailed Description

Definition at line 360 of file qqmldomelements_p.h.

Constructor & Destructor Documentation

◆ Id()

QQmlJS::Dom::Id::Id ( QString  idName = QString(),
Path  referredObject = Path() 
)

Member Function Documentation

◆ addAnnotation()

Path QQmlJS::Dom::Id::addAnnotation ( Path  selfPathFromOwner,
const QmlObject ann,
QmlObject **  aPtr = nullptr 
)

◆ iterateDirectSubpaths()

bool QQmlJS::Dom::Id::iterateDirectSubpaths ( DomItem self,
DirectVisitor   
)

◆ updatePathFromOwner()

void QQmlJS::Dom::Id::updatePathFromOwner ( Path  pathFromOwner)

Member Data Documentation

◆ annotations

QList<QmlObject> QQmlJS::Dom::Id::annotations

Definition at line 374 of file qqmldomelements_p.h.

◆ comments

RegionComments QQmlJS::Dom::Id::comments

Definition at line 373 of file qqmldomelements_p.h.

◆ kindValue

constexpr DomType QQmlJS::Dom::Id::kindValue = DomType::Id
staticconstexpr

Definition at line 363 of file qqmldomelements_p.h.

◆ name

QString QQmlJS::Dom::Id::name

Definition at line 371 of file qqmldomelements_p.h.

◆ referredObjectPath

Path QQmlJS::Dom::Id::referredObjectPath

Definition at line 372 of file qqmldomelements_p.h.

◆ value

std::shared_ptr<ScriptExpression> QQmlJS::Dom::Id::value

Definition at line 375 of file qqmldomelements_p.h.

Referenced by QQmlJS::Dom::QQmlDomAstCreator::visit().


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