Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::Dom::GlobalComponent Class Referencefinal

#include <qqmldomelements_p.h>

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

Public Member Functions

DomType kind () const override
 
 GlobalComponent (Path pathFromOwner=Path())
 
- Public Member Functions inherited from QQmlJS::Dom::Component
 Component (QString name)
 
 Component (Path pathFromOwner=Path())
 
 Component (const Component &o)=default
 
Componentoperator= (const Component &)=default
 
bool iterateDirectSubpaths (DomItem &, DirectVisitor) override
 
void updatePathFromOwner (Path newPath) override
 
DomItem field (DomItem &self, QStringView name) const override
 
DomItem field (DomItem &self, QStringView name)
 
QString name () const
 
const QMultiMap< QString, EnumDecl > & enumerations () const &
 
const QList< QmlObject > & objects () const &
 
bool isSingleton () const
 
bool isCreatable () const
 
bool isComposite () const
 
QString attachedTypeName () const
 
Path attachedTypePath (DomItem &) const
 
void setName (QString name)
 
void setEnumerations (QMultiMap< QString, EnumDecl > enumerations)
 
Path addEnumeration (const EnumDecl &enumeration, AddOption option=AddOption::Overwrite, EnumDecl **ePtr=nullptr)
 
void setObjects (QList< QmlObject > objects)
 
Path addObject (const QmlObject &object, QmlObject **oPtr=nullptr)
 
void setIsSingleton (bool isSingleton)
 
void setIsCreatable (bool isCreatable)
 
void setIsComposite (bool isComposite)
 
void setAttachedTypeName (QString name)
 
void setAttachedTypePath (Path p)
 
- Public Member Functions inherited from QQmlJS::Dom::CommentableDomElement
 CommentableDomElement (Path pathFromOwner=Path())
 
 CommentableDomElement (const CommentableDomElement &o)
 
CommentableDomElementoperator= (const CommentableDomElement &o)=default
 
bool iterateDirectSubpaths (DomItem &self, DirectVisitor) override
 
RegionCommentscomments ()
 
const RegionCommentscomments () const
 
- Public Member Functions inherited from QQmlJS::Dom::DomElement
 DomElement (Path pathFromOwner=Path())
 
 DomElement (const DomElement &o)=default
 
Path pathFromOwner (DomItem &self) const override
 
Path pathFromOwner () const
 
Path canonicalPath (DomItem &self) const override
 
DomItem containingObject (DomItem &self) const override
 
virtual void updatePathFromOwner (Path newPath)
 
- Public Member Functions inherited from QQmlJS::Dom::DomBase
virtual ~DomBase ()=default
 
DomBasedomBase ()
 
virtual DomType kind () const =0
 
virtual DomKind domKind () const
 
virtual Path pathFromOwner (DomItem &self) const =0
 
virtual Path canonicalPath (DomItem &self) const =0
 
virtual bool iterateDirectSubpaths (DomItem &self, DirectVisitor visitor)=0
 
bool iterateDirectSubpathsConst (DomItem &self, DirectVisitor) const
 
virtual DomItem containingObject (DomItem &self) const
 
virtual void dump (DomItem &, Sink sink, int indent, FilterT filter) const
 
virtual quintptr id () const
 
QString typeName () const
 
virtual QList< QStringfields (DomItem &self) const
 
virtual DomItem field (DomItem &self, QStringView name) const
 
virtual index_type indexes (DomItem &self) const
 
virtual DomItem index (DomItem &self, index_type index) const
 
virtual QSet< QString > const keys (DomItem &self) const
 
virtual DomItem key (DomItem &self, QString name) const
 
virtual QString canonicalFilePath (DomItem &self) const
 
virtual void writeOut (DomItem &self, OutWriter &lw) const
 
virtual QCborValue value () const
 

Static Public Attributes

static constexpr DomType kindValue = DomType::GlobalComponent
 

Additional Inherited Members

- Public Types inherited from QQmlJS::Dom::DomBase
using FilterT = function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)>
 
- Protected Member Functions inherited from QQmlJS::Dom::DomElement
DomElementoperator= (const DomElement &)=default
 

Detailed Description

Definition at line 1106 of file qqmldomelements_p.h.

Constructor & Destructor Documentation

◆ GlobalComponent()

QQmlJS::Dom::GlobalComponent::GlobalComponent ( Path  pathFromOwner = Path())
inline

Definition at line 1112 of file qqmldomelements_p.h.

Member Function Documentation

◆ kind()

DomType QQmlJS::Dom::GlobalComponent::kind ( ) const
inlineoverridevirtual

Implements QQmlJS::Dom::DomBase.

Definition at line 1110 of file qqmldomelements_p.h.

Member Data Documentation

◆ kindValue

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

Definition at line 1109 of file qqmldomelements_p.h.


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