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::AttributeInfo Class Reference

#include <qqmldomelements_p.h>

Inheritance diagram for QQmlJS::Dom::AttributeInfo:
Collaboration diagram for QQmlJS::Dom::AttributeInfo:

Public Types

enum  Access { Private , Protected , Public }

Public Member Functions

bool iterateDirectSubpaths (const DomItem &self, DirectVisitor visitor) const
Path addAnnotation (const Path &selfPathFromOwner, const QmlObject &annotation, QmlObject **aPtr=nullptr)
void updatePathFromOwner (const Path &newPath)
QQmlJSScope::ConstPtr semanticScope () const
void setSemanticScope (const QQmlJSScope::ConstPtr &scope)

Public Attributes

QString name
Access access = Access::Public
QString typeName
bool isReadonly = false
bool isList = false
QList< QmlObjectannotations
RegionComments comments
QQmlJSScope::ConstPtr m_semanticScope

Detailed Description

Definition at line 573 of file qqmldomelements_p.h.

Member Enumeration Documentation

◆ Access

Enumerator
Private 
Protected 
Public 

Definition at line 576 of file qqmldomelements_p.h.

Member Function Documentation

◆ addAnnotation()

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

Definition at line 1378 of file qqmldomelements.cpp.

◆ iterateDirectSubpaths()

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

Definition at line 1365 of file qqmldomelements.cpp.

References access, isList, and isReadonly.

◆ semanticScope()

QQmlJSScope::ConstPtr QQmlJS::Dom::AttributeInfo::semanticScope ( ) const
inline

Definition at line 584 of file qqmldomelements_p.h.

◆ setSemanticScope()

void QQmlJS::Dom::AttributeInfo::setSemanticScope ( const QQmlJSScope::ConstPtr & scope)
inline

Definition at line 585 of file qqmldomelements_p.h.

◆ updatePathFromOwner()

void QQmlJS::Dom::AttributeInfo::updatePathFromOwner ( const Path & newPath)

Definition at line 1385 of file qqmldomelements.cpp.

Member Data Documentation

◆ access

Access QQmlJS::Dom::AttributeInfo::access = Access::Public

Definition at line 588 of file qqmldomelements_p.h.

Referenced by iterateDirectSubpaths().

◆ annotations

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

Definition at line 592 of file qqmldomelements_p.h.

◆ comments

RegionComments QQmlJS::Dom::AttributeInfo::comments

Definition at line 593 of file qqmldomelements_p.h.

◆ isList

bool QQmlJS::Dom::AttributeInfo::isList = false

Definition at line 591 of file qqmldomelements_p.h.

Referenced by iterateDirectSubpaths().

◆ isReadonly

bool QQmlJS::Dom::AttributeInfo::isReadonly = false

Definition at line 590 of file qqmldomelements_p.h.

Referenced by iterateDirectSubpaths().

◆ m_semanticScope

QQmlJSScope::ConstPtr QQmlJS::Dom::AttributeInfo::m_semanticScope

Definition at line 594 of file qqmldomelements_p.h.

◆ name

QString QQmlJS::Dom::AttributeInfo::name

◆ typeName

QString QQmlJS::Dom::AttributeInfo::typeName

Definition at line 589 of file qqmldomelements_p.h.


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