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

#include <qqmldomelements_p.h>

+ Inheritance diagram for QQmlJS::Dom::PropertyDefinition:
+ Collaboration diagram for QQmlJS::Dom::PropertyDefinition:

Public Member Functions

bool iterateDirectSubpaths (DomItem &self, DirectVisitor visitor)
 
Path typePath () const
 
bool isAlias () const
 
bool isParametricType () const
 
void writeOut (DomItem &self, OutWriter &lw) const
 
- Public Member Functions inherited from QQmlJS::Dom::AttributeInfo
bool iterateDirectSubpaths (DomItem &self, DirectVisitor visitor)
 
Path addAnnotation (Path selfPathFromOwner, const QmlObject &annotation, QmlObject **aPtr=nullptr)
 
void updatePathFromOwner (Path newPath)
 

Public Attributes

QString read
 
QString write
 
QString bindable
 
QString notify
 
bool isFinal = false
 
bool isPointer = false
 
bool isDefaultMember = false
 
bool isRequired = false
 
std::optional< QQmlJSScope::Ptrscope
 
- Public Attributes inherited from QQmlJS::Dom::AttributeInfo
QString name
 
Access access = Access::Public
 
QString typeName
 
bool isReadonly = false
 
bool isList = false
 
QList< QmlObjectannotations
 
RegionComments comments
 

Static Public Attributes

static constexpr DomType kindValue = DomType::PropertyDefinition
 

Additional Inherited Members

- Public Types inherited from QQmlJS::Dom::AttributeInfo
enum  Access { Private , Protected , Public }
 

Detailed Description

Definition at line 619 of file qqmldomelements_p.h.

Member Function Documentation

◆ isAlias()

bool QQmlJS::Dom::PropertyDefinition::isAlias ( ) const
inline

Definition at line 642 of file qqmldomelements_p.h.

References typeName.

◆ isParametricType()

bool QQmlJS::Dom::PropertyDefinition::isParametricType ( ) const

◆ iterateDirectSubpaths()

bool QQmlJS::Dom::PropertyDefinition::iterateDirectSubpaths ( DomItem self,
DirectVisitor  visitor 
)
inline

Definition at line 624 of file qqmldomelements_p.h.

References read(), and write().

+ Here is the call graph for this function:

◆ typePath()

Path QQmlJS::Dom::PropertyDefinition::typePath ( ) const
inline

Definition at line 640 of file qqmldomelements_p.h.

References typeName.

◆ writeOut()

void QQmlJS::Dom::PropertyDefinition::writeOut ( DomItem self,
OutWriter lw 
) const

Member Data Documentation

◆ bindable

QString QQmlJS::Dom::PropertyDefinition::bindable

Definition at line 648 of file qqmldomelements_p.h.

◆ isDefaultMember

bool QQmlJS::Dom::PropertyDefinition::isDefaultMember = false

Definition at line 652 of file qqmldomelements_p.h.

◆ isFinal

bool QQmlJS::Dom::PropertyDefinition::isFinal = false

Definition at line 650 of file qqmldomelements_p.h.

◆ isPointer

bool QQmlJS::Dom::PropertyDefinition::isPointer = false

Definition at line 651 of file qqmldomelements_p.h.

◆ isRequired

bool QQmlJS::Dom::PropertyDefinition::isRequired = false

Definition at line 653 of file qqmldomelements_p.h.

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

◆ kindValue

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

Definition at line 622 of file qqmldomelements_p.h.

◆ notify

QString QQmlJS::Dom::PropertyDefinition::notify

Definition at line 649 of file qqmldomelements_p.h.

◆ read

QString QQmlJS::Dom::PropertyDefinition::read

Definition at line 646 of file qqmldomelements_p.h.

◆ scope

std::optional<QQmlJSScope::Ptr> QQmlJS::Dom::PropertyDefinition::scope

Definition at line 654 of file qqmldomelements_p.h.

◆ write

QString QQmlJS::Dom::PropertyDefinition::write

Definition at line 647 of file qqmldomelements_p.h.


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