Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 616 of file qqmldomelements_p.h.

Member Enumeration Documentation

◆ Access

Enumerator
Private 
Protected 
Public 

Definition at line 619 of file qqmldomelements_p.h.

Member Function Documentation

◆ addAnnotation()

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

◆ iterateDirectSubpaths()

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

◆ semanticScope()

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

Definition at line 627 of file qqmldomelements_p.h.

Referenced by QQmlLSUtils::resolveExpressionType().

+ Here is the caller graph for this function:

◆ setSemanticScope()

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

Definition at line 628 of file qqmldomelements_p.h.

◆ updatePathFromOwner()

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

Member Data Documentation

◆ access

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

Definition at line 631 of file qqmldomelements_p.h.

◆ annotations

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

Definition at line 635 of file qqmldomelements_p.h.

◆ comments

RegionComments QQmlJS::Dom::AttributeInfo::comments

Definition at line 636 of file qqmldomelements_p.h.

◆ isList

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

Definition at line 634 of file qqmldomelements_p.h.

◆ isReadonly

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

Definition at line 633 of file qqmldomelements_p.h.

◆ m_semanticScope

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

Definition at line 637 of file qqmldomelements_p.h.

◆ name

◆ typeName

QString QQmlJS::Dom::AttributeInfo::typeName

Definition at line 632 of file qqmldomelements_p.h.


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