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
QQmlJS::Dom::Id Class Reference

#include <qqmldomelements_p.h>

Collaboration diagram for QQmlJS::Dom::Id:

Public Member Functions

 Id (const QString &idName=QString(), const Path &referredObject=Path())
bool iterateDirectSubpaths (const DomItem &self, DirectVisitor) const
void updatePathFromOwner (const Path &pathFromOwner)
Path addAnnotation (const 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 369 of file qqmldomelements_p.h.

Constructor & Destructor Documentation

◆ Id()

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

Definition at line 369 of file qqmldomelements.cpp.

Member Function Documentation

◆ addAnnotation()

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

Definition at line 387 of file qqmldomelements.cpp.

◆ iterateDirectSubpaths()

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

Definition at line 371 of file qqmldomelements.cpp.

◆ updatePathFromOwner()

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

Definition at line 382 of file qqmldomelements.cpp.

Member Data Documentation

◆ annotations

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

Definition at line 383 of file qqmldomelements_p.h.

◆ comments

RegionComments QQmlJS::Dom::Id::comments

Definition at line 382 of file qqmldomelements_p.h.

◆ kindValue

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

Definition at line 372 of file qqmldomelements_p.h.

◆ name

QString QQmlJS::Dom::Id::name

◆ referredObjectPath

Path QQmlJS::Dom::Id::referredObjectPath

Definition at line 381 of file qqmldomelements_p.h.

◆ value

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

Definition at line 384 of file qqmldomelements_p.h.


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