![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmldomelements_p.h>
Public Member Functions | |
| Component (const QString &namename) | |
| Component (const Path &pathFromOwner=Path()) | |
| Component (const Component &o)=default | |
| Component & | operator= (const Component &)=default |
| bool | iterateDirectSubpaths (const DomItem &, DirectVisitor) const override |
| void | updatePathFromOwner (const Path &newPath) override |
| DomItem | field (const DomItem &self, QStringView namename) const override |
| 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 (const DomItem &) const |
| void | setName (const QString &namename) |
| void | setEnumerations (const QMultiMap< QString, EnumDecl > &enumerations) |
| Path | addEnumeration (const EnumDecl &enumeration, AddOption optionoption=AddOption::Overwrite, EnumDecl **ePtr=nullptr) |
| void | setObjects (const QList< QmlObject > &objects) |
| Path | addObject (const QmlObject &objectobject, QmlObject **oPtr=nullptr) |
| void | setIsSingleton (bool isSingleton) |
| void | setIsCreatable (bool isCreatable) |
| void | setIsComposite (bool isComposite) |
| void | setAttachedTypeName (const QString &namename) |
| void | setAttachedTypePath (const Path &pp) |
| Public Member Functions inherited from QQmlJS::Dom::CommentableDomElement | |
| CommentableDomElement (const Path &pathFromOwner=Path()) | |
| CommentableDomElement (const CommentableDomElement &o) | |
| CommentableDomElement & | operator= (const CommentableDomElement &o)=default |
| RegionComments & | comments () |
| const RegionComments & | comments () const |
| Public Member Functions inherited from QQmlJS::Dom::DomElement | |
| DomElement (const Path &pathFromOwner=Path()) | |
| DomElement (const DomElement &o)=default | |
| Path | pathFromOwner () const override |
| Path | canonicalPath (const DomItem &self) const override |
| DomItem | containingObject (const DomItem &self) const override |
| Public Member Functions inherited from QQmlJS::Dom::DomBase | |
| virtual | ~DomBase ()=default |
| DomBase * | domBase () |
| const DomBase * | domBase () const |
| virtual DomType | kind () const =0 |
| virtual DomKind | domKind () const |
| virtual void | dump (const DomItem &, const Sink &sinksink, int indent, FilterT filterfilter) const |
| virtual quintptr | id () const |
| QString | typeName () const |
| virtual QList< QString > | fields (const DomItem &self) const |
| virtual index_type | indexes (const DomItem &self) const |
| virtual DomItem | index (const DomItem &self, index_type indexindex) const |
| virtual QSet< QString > const | keys (const DomItem &self) const |
| virtual DomItem | key (const DomItem &self, const QString &namename) const |
| virtual QString | canonicalFilePath (const DomItem &self) const |
| virtual void | writeOut (const DomItem &self, OutWriter &lw) const |
| virtual QCborValue | value () const |
Friends | |
| class | QQmlDomAstCreatorBase |
Additional Inherited Members | |
| Public Types inherited from QQmlJS::Dom::DomBase | |
| using | FilterT = function_ref<bool(const DomItem &, const PathEls::PathComponent &, const DomItem &)> |
| Protected Member Functions inherited from QQmlJS::Dom::DomElement | |
| DomElement & | operator= (const DomElement &)=default |
Definition at line 938 of file qqmldomelements_p.h.
| QQmlJS::Dom::Component::Component | ( | const QString & | name | ) |
Definition at line 106 of file qqmldomelements.cpp.
References QQmlJS::Dom::CommentableDomElement::CommentableDomElement(), and QQmlJS::Dom::Path::Path().
Definition at line 108 of file qqmldomelements.cpp.
References QQmlJS::Dom::CommentableDomElement::CommentableDomElement().
Referenced by QQmlJS::Dom::GlobalComponent::GlobalComponent(), and QQmlJS::Dom::JsResource::JsResource().
|
default |
|
inline |
Definition at line 964 of file qqmldomelements_p.h.
References QQmlJS::Dom::DomElement::pathFromOwner().
Definition at line 138 of file qqmldomelements.cpp.
References QQmlJS::Dom::DomElement::pathFromOwner().
Referenced by QQmlJS::Dom::MutableDomItem::addChild().
|
inline |
Definition at line 956 of file qqmldomelements_p.h.
Definition at line 957 of file qqmldomelements_p.h.
Referenced by iterateDirectSubpaths().
Definition at line 951 of file qqmldomelements_p.h.
|
overridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 128 of file qqmldomelements.cpp.
|
inline |
Definition at line 955 of file qqmldomelements_p.h.
Referenced by iterateDirectSubpaths().
|
inline |
Definition at line 954 of file qqmldomelements_p.h.
Referenced by iterateDirectSubpaths().
|
inline |
Definition at line 953 of file qqmldomelements_p.h.
Referenced by iterateDirectSubpaths().
|
overridevirtual |
Reimplemented from QQmlJS::Dom::CommentableDomElement.
Reimplemented in QQmlJS::Dom::JsResource, and QQmlJS::Dom::QmlComponent.
Definition at line 110 of file qqmldomelements.cpp.
References attachedTypePath(), isComposite(), isCreatable(), and isSingleton().
|
inline |
Definition at line 950 of file qqmldomelements_p.h.
Definition at line 952 of file qqmldomelements_p.h.
Definition at line 976 of file qqmldomelements_p.h.
Definition at line 977 of file qqmldomelements_p.h.
|
inline |
Definition at line 960 of file qqmldomelements_p.h.
|
inline |
Definition at line 975 of file qqmldomelements_p.h.
Referenced by QQmlJS::Dom::QmlComponent::QmlComponent().
|
inline |
Definition at line 974 of file qqmldomelements_p.h.
Referenced by QQmlJS::Dom::QmlComponent::QmlComponent().
|
inline |
Definition at line 973 of file qqmldomelements_p.h.
Definition at line 959 of file qqmldomelements_p.h.
Definition at line 971 of file qqmldomelements_p.h.
Reimplemented from QQmlJS::Dom::DomElement.
Reimplemented in QQmlJS::Dom::QmlComponent.
Definition at line 99 of file qqmldomelements.cpp.
References QQmlJS::Dom::DomElement::updatePathFromOwner().
Referenced by QQmlJS::Dom::QmlComponent::updatePathFromOwner().
|
friend |
Definition at line 980 of file qqmldomelements_p.h.