![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmldomitem_p.h>
Public Member Functions | |
| DomType | kind () const override |
| Reference * | operator-> () |
| const Reference * | operator-> () const |
| Reference & | operator* () |
| const Reference & | operator* () const |
| bool | shouldCache () const |
| Reference (const Path &referredObject=Path(), const Path &pathFromOwner=Path(), const SourceLocation &loc=SourceLocation()) | |
| quintptr | id () const override |
| bool | iterateDirectSubpaths (const DomItem &self, DirectVisitor) const override |
| DomItem | field (const DomItem &self, QStringView name) const override |
| QList< QString > | fields (const DomItem &self) const override |
| index_type | indexes (const DomItem &) const override |
| DomItem | index (const DomItem &, index_type) const override |
| QSet< QString > const | keys (const DomItem &) const override |
| DomItem | key (const DomItem &, const QString &) const override |
| DomItem | get (const DomItem &self, const ErrorHandler &h=nullptr, QList< Path > *visitedRefs=nullptr) const |
| QList< DomItem > | getAll (const DomItem &self, const ErrorHandler &h=nullptr, QList< Path > *visitedRefs=nullptr) 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 |
| virtual void | updatePathFromOwner (const Path &newPath) |
| Public Member Functions inherited from QQmlJS::Dom::DomBase | |
| virtual | ~DomBase ()=default |
| DomBase * | domBase () |
| const DomBase * | domBase () const |
| virtual DomKind | domKind () const |
| virtual void | dump (const DomItem &, const Sink &sink, int indent, FilterT filter) const |
| QString | typeName () const |
| virtual QString | canonicalFilePath (const DomItem &self) const |
| virtual void | writeOut (const DomItem &self, OutWriter &lw) const |
| virtual QCborValue | value () const |
Public Attributes | |
| Path | referredObjectPath |
Static Public Attributes | |
| static constexpr DomType | kindValue = DomType::Reference |
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 641 of file qqmldomitem_p.h.
| QQmlJS::Dom::Reference::Reference | ( | const Path & | referredObject = Path(), |
| const Path & | pathFromOwner = Path(), | ||
| const SourceLocation & | loc = SourceLocation() ) |
Definition at line 2810 of file qqmldomitem.cpp.
References QQmlJS::Dom::DomElement::DomElement(), and Reference().
Referenced by Reference().
|
overridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 2831 of file qqmldomitem.cpp.
References QQmlJS::Dom::DomItem::DomItem().
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 2840 of file qqmldomitem.cpp.
| DomItem QQmlJS::Dom::Reference::get | ( | const DomItem & | self, |
| const ErrorHandler & | h = nullptr, | ||
| QList< Path > * | visitedRefs = nullptr ) const |
Definition at line 2855 of file qqmldomitem.cpp.
References QQmlJS::Dom::DomItem::canonicalPath(), QQmlJS::Dom::DomItem::environment(), QQmlJS::Dom::DomItem::path(), and shouldCache().
| QList< DomItem > QQmlJS::Dom::Reference::getAll | ( | const DomItem & | self, |
| const ErrorHandler & | h = nullptr, | ||
| QList< Path > * | visitedRefs = nullptr ) const |
Definition at line 2904 of file qqmldomitem.cpp.
References QQmlJS::Dom::DomElement::canonicalPath(), QQmlJS::Dom::DomItem::environment(), and shouldCache().
|
overridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 2815 of file qqmldomitem.cpp.
|
overridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 2845 of file qqmldomitem.cpp.
References QQmlJS::Dom::DomItem::DomItem().
|
inlineoverridevirtual |
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 660 of file qqmldomitem_p.h.
|
overridevirtual |
Implements QQmlJS::Dom::DomBase.
Definition at line 2820 of file qqmldomitem.cpp.
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 2850 of file qqmldomitem.cpp.
References QQmlJS::Dom::DomItem::DomItem().
Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 662 of file qqmldomitem_p.h.
|
inlineoverridevirtual |
Implements QQmlJS::Dom::DomBase.
Definition at line 646 of file qqmldomitem_p.h.
|
inline |
Definition at line 650 of file qqmldomitem_p.h.
|
inline |
Definition at line 651 of file qqmldomitem_p.h.
|
inline |
Definition at line 648 of file qqmldomitem_p.h.
|
inline |
Definition at line 649 of file qqmldomitem_p.h.
| bool QQmlJS::Dom::Reference::shouldCache | ( | ) | const |
Definition at line 2783 of file qqmldomitem.cpp.
Referenced by get(), and getAll().
|
staticconstexpr |
Definition at line 645 of file qqmldomitem_p.h.
Referenced by QQmlJS::Dom::DomItem::get(), QQmlJS::Dom::DomItem::getAll(), and QQmlJS::Dom::DomItem::resolve().
| Path QQmlJS::Dom::Reference::referredObjectPath |
Definition at line 670 of file qqmldomitem_p.h.