![]() |
Qt 6.x
The Qt SDK
|
#include <qqmldomitem_p.h>
Public Member Functions | |
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) |
![]() | |
virtual | ~DomBase ()=default |
DomBase * | domBase () |
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< QString > | fields (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 |
Protected Member Functions | |
DomElement & | operator= (const DomElement &)=default |
Additional Inherited Members | |
![]() | |
using | FilterT = function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)> |
Definition at line 282 of file qqmldomitem_p.h.
|
default |
Implements QQmlJS::Dom::DomBase.
Reimplemented from QQmlJS::Dom::DomBase.
|
protecteddefault |
|
inline |
Definition at line 289 of file qqmldomitem_p.h.
Referenced by QQmlJS::Dom::Component::addObject(), QQmlJS::Dom::MockObject::asStringPair(), QQmlJS::Dom::MockObject::copy(), QQmlJS::Dom::ScriptElements::ScriptElementBase< type >::createFileLocations(), QQmlJS::Dom::Map::fromMapRef(), QQmlJS::Dom::Map::fromMultiMapRef(), QQmlJS::Dom::List::fromQList(), and QQmlJS::Dom::List::fromQListRef().
Implements QQmlJS::Dom::DomBase.
Referenced by QQmlJS::Dom::QQmlDomAstCreator::visit().
Reimplemented in QQmlJS::Dom::EnumDecl, QQmlJS::Dom::QmlObject, QQmlJS::Dom::Component, QQmlJS::Dom::QmlComponent, QQmlJS::Dom::ScriptElements::ScriptList, QQmlJS::Dom::ScriptElements::GenericScriptElement, QQmlJS::Dom::ScriptElements::BlockStatement, QQmlJS::Dom::ScriptElements::ForStatement, QQmlJS::Dom::ScriptElements::IfStatement, QQmlJS::Dom::ScriptElements::ReturnStatement, QQmlJS::Dom::ScriptElements::BinaryExpression, QQmlJS::Dom::ScriptElements::VariableDeclarationEntry, and QQmlJS::Dom::ScriptElements::VariableDeclaration.
Referenced by QQmlJS::Dom::Component::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::ScriptList::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::GenericScriptElement::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::BlockStatement::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::ForStatement::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::IfStatement::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::ReturnStatement::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::BinaryExpression::updatePathFromOwner(), QQmlJS::Dom::ScriptElements::VariableDeclarationEntry::updatePathFromOwner(), and QQmlJS::Dom::ScriptElements::VariableDeclaration::updatePathFromOwner().