![]() |
Qt 6.x
The Qt SDK
|
A OwningItem that refers to an external resource (file,...) More...
#include <qqmldomexternalitems_p.h>
Inheritance diagram for QQmlJS::Dom::ExternalOwningItem:
Collaboration diagram for QQmlJS::Dom::ExternalOwningItem:Protected Attributes | |
| QString | m_canonicalFilePath |
| QString | m_code |
| Path | m_path |
| bool | m_isValid = false |
Additional Inherited Members | |
Public Types inherited from QQmlJS::Dom::DomBase | |
| using | FilterT = function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)> |
Static Public Member Functions inherited from QQmlJS::Dom::OwningItem | |
| static int | nextRevision () |
Protected Member Functions inherited from QQmlJS::Dom::OwningItem | |
| virtual std::shared_ptr< OwningItem > | doCopy (DomItem &self) const =0 |
A OwningItem that refers to an external resource (file,...)
Every owning item has a file or directory it refers to.
Definition at line 49 of file qqmldomexternalitems_p.h.
| QQmlJS::Dom::ExternalOwningItem::ExternalOwningItem | ( | QString | filePath, |
| QDateTime | lastDataUpdateAt, | ||
| Path | pathFromTop, | ||
| int | derivedFrom = 0, |
||
| QString | code = QString() |
||
| ) |
Definition at line 30 of file qqmldomexternalitems.cpp.
|
default |
| QString QQmlJS::Dom::ExternalOwningItem::canonicalFilePath | ( | ) | const |
Definition at line 43 of file qqmldomexternalitems.cpp.
References m_canonicalFilePath.
Referenced by QQmlJS::Dom::QmlDirectory::addQmlFilePath(), QQmlJS::Dom::GlobalScope::doCopy(), QQmlJS::Dom::QmldirFile::fromPathAndCode(), and QQmlJS::Dom::QmlDirectory::iterateDirectSubpaths().
Here is the caller graph for this function:Reimplemented from QQmlJS::Dom::DomBase.
Definition at line 38 of file qqmldomexternalitems.cpp.
References m_canonicalFilePath.
| Path QQmlJS::Dom::ExternalOwningItem::canonicalPath | ( | ) | const |
Definition at line 53 of file qqmldomexternalitems.cpp.
References m_path.
Referenced by QQmlJS::Dom::QmlDirectory::addQmlFilePath().
Here is the caller graph for this function:Implements QQmlJS::Dom::OwningItem.
Definition at line 48 of file qqmldomexternalitems.cpp.
References m_path.
|
inline |
Definition at line 97 of file qqmldomexternalitems_p.h.
Referenced by QQmlJS::Dom::QmlFile::QmlFile(), and QQmlJS::Dom::QmldirFile::fromPathAndCode().
Here is the caller graph for this function:
|
inline |
Definition at line 88 of file qqmldomexternalitems_p.h.
References mutex.
|
inlineoverridevirtual |
Implements QQmlJS::Dom::DomBase.
Reimplemented in QQmlJS::Dom::QmlDirectory, QQmlJS::Dom::QmldirFile, QQmlJS::Dom::GlobalScope, QQmlJS::Dom::QmlFile, and QQmlJS::Dom::QmltypesFile.
Definition at line 58 of file qqmldomexternalitems_p.h.
References QString::isNull().
Referenced by QQmlJS::Dom::QmlDirectory::iterateDirectSubpaths(), QQmlJS::Dom::QmldirFile::iterateDirectSubpaths(), QQmlJS::Dom::GlobalScope::iterateDirectSubpaths(), QQmlJS::Dom::QmlFile::iterateDirectSubpaths(), and QQmlJS::Dom::QmltypesFile::iterateDirectSubpaths().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlJS::Dom::OwningItem.
Definition at line 72 of file qqmldomexternalitems_p.h.
References QQmlJS::Dom::DomItem::as(), QQmlJS::Dom::DomItem::field(), Q_ASSERT, and QQmlJS::Dom::DomItem::visitIndexes().
Here is the call graph for this function:
|
inline |
Definition at line 92 of file qqmldomexternalitems_p.h.
References mutex.
|
protected |
Definition at line 100 of file qqmldomexternalitems_p.h.
Referenced by canonicalFilePath(), and canonicalFilePath().
|
protected |
Definition at line 101 of file qqmldomexternalitems_p.h.
|
protected |
Definition at line 103 of file qqmldomexternalitems_p.h.
Referenced by QQmlJS::Dom::QmlFile::QmlFile().
|
protected |
Definition at line 102 of file qqmldomexternalitems_p.h.
Referenced by QQmlJS::Dom::QmlFile::QmlFile(), canonicalPath(), and canonicalPath().